GNOME Bugzilla – Bug 730451
Duplicate packages left installed after offline update
Last modified: 2014-05-21 14:58:18 UTC
I'm using the GNOME 3.12 copr on Fedora 20. I recently noticed, when using 'yum install', that I have multiple versions of several packages installed on my system. The only likely explanation I can come up with is that PackageKit screwed up an offline update and skipped the package cleanup step, probably due to an error updating a particular package. (Indeed, an offline update failed a couple of days ago, but then my computer crashed immediately so I wasn't able to report a bug.) Are there any logs I should provide to help debug this? $ yum check duplicates Loaded plugins: auto-update-debuginfo, langpacks PackageKit-0.9.2-2.fc20.x86_64 is a duplicate with PackageKit-0.9.2-1.fc20.x86_64 PackageKit-command-not-found-0.9.2-2.fc20.x86_64 is a duplicate with PackageKit-command-not-found-0.9.2-1.fc20.x86_64 PackageKit-glib-0.9.2-2.fc20.x86_64 is a duplicate with PackageKit-glib-0.9.2-1.fc20.x86_64 PackageKit-gstreamer-plugin-0.9.2-2.fc20.x86_64 is a duplicate with PackageKit-gstreamer-plugin-0.9.2-1.fc20.x86_64 abrt-2.2.1-2.fc20.x86_64 is a duplicate with abrt-2.2.1-1.fc20.x86_64 abrt-gui-libs-2.2.1-2.fc20.x86_64 is a duplicate with abrt-gui-libs-2.2.1-1.fc20.x86_64 abrt-libs-2.2.1-2.fc20.x86_64 is a duplicate with abrt-libs-2.2.1-1.fc20.x86_64 abrt-python-2.2.1-2.fc20.x86_64 is a duplicate with abrt-python-2.2.1-1.fc20.x86_64 abrt-retrace-client-2.2.1-2.fc20.x86_64 is a duplicate with abrt-retrace-client-2.2.1-1.fc20.x86_64 adwaita-cursor-theme-3.12.0-2.fc20.noarch is a duplicate with adwaita-cursor-theme-3.12.0-1.fc20.noarch adwaita-gtk2-theme-3.12.0-2.fc20.x86_64 is a duplicate with adwaita-gtk2-theme-3.12.0-1.fc20.x86_64 adwaita-gtk3-theme-3.12.0-2.fc20.x86_64 is a duplicate with adwaita-gtk3-theme-3.12.0-1.fc20.x86_64 1:aisleriot-3.12.1-1.fc20.x86_64 is a duplicate with 1:aisleriot-3.12.0-1.fc20.x86_64 1:autocorr-en-4.2.4.2-8.fc20.noarch is a duplicate with 1:autocorr-en-4.2.3.3-9.fc20.noarch cifs-utils-6.3-2.fc20.x86_64 is a duplicate with cifs-utils-6.3-1.fc20.x86_64 cups-filters-1.0.53-2.fc20.x86_64 is a duplicate with cups-filters-1.0.53-1.fc20.x86_64 cups-filters-libs-1.0.53-2.fc20.x86_64 is a duplicate with cups-filters-libs-1.0.53-1.fc20.x86_64 curl-7.32.0-10.fc20.x86_64 is a duplicate with curl-7.32.0-9.fc20.x86_64 file-roller-3.12.2-1.fc20.x86_64 is a duplicate with file-roller-3.12.1-1.fc20.x86_64 firefox-29.0.1-1.fc20.x86_64 is a duplicate with firefox-29.0-5.fc20.x86_64 gawk-4.1.0-3.fc20.x86_64 is a duplicate with gawk-4.1.0-2.fc20.x86_64 gcr-3.12.2-1.fc20.x86_64 is a duplicate with gcr-3.12.0-2.fc20.x86_64 geocode-glib-3.12.2-1.fc20.x86_64 is a duplicate with geocode-glib-3.12.0-2.fc20.x86_64 glade-libs-3.18.3-1.fc20.x86_64 is a duplicate with glade-libs-3.18.2-1.fc20.x86_64 gnome-backgrounds-3.12.2-1.fc20.noarch is a duplicate with gnome-backgrounds-3.12.1-1.fc20.noarch gnome-keyring-3.12.2-1.fc20.x86_64 is a duplicate with gnome-keyring-3.12.0-1.fc20.x86_64 gnome-keyring-pam-3.12.2-1.fc20.x86_64 is a duplicate with gnome-keyring-pam-3.12.0-1.fc20.x86_64 gnome-klotski-3.12.2-1.fc20.x86_64 is a duplicate with gnome-klotski-3.12.1-1.fc20.x86_64 gnome-mahjongg-3.12.2-1.fc20.x86_64 is a duplicate with gnome-mahjongg-3.12.1-1.fc20.x86_64 gnome-mines-3.12.2-1.fc20.x86_64 is a duplicate with gnome-mines-3.12.1-1.fc20.x86_64 gnome-robots-3.12.2-1.fc20.x86_64 is a duplicate with gnome-robots-3.12.1-1.fc20.x86_64 gnome-system-monitor-3.12.2-1.fc20.x86_64 is a duplicate with gnome-system-monitor-3.12.1-1.fc20.x86_64 gnome-tetravex-3.12.2-1.fc20.x86_64 is a duplicate with gnome-tetravex-3.12.1-1.fc20.x86_64 gnome-weather-3.12.1-1.fc20.x86_64 is a duplicate with gnome-weather-3.12.0-1.fc20.x86_64 gsettings-desktop-schemas-3.12.2-1.fc20.x86_64 is a duplicate with gsettings-desktop-schemas-3.12.0-1.fc20.x86_64 gtk3-3.12.2-1.fc20.x86_64 is a duplicate with gtk3-3.12.1-1.fc20.x86_64 gtk3-debuginfo-3.12.2-1.fc20.x86_64 is a duplicate with gtk3-debuginfo-3.12.1-1.fc20.x86_64 gtk3-devel-3.12.2-1.fc20.x86_64 is a duplicate with gtk3-devel-3.12.1-1.fc20.x86_64 gtk3-immodule-xim-3.12.2-1.fc20.x86_64 is a duplicate with gtk3-immodule-xim-3.12.1-1.fc20.x86_64 gtksourceview3-3.12.2-1.fc20.x86_64 is a duplicate with gtksourceview3-3.12.1-1.fc20.x86_64 gucharmap-3.12.1-1.fc20.x86_64 is a duplicate with gucharmap-3.12.0-1.fc20.x86_64 kernel-headers-3.14.4-200.fc20.x86_64 is a duplicate with kernel-headers-3.14.3-200.fc20.x86_64 2:libcacard-1.6.2-5.fc20.x86_64 is a duplicate with 2:libcacard-1.6.2-4.fc20.x86_64 libcurl-7.32.0-10.fc20.x86_64 is a duplicate with libcurl-7.32.0-9.fc20.x86_64 libcurl-devel-7.32.0-10.fc20.x86_64 is a duplicate with libcurl-devel-7.32.0-9.fc20.x86_64 libgexiv2-0.10.1-1.fc20.x86_64 is a duplicate with libgexiv2-0.10.0-1.fc20.x86_64 libgweather-3.12.2-1.fc20.x86_64 is a duplicate with libgweather-3.12.1-1.fc20.x86_64 1:libreoffice-opensymbol-fonts-4.2.4.2-8.fc20.noarch is a duplicate with 1:libreoffice-opensymbol-fonts-4.2.3.3-9.fc20.noarch 1:libreoffice-ure-4.2.4.2-8.fc20.x86_64 is a duplicate with 1:libreoffice-ure-4.2.3.3-9.fc20.x86_64 librepo-1.7.3-1.fc20.x86_64 is a duplicate with librepo-1.7.2-1.fc20.x86_64 mesa-dri-drivers-10.1.3-1.20140509.fc20.x86_64 is a duplicate with mesa-dri-drivers-10.1.1-2.20140419.fc20.x86_64 mesa-filesystem-10.1.3-1.20140509.fc20.x86_64 is a duplicate with mesa-filesystem-10.1.1-2.20140419.fc20.x86_64 mesa-libEGL-10.1.3-1.20140509.fc20.x86_64 is a duplicate with mesa-libEGL-10.1.1-2.20140419.fc20.x86_64 mesa-libEGL-devel-10.1.3-1.20140509.fc20.x86_64 is a duplicate with mesa-libEGL-devel-10.1.1-2.20140419.fc20.x86_64 mesa-libGL-10.1.3-1.20140509.fc20.x86_64 is a duplicate with mesa-libGL-10.1.1-2.20140419.fc20.x86_64 mesa-libGL-devel-10.1.3-1.20140509.fc20.x86_64 is a duplicate with mesa-libGL-devel-10.1.1-2.20140419.fc20.x86_64 mesa-libgbm-10.1.3-1.20140509.fc20.x86_64 is a duplicate with mesa-libgbm-10.1.1-2.20140419.fc20.x86_64 mesa-libgbm-devel-10.1.3-1.20140509.fc20.x86_64 is a duplicate with mesa-libgbm-devel-10.1.1-2.20140419.fc20.x86_64 mesa-libglapi-10.1.3-1.20140509.fc20.x86_64 is a duplicate with mesa-libglapi-10.1.1-2.20140419.fc20.x86_64 mesa-libwayland-egl-10.1.3-1.20140509.fc20.x86_64 is a duplicate with mesa-libwayland-egl-10.1.1-2.20140419.fc20.x86_64 mesa-libwayland-egl-devel-10.1.3-1.20140509.fc20.x86_64 is a duplicate with mesa-libwayland-egl-devel-10.1.1-2.20140419.fc20.x86_64 mesa-libxatracker-10.1.3-1.20140509.fc20.x86_64 is a duplicate with mesa-libxatracker-10.1.1-2.20140419.fc20.x86_64 netcf-libs-0.2.3-6.fc20.x86_64 is a duplicate with netcf-libs-0.2.3-5.fc20.x86_64 orca-3.12.2-1.fc20.noarch is a duplicate with orca-3.12.1-1.fc20.noarch 2:qemu-common-1.6.2-5.fc20.x86_64 is a duplicate with 2:qemu-common-1.6.2-4.fc20.x86_64 2:qemu-guest-agent-1.6.2-5.fc20.x86_64 is a duplicate with 2:qemu-guest-agent-1.6.2-4.fc20.x86_64 2:qemu-img-1.6.2-5.fc20.x86_64 is a duplicate with 2:qemu-img-1.6.2-4.fc20.x86_64 2:qemu-kvm-1.6.2-5.fc20.x86_64 is a duplicate with 2:qemu-kvm-1.6.2-4.fc20.x86_64 2:qemu-system-x86-1.6.2-5.fc20.x86_64 is a duplicate with 2:qemu-system-x86-1.6.2-4.fc20.x86_64 tali-3.12.2-1.fc20.x86_64 is a duplicate with tali-3.12.1-1.fc20.x86_64 tracker-1.0.1-1.fc20.x86_64 is a duplicate with tracker-1.0.0-1.fc20.x86_64 vte3-0.36.2-1.fc20.x86_64 is a duplicate with vte3-0.36.1-1.fc20.x86_64 xorg-x11-drv-synaptics-1.7.6-2.fc20.x86_64 is a duplicate with xorg-x11-drv-synaptics-1.7.4-9.fc20.x86_64 xorg-x11-server-Xorg-1.14.4-9.fc20.x86_64 is a duplicate with xorg-x11-server-Xorg-1.14.4-7.fc20.x86_64 xorg-x11-server-common-1.14.4-9.fc20.x86_64 is a duplicate with xorg-x11-server-common-1.14.4-7.fc20.x86_64 xorg-x11-server-devel-1.14.4-9.fc20.x86_64 is a duplicate with xorg-x11-server-devel-1.14.4-7.fc20.x86_64 Error: check ['duplicates']
That sounds like a PackageKit crash indeed. What would be really helpful would be a backtrace or a core file of the crash, but I doubt that's in the logs. Do you have any traces of the PK crash in the journal? I'll see if I can reproduce it locally here and figure out what's going on.
Okay, I believe I've figured out what's going on here. It's a regression from http://pkgs.fedoraproject.org/cgit/PackageKit.git/commit/?id=67e9442 and only happens when the transaction includes PackageKit itself. The added %systemd_postun_with_restart macro causes the PK services to be restarted midway through the update transaction, which of course leads to the transaction and the whole update failing.
Yes, that must be it. I was suspicious that PackageKit had failed updating itself due to the error message I received, but I didn't report that because I assumed it was a separate issue, and my computer crashed so I lost the error message.
And I've just noticed your announcement: https://lists.fedoraproject.org/pipermail/desktop/2014-May/009777.html