LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   RPM Package Conflict Error (https://www.linuxquestions.org/questions/linux-general-1/rpm-package-conflict-error-90524/)

Wicksy 09-08-2003 11:09 AM

RPM Package Conflict Error
 
Hello

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?

Cheers

david_ross 09-08-2003 01:05 PM

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.

Mathieu 09-08-2003 08:52 PM

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.

Wicksy 09-09-2003 03:44 AM

Hi

I have looked at my boot partition: -

boot.0800 map System.map-2.4.2-2smp
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 System.map vmlinuz-2.4.20-18.7smp
initrd-2.4.20-19.7smp.img System.map-2.4.18-27.7.x vmlinuz-2.4.20-19.7
initrd-2.4.2-2.img System.map-2.4.20-18.7 vmlinuz-2.4.20-19.7smp
initrd-2.4.2-2smp.img System.map-2.4.20-18.7smp vmlinuz-2.4.2-2
kernel.h System.map-2.4.20-19.7 vmlinuz-2.4.2-2smp
kernel.h-2.4.9 System.map-2.4.20-19.7smp
lost+found System.map-2.4.2-2

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.

Cheers:)

Mathieu 09-09-2003 11:00 AM

My... you have alot of kernels. :D

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).
Code:

rpm -qa | grep kernel
Using the list, use the rpm remove syntax to delete all the old kernels.
For example:
Code:

rpm -e kernel-2.4.20-8
Keep the most recent kernel (2.4.20-19.7). You get the idea. :D

Wicksy 09-09-2003 11:26 AM

Many thanks Mathieu:D


All times are GMT -5. The time now is 03:42 PM.