Bug 1017600 - [abrt] yum-utils-1.1.31-18.fc19: yumRepo.py:1029:_getFile:NoMoreMirrorsRepoError: failure: repodata/356f3c8270826e3813cd701fa9814c20ebe9ce1c4d1aa2a44d69353ca9407163-filelists.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.
Summary: [abrt] yum-utils-1.1.31-18.fc19: yumRepo.py:1029:_getFile:NoMoreMirrorsRepoEr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:531833688699542b4d6bbe05bed...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-10 08:41 UTC by David Juran
Modified: 2013-12-16 07:05 UTC (History)
5 users (show)

Fixed In Version: yum-utils-1.1.31-19.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-16 07:05:58 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (2.95 KB, text/plain)
2013-10-10 08:41 UTC, David Juran
no flags Details
File: environ (2.15 KB, text/plain)
2013-10-10 08:41 UTC, David Juran
no flags Details

Description David Juran 2013-10-10 08:41:39 UTC
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'

Comment 1 David Juran 2013-10-10 08:41:45 UTC
Created attachment 810373 [details]
File: backtrace

Comment 2 David Juran 2013-10-10 08:41:49 UTC
Created attachment 810374 [details]
File: environ

Comment 3 Zdeněk Pavlas 2013-10-10 09:28:04 UTC
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?

Comment 4 Zdeněk Pavlas 2013-10-10 09:29:29 UTC
Oh, the extra argument is mandatory.. use "yum clean all" then.

Comment 5 David Juran 2013-10-10 12:43:33 UTC
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.

Comment 6 Fedora Update System 2013-12-13 11:45:55 UTC
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

Comment 7 Fedora Update System 2013-12-13 17:55:04 UTC
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).

Comment 8 Fedora Update System 2013-12-16 07:05:58 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.