FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 07-16-2008, 03:55 PM
fred smith
 
Default yum remove -- wants to remove a ton of stuff

I've got a Centos 4 box at work, where I noticed a pile of old kernels
lying around and no longer needed.

I did "rpm -qa | grep -y kernel > list" then edited the list to remove
from it the newer kernels, then "yum remove `cat list`". Yum has come
up with a list of 71 packages it wants to remove, even though there
were only 33 kernel-related RPMs in the list. this doesn't seem right
to me, as it is trying to remove a bunch of KDE files, net-snmp stuff,
freeradius, etc. I show the entire list below.

This certainly does NOT seem right to me. Anyone care to enlighten me?

Given that it wants to do this, I'm thinking I'd be better off to just do
"rpm -e `cat list`" instead.

Fred
================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Removing:
kernel i686 2.6.9-55.0.12.EL installed 28 M
kernel i686 2.6.9-55.0.2.EL installed 28 M
kernel i686 2.6.9-42.0.2.EL installed 27 M
kernel i686 2.6.9-42.0.8.EL installed 27 M
kernel i686 2.6.9-42.0.3.EL installed 27 M
kernel i686 2.6.9-55.EL installed 28 M
kernel i686 2.6.9-42.EL installed 27 M
kernel i686 2.6.9-42.0.10.EL installed 27 M
kernel i686 2.6.9-55.0.9.EL installed 28 M
kernel-devel i686 2.6.9-55.0.12.EL installed 12 M
kernel-devel i686 2.6.9-55.0.2.EL installed 12 M
kernel-devel i686 2.6.9-42.0.2.EL installed 11 M
kernel-devel i686 2.6.9-42.0.8.EL installed 11 M
kernel-devel i686 2.6.9-42.EL installed 11 M
kernel-devel i686 2.6.9-55.0.9.EL installed 12 M
kernel-devel i686 2.6.9-42.0.10.EL installed 11 M
kernel-devel i686 2.6.9-55.EL installed 12 M
kernel-devel i686 2.6.9-42.0.3.EL installed 11 M
kernel-hugemem-devel i686 2.6.9-55.EL installed 12 M
kernel-hugemem-devel i686 2.6.9-55.0.9.EL installed 12 M
kernel-hugemem-devel i686 2.6.9-55.0.2.EL installed 12 M
kernel-hugemem-devel i686 2.6.9-55.0.12.EL installed 12 M
kernel-smp i686 2.6.9-55.0.9.EL installed 29 M
kernel-smp i686 2.6.9-55.0.2.EL installed 29 M
kernel-smp i686 2.6.9-42.0.8.EL installed 29 M
kernel-smp i686 2.6.9-42.0.10.EL installed 29 M
kernel-smp i686 2.6.9-55.EL installed 29 M
kernel-smp i686 2.6.9-55.0.12.EL installed 29 M
kernel-smp-devel i686 2.6.9-55.0.2.EL installed 12 M
kernel-smp-devel i686 2.6.9-55.0.12.EL installed 12 M
kernel-smp-devel i686 2.6.9-55.0.9.EL installed 12 M
kernel-smp-devel i686 2.6.9-55.EL installed 12 M
kernel-utils i386 1:2.4-13.1.105 installed 1.6 M
Removing for dependencies:
freeradius i386 1.0.1-3.RHEL4.5 installed 3.8 M
freeradius-mysql i386 1.0.1-3.RHEL4.5 installed 6.2 k
freeradius-postgresql i386 1.0.1-3.RHEL4.5 installed 6.8 k
freeradius-unixODBC i386 1.0.1-3.RHEL4.5 installed 7.0 k
hpoj i386 0.91-9 installed 799 k
hpoj-devel i386 0.91-9 installed 47 k
kdeaddons i386 3.3.1-2 installed 6.8 M
kdeaddons-atlantikdesigner i386 3.3.1-2 installed 171 k
kdeaddons-xmms i386 3.3.1-2 installed 175 k
kdeadmin i386 7:3.3.1-2 installed 844 k
kdeartwork i386 3.3.1-2 installed 9.6 M
kdeartwork-icons i386 3.3.1-2 installed 11 M
kdebase i386 6:3.3.1-7.el4.centos installed 45 M
kdebase-devel i386 6:3.3.1-7.el4.centos installed 224 k
kdegames i386 6:3.3.1-2 installed 15 M
kdegames-devel i386 6:3.3.1-2 installed 414 k
kdegraphics i386 7:3.3.1-9.el4_6 installed 11 M
kdegraphics-devel i386 7:3.3.1-9.el4_6 installed 61 k
kdemultimedia i386 6:3.3.1-2 installed 17 M
kdemultimedia-devel i386 6:3.3.1-2 installed 1.0 M
kdenetwork i386 7:3.3.1-2.3 installed 21 M
kdenetwork-devel i386 7:3.3.1-2.3 installed 35 k
kdenetwork-nowlistening i386 7:3.3.1-2.3 installed 118 k
kdepim i386 6:3.3.1-2.2 installed 30 M
kdepim-devel i386 6:3.3.1-2.2 installed 1.3 M
kdesdk i386 3.3.1-2 installed 14 M
kdesdk-devel i386 3.3.1-2 installed 140 k
kdeutils i386 6:3.3.1-2 installed 7.7 M
kdeutils-devel i386 6:3.3.1-2 installed 72 k
kdevelop i386 9:3.1.1-2 installed 37 M
libsane-hpoj i386 0.91-9 installed 61 k
lm_sensors i386 2.8.7-2.40.5 installed 1.5 M
lm_sensors-devel i386 2.8.7-2.40.5 installed 236 k
net-snmp i386 5.1.2-11.el4_6.11.3 installed 1.9 M
net-snmp-devel i386 5.1.2-11.el4_6.11.3 installed 543 k
net-snmp-perl i386 5.1.2-11.el4_6.11.3 installed 379 k
net-snmp-utils i386 5.1.2-11.el4_6.11.3 installed 299 k
xojpanel i386 0.91-9 installed 81 k

Transaction Summary
================================================== ===========================
Install 0 Package(s)
Update 0 Package(s)
Remove 71 Package(s)
Total download size: 0
Is this ok [y/N]:

--
---- Fred Smith -- fredex@fcshome.stoneham.ma.us -----------------------------
"Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
heaven, but only he who does the will of my Father who is in heaven."
------------------------------ Matthew 7:21 (niv) -----------------------------
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-16-2008, 04:03 PM
Jeff
 
Default yum remove -- wants to remove a ton of stuff

On Wed, Jul 16, 2008 at 10:55 AM, fred smith
<fredex@fcshome.stoneham.ma.us> wrote:
> I've got a Centos 4 box at work, where I noticed a pile of old kernels
> lying around and no longer needed.
>
> I did "rpm -qa | grep -y kernel > list" then edited the list to remove
> from it the newer kernels, then "yum remove `cat list`". Yum has come
> up with a list of 71 packages it wants to remove, even though there
> were only 33 kernel-related RPMs in the list. this doesn't seem right
> to me, as it is trying to remove a bunch of KDE files, net-snmp stuff,
> freeradius, etc. I show the entire list below.
>
> This certainly does NOT seem right to me. Anyone care to enlighten me?
>
> Given that it wants to do this, I'm thinking I'd be better off to just do
> "rpm -e `cat list`" instead.
>
> Fred
> ================================================== ===========================
> Package Arch Version Repository Size
> ================================================== ===========================
> Removing:
> kernel i686 2.6.9-55.0.12.EL installed 28 M
> kernel i686 2.6.9-55.0.2.EL installed 28 M
> kernel i686 2.6.9-42.0.2.EL installed 27 M
> kernel i686 2.6.9-42.0.8.EL installed 27 M
> kernel i686 2.6.9-42.0.3.EL installed 27 M
> kernel i686 2.6.9-55.EL installed 28 M
> kernel i686 2.6.9-42.EL installed 27 M
> kernel i686 2.6.9-42.0.10.EL installed 27 M
> kernel i686 2.6.9-55.0.9.EL installed 28 M
> kernel-devel i686 2.6.9-55.0.12.EL installed 12 M
> kernel-devel i686 2.6.9-55.0.2.EL installed 12 M
> kernel-devel i686 2.6.9-42.0.2.EL installed 11 M
> kernel-devel i686 2.6.9-42.0.8.EL installed 11 M
> kernel-devel i686 2.6.9-42.EL installed 11 M
> kernel-devel i686 2.6.9-55.0.9.EL installed 12 M
> kernel-devel i686 2.6.9-42.0.10.EL installed 11 M
> kernel-devel i686 2.6.9-55.EL installed 12 M
> kernel-devel i686 2.6.9-42.0.3.EL installed 11 M
> kernel-hugemem-devel i686 2.6.9-55.EL installed 12 M
> kernel-hugemem-devel i686 2.6.9-55.0.9.EL installed 12 M
> kernel-hugemem-devel i686 2.6.9-55.0.2.EL installed 12 M
> kernel-hugemem-devel i686 2.6.9-55.0.12.EL installed 12 M
> kernel-smp i686 2.6.9-55.0.9.EL installed 29 M
> kernel-smp i686 2.6.9-55.0.2.EL installed 29 M
> kernel-smp i686 2.6.9-42.0.8.EL installed 29 M
> kernel-smp i686 2.6.9-42.0.10.EL installed 29 M
> kernel-smp i686 2.6.9-55.EL installed 29 M
> kernel-smp i686 2.6.9-55.0.12.EL installed 29 M
> kernel-smp-devel i686 2.6.9-55.0.2.EL installed 12 M
> kernel-smp-devel i686 2.6.9-55.0.12.EL installed 12 M
> kernel-smp-devel i686 2.6.9-55.0.9.EL installed 12 M
> kernel-smp-devel i686 2.6.9-55.EL installed 12 M
> kernel-utils i386 1:2.4-13.1.105 installed 1.6 M
> Removing for dependencies:
> freeradius i386 1.0.1-3.RHEL4.5 installed 3.8 M
> freeradius-mysql i386 1.0.1-3.RHEL4.5 installed 6.2 k
> freeradius-postgresql i386 1.0.1-3.RHEL4.5 installed 6.8 k
> freeradius-unixODBC i386 1.0.1-3.RHEL4.5 installed 7.0 k
> hpoj i386 0.91-9 installed 799 k
> hpoj-devel i386 0.91-9 installed 47 k
> kdeaddons i386 3.3.1-2 installed 6.8 M
> kdeaddons-atlantikdesigner i386 3.3.1-2 installed 171 k
> kdeaddons-xmms i386 3.3.1-2 installed 175 k
> kdeadmin i386 7:3.3.1-2 installed 844 k
> kdeartwork i386 3.3.1-2 installed 9.6 M
> kdeartwork-icons i386 3.3.1-2 installed 11 M
> kdebase i386 6:3.3.1-7.el4.centos installed 45 M
> kdebase-devel i386 6:3.3.1-7.el4.centos installed 224 k
> kdegames i386 6:3.3.1-2 installed 15 M
> kdegames-devel i386 6:3.3.1-2 installed 414 k
> kdegraphics i386 7:3.3.1-9.el4_6 installed 11 M
> kdegraphics-devel i386 7:3.3.1-9.el4_6 installed 61 k
> kdemultimedia i386 6:3.3.1-2 installed 17 M
> kdemultimedia-devel i386 6:3.3.1-2 installed 1.0 M
> kdenetwork i386 7:3.3.1-2.3 installed 21 M
> kdenetwork-devel i386 7:3.3.1-2.3 installed 35 k
> kdenetwork-nowlistening i386 7:3.3.1-2.3 installed 118 k
> kdepim i386 6:3.3.1-2.2 installed 30 M
> kdepim-devel i386 6:3.3.1-2.2 installed 1.3 M
> kdesdk i386 3.3.1-2 installed 14 M
> kdesdk-devel i386 3.3.1-2 installed 140 k
> kdeutils i386 6:3.3.1-2 installed 7.7 M
> kdeutils-devel i386 6:3.3.1-2 installed 72 k
> kdevelop i386 9:3.1.1-2 installed 37 M
> libsane-hpoj i386 0.91-9 installed 61 k
> lm_sensors i386 2.8.7-2.40.5 installed 1.5 M
> lm_sensors-devel i386 2.8.7-2.40.5 installed 236 k
> net-snmp i386 5.1.2-11.el4_6.11.3 installed 1.9 M
> net-snmp-devel i386 5.1.2-11.el4_6.11.3 installed 543 k
> net-snmp-perl i386 5.1.2-11.el4_6.11.3 installed 379 k
> net-snmp-utils i386 5.1.2-11.el4_6.11.3 installed 299 k
> xojpanel i386 0.91-9 installed 81 k
>
> Transaction Summary
> ================================================== ===========================
> Install 0 Package(s)
> Update 0 Package(s)
> Remove 71 Package(s)
> Total download size: 0
> Is this ok [y/N]:

I think kernel-utils is your dependency problem. That package is not
tied to kernel versions (take a look at it's version number). It's a
standalone thing. Remove it from your list and try again.

--
Jeff
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-16-2008, 04:05 PM
"Stephen John Smoogen"
 
Default yum remove -- wants to remove a ton of stuff

On Wed, Jul 16, 2008 at 9:55 AM, fred smith
<fredex@fcshome.stoneham.ma.us> wrote:
> I've got a Centos 4 box at work, where I noticed a pile of old kernels
> lying around and no longer needed.
>
> I did "rpm -qa | grep -y kernel > list" then edited the list to remove
> from it the newer kernels, then "yum remove `cat list`". Yum has come
> up with a list of 71 packages it wants to remove, even though there
> were only 33 kernel-related RPMs in the list. this doesn't seem right
> to me, as it is trying to remove a bunch of KDE files, net-snmp stuff,
> freeradius, etc. I show the entire list below.
>

would need to see list to know whats causing the problem... without
that we are shooting in the wind.



--
Stephen J Smoogen. -- BSD/GNU/Linux
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-16-2008, 04:07 PM
Peter Kjellstrom
 
Default yum remove -- wants to remove a ton of stuff

On Wednesday 16 July 2008, fred smith wrote:
...
> Yum has come
> up with a list of 71 packages it wants to remove, even though there
> were only 33 kernel-related RPMs in the list. this doesn't seem right
> to me,

You told it to remove kernel-utils... You want to keep that one.

/Peter
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 07:02 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org