LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2014, 12:14 PM   #1
mzver
LQ Newbie
 
Registered: Jan 2014
Posts: 4

Rep: Reputation: Disabled
How to install yum-utils rhel5


I was trying to clean up old kernels to make space on the /boot filesystem. When getting ready to remove the old kernel, I received "There are unfinisthed transactions remaining. You might consider running yum-complete-transaction first to finish them. The program yum-complete-transaction is found in the yum-utils package."

Unfortunately, I did a yum search yum, and there is not a yum-utils package.
How do I get the correct yum-utils pacakage installed?
 
Old 01-31-2014, 12:24 PM   #2
myatthu
Member
 
Registered: Jan 2014
Distribution: CentOS, Fedora, Ubuntu
Posts: 108

Rep: Reputation: 18
Do you try to list the install yum related packages?
Code:
rpm -qa yum*
You can search yum-utils by specific as below
Code:
yum search yum-utils
Otherwise, your yum repo setup is not correct or unreachable to repo servers. what is the error output?
 
Old 01-31-2014, 12:31 PM   #3
mzver
LQ Newbie
 
Registered: Jan 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
When I did a
Code:
yum search yum-utils
, the result was:
================== Matched: yum-utils ===========================================
yum-security.noarch : Yum plugin to enable security filters


When I entered
Code:
rpm -qa yum*
, the result was:
yum-security-1.1.16-21.0.1.el5
yum-metadata-parser-1.1.2-4.el5
yum-updatesd-0.9-5.el5
yum-3.2.22-40.0.1.el5
 
Old 01-31-2014, 12:42 PM   #4
myatthu
Member
 
Registered: Jan 2014
Distribution: CentOS, Fedora, Ubuntu
Posts: 108

Rep: Reputation: 18
You need to install since it is not install. Yum repo looks good
Code:
yum install yum-utils
 
Old 01-31-2014, 12:45 PM   #5
mzver
LQ Newbie
 
Registered: Jan 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
That's the problem I am having. When I enter
Code:
yum install yum-utils
, I get "no packagae yum-utils avaialable.

[root@lumportal2 ~]# yum install yum-utils
Loaded plugins: security
Setting up Install Process
No package yum-utils available.
Nothing to do
[root@lumportal2 ~]#
 
Old 01-31-2014, 12:49 PM   #6
myatthu
Member
 
Registered: Jan 2014
Distribution: CentOS, Fedora, Ubuntu
Posts: 108

Rep: Reputation: 18
You need to check your repo file then at /etc/yum.repos.d/xxx.repo

For example, you need to make sure enabled=1
Code:
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
priority=10
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
After enable the repositories, you can try again with same command
 
Old 01-31-2014, 01:30 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
please post the output of this command
Code:
yum repolist all
( you have something that is REQUIRED turned off , that needs to be turned on .like the BASE repo )

and the output of this

Code:
cat /etc/redhat-release

Last edited by John VV; 01-31-2014 at 01:34 PM.
 
Old 01-31-2014, 02:20 PM   #8
mzver
LQ Newbie
 
Registered: Jan 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you! I was able to get yum-utils package installed.
I had to edit the /etc/yum.repos.d/public-yum-el15.repo.rpmnew-disabled and then edit the el_u5_base to be enabled.
Again, thank you for all your help.
 
Old 01-31-2014, 07:09 PM   #9
myatthu
Member
 
Registered: Jan 2014
Distribution: CentOS, Fedora, Ubuntu
Posts: 108

Rep: Reputation: 18
Good to hear that your problem is settle
 
Old 01-31-2014, 07:53 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
fixed ?
Quote:
/etc/yum.repos.d/public-yum-el15.repo.rpmnew-disabled
that ".rpmnew" part meant that it is old and a software update UPDATED to use the correct one
but i have NEVER heard of this one "public-yum-el15 "
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install gimp in rhel5 through yum rksarkar Linux - Software 1 11-17-2010 06:06 AM
Cannot install package using yum in RHEL5 shipon_97 Linux - Newbie 3 04-28-2009 04:26 AM
erased yum.conf by forced yum-update in RHEL5.3, need help curiocurio Red Hat 3 04-21-2009 04:33 AM
Unable to install packages from YUM repository ( RHEL5 ) saagar Linux - Newbie 7 01-07-2009 10:55 AM
howto install YUM and make it run properly in RHEL5? harry2006 Linux - Software 7 09-25-2008 02:12 AM


All times are GMT -5. The time now is 07:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration