Bug 1063029 - [abrt] yum-utils: rpmsack.py:93:_get_hdr:PackageSackError: Rpmdb changed underneath us
Summary: [abrt] yum-utils: rpmsack.py:93:_get_hdr:PackageSackError: Rpmdb changed unde...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 20
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:60f5bf3004c863303c75ad94617...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-09 17:08 UTC by WenbinChen
Modified: 2015-06-29 15:06 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-29 15:06:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.53 KB, text/plain)
2014-02-09 17:08 UTC, WenbinChen
no flags Details
File: environ (4.79 KB, text/plain)
2014-02-09 17:08 UTC, WenbinChen
no flags Details

Description WenbinChen 2014-02-09 17:08:25 UTC
Version-Release number of selected component:
yum-utils-1.1.31-20.fc20

Additional info:
reporter:       libreport-2.1.12
cmdline:        /usr/bin/python /usr/bin/package-cleanup --oldkernels --count=1
dso_list:       yum-3.4.3-132.fc20.noarch
executable:     /usr/bin/package-cleanup
kernel:         3.12.9-301.fc20.i686+PAE
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
rpmsack.py:93:_get_hdr:PackageSackError: Rpmdb changed underneath us

Traceback (most recent call last):
  File "/usr/bin/package-cleanup", line 400, in <module>
    util = PackageCleanup()
  File "/usr/bin/package-cleanup", line 60, in __init__
    self.main()
  File "/usr/bin/package-cleanup", line 329, in main
    errc = self.doUtilBuildTransaction()
  File "/usr/share/yum-cli/utils.py", line 392, in doUtilBuildTransaction
    if not self._rpmdb_warn_checks(out=self.verbose_logger.info, warn=False):
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1670, in _rpmdb_warn_checks
    for prob in self.rpmdb.check_dependencies():
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1561, in check_dependencies
    for rreq in pkg.strong_requires:
  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 672, in <lambda>
    strong_requires = property(fget=lambda self: self.returnPrco('strong_requires'))
  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1395, in returnPrco
    self._populatePrco()
  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1409, in _populatePrco
    hdr = self._get_hdr()
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 93, in _get_hdr
    raise Errors.PackageSackError, 'Rpmdb changed underneath us'
PackageSackError: Rpmdb changed underneath us

Local variables in innermost frame:
self: <RPMInstalledPackage : bluez-libs-5.13-1.fc20.i686 (0x9a90f4c)>
mi: <rpm.mi object at 0x9434608>
ts: <rpmUtils.transaction.TransactionWrapper instance at 0x944e74c>

Comment 1 WenbinChen 2014-02-09 17:08:35 UTC
Created attachment 861081 [details]
File: backtrace

Comment 2 WenbinChen 2014-02-09 17:08:38 UTC
Created attachment 861082 [details]
File: environ

Comment 3 viabsb 2014-08-06 13:57:52 UTC
Another user experienced a similar problem:

n/a

reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /bin/package-cleanup --dupes
dso_list:       yum-3.4.3-152.fc20.noarch
executable:     /bin/package-cleanup
kernel:         3.15.6-200.fc20.x86_64
package:        yum-utils-1.1.31-23.fc20
reason:         rpmsack.py:93:_get_hdr:PackageSackError: Rpmdb changed underneath us
runlevel:       N 5
type:           Python
uid:            1000

Comment 4 Peter H. Jones 2014-11-03 03:34:58 UTC
Another user experienced a similar problem:

Trying to use yumdownloader

reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/bin/yumdownloader --disablerepo=base21-local --disablerepo=updt21-local --enablerepo=base21-online --enablerepo=updt21-online --archlist=x86_64 --releasever=21 --resolve -c /run/media/jones/2tp001data/createlive/updt21.conf xfce4-netload-plugin firefox fedora-bookmarks evolution gvfs-archive checkpolicy mcstrans policycoreutils-gui selinux-policy selinux-policy-minimum selinux-policy-mls selinux-policy-targeted setroubleshoot setroubleshoot-server setroubleshoot-plugins setools setools-console setools-gui macchanger wget gd protobuf-c protobuf libmbim hplip python-pillow PyQt4 python-reportlab sane-backends NetworkManager-* network-manager-applet ppp kernel-tools gnome-system-monitor wicd wicd-gtk wicd-curses notify-python libglade livecd-tools createrepo createrepo_c-libs createrepo_c lz4-*fc21* abattis-cantarell-fonts abiword abrt abrt-addon-ccpp abrt-addon-kerneloops abrt-addon-pstoreoops abrt-addon-python abrt-addon-python3 abrt-addon-vmcore abrt-addon-xorg abrt-cli abrt-libs abrt-plugin-bodhi abrt-python abrt-python3 abrt-retrace-client abrt-tui accountsservice acl adwaita-cursor-theme adwaita-gtk2-theme adwaita-gtk3-theme aiksaurus albatross-gtk2-theme albatross-gtk3-theme albatross-xfwm4-theme alsa-firmware alsa-lib alsa-plugins-pulseaudio alsa-tools-firmware alsa-utils anaconda anaconda-core anaconda-gui anaconda-tui anaconda-widgets arj asunder at atk atkmm atmel-firmware at-spi2-atk at-spi2-core attica attr audit audit-libs augeas-libs authconfig avahi avahi-autoipd avahi-glib avahi-libs b43-fwcutter b43-openfwwf basesystem bash bash-completion bc bind-libs bind-libs-lite bind-license bind-utils binutils biosdevname bluebird-gtk2-theme bluebird-gtk3-theme bluebird-xfwm4-theme bluez bluez-cups bluez-libs bridge-utils btrfs-progs bzip2 bzip2-libs ca-certificates cairo cairo-gobject cairomm c-ares catfish cdparanoia cdparanoia-libs cdrdao chkconfig chrony cifs-utils cjkuni-uming-fonts claws-mail claws-mail-plugins-archive claws-mail-plugins-attachwarner claws-mail-plugins-att-remover claws-mail-plugins-fetchinfo claws-mail-plugins-mailmbox claws-mail-plugins-newmail claws-mail-plugins-notification claws-mail-plugins-pgp claws-mail-plugins-rssyl claws-mail-plugins-smime claws-mail-plugins-spam-report claws-mail-plugins-tnef claws-mail-plugins-vcalendar clucene-core clutter cogl colord colord-libs color-filesystem compface coreutils cpio cracklib cracklib-dicts crash crda cronie cronie-anacron crontabs crypto-policies cryptopp cryptsetup cryptsetup-libs cryptsetup-python csound cups cups-client cups-filesystem cups-filters cups-filters-libs cups-libs cups-pk-helper curl cyrus-sasl-gssapi cyrus-sasl-lib cyrus-sasl-md5 cyrus-sasl-plain cyrus-sasl-scram dbus dbus-glib dbus-libs dbusmenu-qt dbus-python dbus-x11 dconf dejavu-fonts-common dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-sesistent-data dhclient dhcp-common dhcp-libs diffutils dmidecode dmraid dmraid-events dnf dnsmasq docbook-dtds docbook-style-xsl dos2unix dosfstools dracut dracut-config-rescue dracut-network dtc dump dumpet dvd+rw-tools e2fsprogs e2fsprogs-libs ebtables ed efibootmgr efivar-libs elfutils elfutils-libelf elfutils-libs emacs-filesystem enchant espeak ethtool exiv2-libs exo expat farstream fcoe-utils fedora-icon-theme fedora-logos fedora-release fedora-release-notes fedora-release fedup-dracut fedup-dracut-plymouth fftw-libs-double fftw-libs-single file file-libs filesystem findutils finger fipscheck fipscheck-lib firewall-config firewalld flac flac-libs fluid-soundfont-common fluid-soundfont-gm fluidsynth-libs fontconfig fontpackages-filesystem fpaste fprintd fprintd-pam freetype fribidi fros ftp fuse-libs fxload galculator gamin garcon gawk GConf2 gcr gdb gdbm gdisk gdk-pixbuf2 geany genisoimage geoclue2 gettext gettext-libs gfs2-utils ghostscript ghostscript-fonts giflib glade-libs glib2 glibc glibc-common gl
dso_list:       yum-3.4.3-152.fc20.noarch
executable:     /usr/bin/yumdownloader
kernel:         3.16.7-200.fc20.x86_64
package:        yum-utils-1.1.31-25.fc20
reason:         rpmsack.py:93:_get_hdr:PackageSackError: Rpmdb changed underneath us
runlevel:       N 5
type:           Python
uid:            3000

Comment 5 Peter H. Jones 2014-12-06 12:43:29 UTC
Another user experienced a similar problem:

Downloading with rsync and yumdownloader

reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/bin/yumdownloader --disablerepo=base21-local --disablerepo=updt21-local --enablerepo=base21-online --enablerepo=updt21-online --archlist=x86_64 --releasever=21 --resolve -c /run/media/jones/2tp001data/createlive/updt21.conf xfce4-netload-plugin firefox fedora-bookmarks evolution gvfs-archive checkpolicy mcstrans policycoreutils-gui selinux-policy selinux-policy-minimum selinux-policy-mls selinux-policy-targeted setroubleshoot setroubleshoot-server setroubleshoot-plugins setools setools-console setools-gui macchanger wget gd protobuf-c protobuf libmbim hplip python-pillow PyQt4 python-reportlab sane-backends NetworkManager-* network-manager-applet ppp kernel-tools gnome-system-monitor wicd wicd-gtk wicd-curses notify-python libglade livecd-tools createrepo createrepo_c-libs createrepo_c lz4-*fc21* abattis-cantarell-fonts abiword abrt abrt-addon-ccpp abrt-addon-kerneloops abrt-addon-pstoreoops abrt-addon-python abrt-addon-python3 abrt-addon-vmcore abrt-addon-xorg abrt-cli abrt-libs abrt-plugin-bodhi abrt-python abrt-python3 abrt-retrace-client abrt-tui accountsservice acl adwaita-cursor-theme adwaita-gtk2-theme adwaita-gtk3-theme aiksaurus albatross-gtk2-theme albatross-gtk3-theme albatross-xfwm4-theme alsa-firmware alsa-lib alsa-plugins-pulseaudio alsa-tools-firmware alsa-utils anaconda anaconda-core anaconda-gui anaconda-tui anaconda-widgets arj asunder at atk atkmm atmel-firmware at-spi2-atk at-spi2-core attica attr audit audit-libs augeas-libs authconfig avahi avahi-autoipd avahi-glib avahi-libs b43-fwcutter b43-openfwwf basesystem bash bash-completion bc bind-libs bind-libs-lite bind-license bind-utils binutils biosdevname bluebird-gtk2-theme bluebird-gtk3-theme bluebird-xfwm4-theme bluez bluez-cups bluez-libs bridge-utils btrfs-progs bzip2 bzip2-libs ca-certificates cairo cairo-gobject cairomm c-ares catfish cdparanoia cdparanoia-libs cdrdao chkconfig chrony cifs-utils cjkuni-uming-fonts claws-mail claws-mail-plugins-archive claws-mail-plugins-attachwarner claws-mail-plugins-att-remover claws-mail-plugins-fetchinfo claws-mail-plugins-mailmbox claws-mail-plugins-newmail claws-mail-plugins-notification claws-mail-plugins-pgp claws-mail-plugins-rssyl claws-mail-plugins-smime claws-mail-plugins-spam-report claws-mail-plugins-tnef claws-mail-plugins-vcalendar clucene-core clutter cogl colord colord-libs color-filesystem compface coreutils cpio cracklib cracklib-dicts crash crda cronie cronie-anacron crontabs crypto-policies cryptopp cryptsetup cryptsetup-libs cryptsetup-python csound cups cups-client cups-filesystem cups-filters cups-filters-libs cups-libs cups-pk-helper curl cyrus-sasl-gssapi cyrus-sasl-lib cyrus-sasl-md5 cyrus-sasl-plain cyrus-sasl-scram dbus dbus-glib dbus-libs dbusmenu-qt dbus-python dbus-x11 dconf dejavu-fonts-common dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts deltarpm desktop-backgrounds-compat desktop-file-utils device-mapper device-mapper-event device-mapper-event-libs device-mapper-libs device-mapper-multipath device-mapper-multipath-libs device-mapper-persistent-data dhclient dhcp-common dhcp-libs diffutils dmidecode dmraid dmraid-events dnf dnsmasq docbook-dtds docbook-style-xsl dos2unix dosfstools dracut dracut-config-rescue dracut-network dtc dump dumpet dvd+rw-tools e2fsprogs e2fsprogs-libs ebtables ed efibootmgr efivar-libs elfutils elfutils-libelf elfutils-libs emacs-filesystem enchant espeak ethtool exiv2-libs exo expat f21-backgrounds farstream fcoe-utils fedora-icon-theme fedora-logos fedora-release fedora-release-notes fedora-release-nonproduct fedup-dracut fedup-dracut-plymouth fftw-libs-double fftw-libs-single file file-libs filesystem findutils finger fipscheck fipscheck-lib firewall-config firewalld flac flac-libs fluid-soundfont-common fluid-soundfont-gm fluidsynth-libs fontconfig fontpackages-filesystem fpaste fprintd fprintd-pam freetype fribidi fros ftp fuse-libs fxload galculator gamin garcon gawk GConf2 gcr gdb gdbm gdisk gdk-pixbuf2 geany genisoimage geoclue2 gettext gettext-libs gfs2-utils ghostscript ghostscript-fonts giflib glade-libs
dso_list:       yum-3.4.3-152.fc20.noarch
executable:     /usr/bin/yumdownloader
kernel:         3.17.4-200.fc20.x86_64
package:        yum-utils-1.1.31-27.fc20
reason:         rpmsack.py:93:_get_hdr:PackageSackError: Rpmdb changed underneath us
runlevel:       1 5
type:           Python
uid:            3000

Comment 6 Fedora End Of Life 2015-05-29 10:51:55 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Fedora End Of Life 2015-06-29 15:06:26 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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