Hide Forgot
Description of problem: Just running needs-restarting. And yes, my network is flakey... Version-Release number of selected component: yum-utils-1.1.31-18.fc19 Additional info: reporter: libreport-2.1.7 cmdline: /usr/bin/python -tt /bin/needs-restarting dso_list: yum-3.4.3-111.fc19.noarch executable: /bin/needs-restarting kernel: 3.11.3-201.fc19.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: yumRepo.py:1029:_getFile:NoMoreMirrorsRepoError: failure: repodata/356f3c8270826e3813cd701fa9814c20ebe9ce1c4d1aa2a44d69353ca9407163-filelists.sqlite.bz2 from updates: [Errno 256] No more mirrors to try. http://dl.fedoraproject.org/pub/fedora/linux/updates/19/x86_64/repodata/356f3c8270826e3813cd701fa9814c20ebe9ce1c4d1aa2a44d69353ca9407163-filelists.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found Traceback (most recent call last): File "/bin/needs-restarting", line 171, in <module> sys.exit(main(sys.argv)) File "/bin/needs-restarting", line 148, in main for oldpkg in my.pkgSack.searchFiles(just_fn): # ghostfiles are always bogons File "/usr/lib/python2.7/site-packages/yum/packageSack.py", line 468, in searchFiles return self._computeAggregateListResult("searchFiles", name) File "/usr/lib/python2.7/site-packages/yum/packageSack.py", line 595, in _computeAggregateListResult sackResult = apply(method, args) File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 46, in newFunc return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 934, in searchFiles self.populate(repo, mdtype='filelists') File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 234, in populate db_fn = repo._retrieveMD(mydbtype) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1842, in _retrieveMD **kwargs) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1029, in _getFile raise e NoMoreMirrorsRepoError: failure: repodata/356f3c8270826e3813cd701fa9814c20ebe9ce1c4d1aa2a44d69353ca9407163-filelists.sqlite.bz2 from updates: [Errno 256] No more mirrors to try. http://dl.fedoraproject.org/pub/fedora/linux/updates/19/x86_64/repodata/356f3c8270826e3813cd701fa9814c20ebe9ce1c4d1aa2a44d69353ca9407163-filelists.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found Local variables in innermost frame: relative: 'repodata/356f3c8270826e3813cd701fa9814c20ebe9ce1c4d1aa2a44d69353ca9407163-filelists.sqlite.bz2' errors: [('http://dl.fedoraproject.org/pub/fedora/linux/updates/19/x86_64/repodata/356f3c8270826e3813cd701fa9814c20ebe9ce1c4d1aa2a44d69353ca9407163-filelists.sqlite.bz2', '[Errno 14] HTTP Error 404 - Not Found')] e: NoMoreMirrorsRepoError() start: None dirstat: posix.statvfs_result(f_bsize=4096, f_frsize=4096, f_blocks=19319554, f_bfree=3988036, f_bavail=3011388, f_files=4915200, f_ffree=4269654, f_favail=4269654, f_flag=4096, f_namemax=255) text: 'updates/19/x86_64/filelists_db' self: <yum.yumRepo.YumRepository object at 0x7faab4b923d0> cache: True reget: 'simple' avail: 12334645248 headers: () checkfunc: <function checkfunc at 0x7faab4bb0938> errstr: 'failure: repodata/356f3c8270826e3813cd701fa9814c20ebe9ce1c4d1aa2a44d69353ca9407163-filelists.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.' copy_local: 1 kwargs: {} url: None end: None local: '/var/cache/yum/x86_64/19/updates/356f3c8270826e3813cd701fa9814c20ebe9ce1c4d1aa2a44d69353ca9407163-filelists.sqlite.bz2' size: '12998915'
Created attachment 810373 [details] File: backtrace
Created attachment 810374 [details] File: environ
Hmm, there's no toplevel error handler in the needs-updating script.. I can fix that, but the root cause is probably just stale repomd.xml- something that can't be fixed if we want to download filelists on demand. Does "yum clean --disablerepo=* --enablerepo=updates" fix the issue?
Oh, the extra argument is mandatory.. use "yum clean all" then.
I agree that the root cause was out-of-sync metadata, switching to a mirror solved the problem. I opened this Bz mainly regarding the ugly traceback which triggers abrt.
yum-utils-1.1.31-19.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/yum-utils-1.1.31-19.fc20
Package yum-utils-1.1.31-19.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-utils-1.1.31-19.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23330/yum-utils-1.1.31-19.fc20 then log in and leave karma (feedback).
yum-utils-1.1.31-19.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.