Unable to update nspr package on CentOS 6.7

574 views Asked by At

I have issues with one of my packages on CentOS 6.7. I want to update nspr package, but I'm unable to do that. The error is:

installing package nspr-4.10.8-2.el6_7.i686 needs 284KB on the / filesystem

When I type sudo yum update nspr I got addtional message: There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. I tried to use this command, but it does not help.

Result of df -h is:

Filesystem Size Used Avail Use% Mounted on /dev/simfs 59G 9.0G 50G 16% / none 2.0G 4.0K 2.0G 1% /dev none 2.0G 0 2.0G 0% /dev/shm

Server reboot does not help either. Any ideas what might be going on or how to fix this issue? Thanks for all tips:)

1

There are 1 answers

0
Krystian On

OK, I actually manage to solve that weird issue. First of all, all I googled about this issue gave me information, that there is something wrong with free disc space. I did not believe it, because I know what I got on my server, I also scanned it for huge files and calculated the space covered by files, so df -h result was OK. I had lot of free space available.

I fixed it by editing /etc/yum.conf file and adding diskspacecheck=0. After that, suddenly everything worked out fine. Package has been updated correctly. Then I cleared out yum warnings with yum-complete-transaction command.

All good now! Thanks for all help provided:)