Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-08-2003, 12:09 PM   #1
LQ Newbie
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
RPM Package Conflict Error


I have a linux box that is running redhat 7.1, which has been fine for about two years. The other day I was doing an update and I got his error message.

Testing package set / solving RPM inter-dependencies...
RPM package conflict error. The message was:
Test install failed because of package conflicts:
installing package kernel-2.4.20-20.7 needs 8Mb on the / filesystem

I checked my partitions and it seems that there is 8Mb free?

Filesystem Size Used Avail Use% Mounted on
/dev/sda8 251M 217M 21M 91% /
/dev/sda1 53M 32M 18M 64% /boot
/dev/sda6 5.4G 2.5G 2.6G 48% /home
/dev/sda5 5.4G 949M 4.1G 19% /usr
/dev/sda9 251M 175M 63M 74% /var
none 251M 0 250M 0% /dev/shm

When I checked it initially, the /var directory did not have enough space on it. So I moved a few things around and I freed up 63Mb.

Anyone got any ideas why this problem is happening?

Old 09-08-2003, 02:05 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Welcome ot LQ.

Your / partiiton is VERY low on space. It is possible that there isn't free space. Check your /tmp directory etc and try to free up some more space.
Old 09-08-2003, 09:52 PM   #3
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Adding on david_ross' post,

Your /boot is almost full (32 MB used).
I believe you have more than two kernels currently install on your system, correct ?
If yes, maybe you should consider removing the old ones.
Old 09-09-2003, 04:44 AM   #4
LQ Newbie
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0

I have looked at my boot partition: -

boot.0800 map
boot.b message vmlinux-2.4.18-27.7.x
chain.b module-info vmlinux-2.4.20-18.7
config-2.4.18-27.7.x module-info-2.4.18-27.7.x vmlinux-2.4.20-18.7smp
config-2.4.20-18.7 module-info-2.4.20-18.7 vmlinux-2.4.20-19.7
config-2.4.20-18.7smp module-info-2.4.20-18.7smp vmlinux-2.4.20-19.7smp
config-2.4.20-19.7 module-info-2.4.20-19.7 vmlinux-2.4.2-2
config-2.4.20-19.7smp module-info-2.4.20-19.7smp vmlinux-2.4.2-2smp
initrd-2.4.18-27.7.x.img module-info-2.4.2-2 vmlinuz
initrd-2.4.20-18.7.img module-info-2.4.2-2smp vmlinuz-2.4.18-27.7.x
initrd-2.4.20-18.7smp.img os2_d.b vmlinuz-2.4.20-18.7
initrd-2.4.20-19.7.img vmlinuz-2.4.20-18.7smp
initrd-2.4.20-19.7smp.img vmlinuz-2.4.20-19.7
initrd-2.4.2-2.img vmlinuz-2.4.20-19.7smp
initrd-2.4.2-2smp.img vmlinuz-2.4.2-2
kernel.h vmlinuz-2.4.2-2smp

I have never removed anything from my boot sector before and I am a bit worried about screwing up my system.

Suggestions on my next step would be much appreciated.

Old 09-09-2003, 12:00 PM   #5
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
My... you have alot of kernels.

You can safetly remove the old kernels from your system.
The following command will query the RPM database for all the Kernels (old and new).
rpm -qa | grep kernel
Using the list, use the rpm remove syntax to delete all the old kernels.
For example:
rpm -e kernel-2.4.20-8
Keep the most recent kernel (2.4.20-19.7). You get the idea.
Old 09-09-2003, 12:26 PM   #6
LQ Newbie
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Many thanks Mathieu


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM Conflicting Package Error kougar Linux - Newbie 1 09-01-2004 09:21 PM
Error message trying to rebuild a rpm package JonyKyte Linux - Newbie 4 02-25-2004 06:48 PM
up2date Update package conflict error Jerry110 Red Hat 4 01-11-2004 01:31 PM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 08:53 AM
package conflict c0c0deuz Linux - Software 1 11-13-2001 02:34 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:07 PM.

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