Red Hat Bugzilla – Bug 39297
up2date bombs when trying to remove packages from skip list
Last modified: 2015-01-07 18:45:27 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i686)
Description of problem:
Just installed 7.0, fresh install (but kept old /home, which should not
retrieved the latest rp-pppoe package, since the redhat version doesn't
me. Then tried to run up2date. All went well until the small dialog came
"Removing packages with files marked to skip from list". Last time at 34%,
at 18%, up2date died with the following traceback.
Traceback (innermost last):
File "/usr/lib/python1.5/site-packages/libglade.py", line 28, in __call__
ret = apply(self.func, a)
File "/usr/share/rhn/up2date/gui.py", line 164, in onStartPageNext
(self.pkgList, self.skipPkgList) =
File "/usr/share/rhn/up2date/up2date.py", line 894, in
File "/usr/share/rhn/up2date/up2date.py", line 851, in
if checkModified(h, f_i):
File "/usr/share/rhn/up2date/up2date.py", line 786, in checkModified
if installedFileMD5s[j] != md5(fileName):
File "/usr/share/rhn/up2date/up2date.py", line 218, in md5
f = open(fileName, "r")
IOError: [Errno 2] No such file or directory: '/etc/ntp/step-tickers'
% rpm -V up2date
% rpm -q up2date
% rpm -V ntp
S.5....T c /etc/ntp.conf
..?..... c /etc/ntp/keys
not sure where step-tickers went, as this is a fresh install. I did run
and then added a server to /etc/ntp.conf. I have not started ntpd.
I touched /etc/ntp/step-tickers, and was able to get up2date to run.
(Tried to only get
up2date on first pass, but if didn't figure out all dependencies. Ended up
following by hand:
% rpm --rebuilddb
and all seems to go well. (I'm quitting netscape before installing the new
so I assume it works.)
Steps to Reproduce:
seems that up2date can't cope with a missing file.
This issue is resolved in the new versions of up2date. Prior to that, up2date
had trouble dealing with ghost files in packages. Should be working for you
with the latest update.