/var/spool/up2date unhappy

Keith G. Robertson-Turner redhat-forums at genesis-x.nildram.co.uk
Mon Dec 1 02:01:25 UTC 2003


On Sun, 30 Nov 2003 17:02:20 -0800, Chris Stankevitz wrote:


> Hi,
> 
> I'm concerned about my up2date.  A few weeks ago, I had trouble running
> up2date due to a checksum mismatch on a package named mozilla-devel.  It
> appeared that up2date did not run properly (I never received the
> "following packages installed successfully" message).  Now my
> /var/spool/up2date directory is filled with stuff that looks like
> temporary files. Additionally, the command "rpm -qa" seems to indicate
> that some of the packages listed in /var/spool/up2date were not
> installed (for example, "strace" is listed in my spool directory, but is
> not reported during an "rpm -qa").
> 
> Is my up2date okay?

mkdir ~/RPMS
mv /var/spool/up2date/*.rpm ~/RPMS
rm -f /var/spool/up2date/*
rpm -ivh --test ~/RPMS/*.rpm

Look for errors relating to corrupt files, and delete any that are
corrupt.

mv ~/RPMS/*.rpm /var/spool/up2date
rm -f /var/lib/rpm/rm __db.*
rpm --rebuilddb

Double check the sources listed in "/etc/sysconfig/rhn/sources".

up2date-nox --list

Keith.





More information about the users mailing list