Ugly output when RPM DB is being altered #154

tradej opened this Issue Feb 17, 2014 · 0 comments


None yet
2 participants

tradej commented Feb 17, 2014

Ugly output when RPM DB is being altered while DA is running. Should be something nicer, a one-line error.

[tradej@destructor dist]$ da crt c -n pokus
INFO: Resolving RPM dependencies ...
Loaded plugins: langpacks, refresh-packagekit
error: rpmdbNextIterator: skipping h#    3803 region trailer: BAD, tag 1667654962 type 1681012018 offset -892887398 count 1697658929
error: rpmdbNextIterator: skipping h#    4486 region trailer: BAD, tag 758132278 type 774974770 offset -808530737 count 808529920
error: rpmdbNextIterator: skipping h#    4498 region trailer: BAD, tag 1667768398 type 1870035232 offset -1013608047 count 1987657842
DevAssistant traceback (most recent call last):
Error: No DevAssistant frames to print.

Traceback (most recent call last):
  File "/usr/bin/da", line 9, in <module>
    load_entry_point('devassistant==0.8.0', 'console_scripts', 'da')()
  File "/usr/lib/python2.7/site-packages/devassistant/cli/", line 56, in run**vars(parsed_args))
  File "/usr/lib/python2.7/site-packages/devassistant/", line 44, in run
  File "/usr/lib/python2.7/site-packages/devassistant/", line 24, in _run_path_dependencies
    command.Command('dependencies', deps, parsed_args).run()
  File "/usr/lib/python2.7/site-packages/devassistant/", line 28, in run
  File "/usr/lib/python2.7/site-packages/devassistant/", line 214, in run
  File "/usr/lib/python2.7/site-packages/devassistant/", line 514, in install
  File "/usr/lib/python2.7/site-packages/devassistant/", line 470, in _install_dependencies
    to_install = pkg_mgr.resolve(*to_resolve)
  File "/usr/lib/python2.7/site-packages/devassistant/", line 197, in resolve
  File "/usr/lib/python2.7/site-packages/yum/", line 893, in resolveDeps
    for po, dep in self._checkFileRequires():
  File "/usr/lib/python2.7/site-packages/yum/", line 1184, in _checkFileRequires
    self.installedFileProviders = self.rpmdb.fileRequiresData()
  File "/usr/lib/python2.7/site-packages/yum/", line 970, in fileRequiresData
    for name, flag, evr in pkg.requires:
  File "/usr/lib/python2.7/site-packages/yum/", line 671, in <lambda>
    requires = property(fget=lambda self: self.returnPrco('requires'))
  File "/usr/lib/python2.7/site-packages/yum/", line 1395, in returnPrco
  File "/usr/lib/python2.7/site-packages/yum/", line 1409, in _populatePrco
    hdr = self._get_hdr()
  File "/usr/lib/python2.7/site-packages/yum/", line 93, in _get_hdr
    raise Errors.PackageSackError, 'Rpmdb changed underneath us'
yum.Errors.PackageSackError: Rpmdb changed underneath us

@bkabrda bkabrda added Core bug labels Mar 21, 2014

bkabrda added this to the 0.9.0 milestone Mar 21, 2014

tradej was assigned by bkabrda Mar 21, 2014

tradej closed this in 9618ef7 Mar 28, 2014

tradej removed their assignment Sep 4, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment