Bug 652767 - yum history undo unable to handle self obsoleting packages (ie. upgrades which obsolete)
Summary: yum history undo unable to handle self obsoleting packages (ie. upgrades whic...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 13
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-12 17:56 UTC by Orion Poplawski
Modified: 2014-01-21 23:17 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-06-28 10:38:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2010-11-12 17:56:20 UTC
Description of problem:

I'm trying to undo a recent large kde update.  I've built a fedora-updates-history repo with the needed packages.  yum reports:


# yum -d 10 history undo last
Loading "auto-update-debuginfo" plugin
Loading "downloadonly" plugin
Loading "refresh-packagekit" plugin
Running "config" handler for "downloadonly" plugin
Config time: 0.039
Yum Version: 3.2.28
COMMAND: yum -d 10 history undo last 
Installroot: /
Ext Commands:

   undo
   last
Setting up Package Sacks
Running "prereposetup" handler for "auto-update-debuginfo" plugin
Reading Local RPMDB
rpmdb time: 0.000
Found 13 installed debuginfo package(s)
Enabling rpmfusion-nonfree-debuginfo: RPM Fusion for Fedora 13 - Non-Free - Debug
Enabling rpmfusion-free-updates-debuginfo: RPM Fusion for Fedora 13 - Free - Updates Debug
Enabling rpmfusion-nonfree-updates-debuginfo: RPM Fusion for Fedora 13 - Non-Free - Updates Debug
Enabling rpmfusion-free-debuginfo: RPM Fusion for Fedora 13 - Free - Debug
Enabling updates-debuginfo: Fedora 13 - x86_64 - Updates - Debug
Enabling fedora-debuginfo: Fedora 13 - x86_64 - Debug
Running "postreposetup" handler for "downloadonly" plugin
pkgsack time: 1.046
Undoing transaction 33, from Tue Nov  9 03:51:23 2010
    Updated     PyKDE4-4.4.5-1.fc13.x86_64
    Update             4.5.2-2.fc13.x86_64
    Updated     akonadi-1.3.1-4.fc13.x86_64
    Update              1.4.0-3.fc13.x86_64
    Updated     attica-0.1.2-2.fc13.x86_64
    Update             0.1.4-1.fc13.x86_64
    Dep-Install cagibi-0.1.1-2.fc13.x86_64
    Dep-Install dbusmenu-qt-0.6.3-1.fc13.x86_64
    Updated     digikam-1.2.0-2.fc13.x86_64
    Update              1.5.0-1.fc13.1.x86_64
    Updated     digikam-libs-1.2.0-2.fc13.x86_64
    Update                   1.5.0-1.fc13.1.x86_64
    Dep-Install docbook-style-xsl-1.75.2-6.fc13.noarch
    Obsoleted   fedora-kde-icon-theme-0.0.2-3.fc13.noarch
    Updated     flash-plugin-10.1.85.3-release.i386
    Update                   10.1.102.64-release.i386
    Updated     fuse-2.8.4-1.fc13.x86_64
    Update           2.8.5-2.fc13.x86_64
    Updated     fuse-libs-2.8.4-1.fc13.x86_64
    Update                2.8.5-2.fc13.x86_64
    Updated     gegl-0.1.2-3.fc13.x86_64
    Update           0.1.2-4.fc13.x86_64
    Updated     kcm-gtk-0.5.3-3.fc13.x86_64
    Update              0.5.3-5.fc13.x86_64
    Updated     kcm_touchpad-0.3.1-2.fc13.x86_64
    Update                   0.3.1-3.fc13.x86_64
    Obsoleting  kde-plasma-networkmanagement-1:0.9-0.28.20101011.fc13.2.x86_64
    Updated     kdeaccessibility-1:4.4.5-1.fc13.x86_64
    Update                       1:4.5.2-1.fc13.x86_64
    Updated     kdeaccessibility-libs-1:4.4.5-1.fc13.x86_64
    Update                            1:4.5.2-1.fc13.x86_64
    Updated     kdeadmin-7:4.4.5-1.fc13.x86_64
    Update               7:4.5.2-1.fc13.x86_64
    Updated     kdeartwork-kxs-4.4.5-1.fc13.x86_64
    Update                     4.5.2-1.fc13.x86_64
    Updated     kdeartwork-screensavers-4.4.5-1.fc13.x86_64
    Update                              4.5.2-1.fc13.x86_64
    Updated     kdebase-6:4.4.5-1.fc13.x86_64
    Update              6:4.5.2-2.fc13.x86_64
    Updated     kdebase-libs-6:4.4.5-1.fc13.x86_64
    Update                   6:4.5.2-2.fc13.x86_64
    Updated     kdebase-runtime-4.4.5-1.fc13.x86_64
    Update                      4.5.2-3.fc13.x86_64
    Updated     kdebase-runtime-debuginfo-4.4.5-1.fc13.x86_64
    Update                                4.5.2-3.fc13.x86_64
    Dep-Install kdebase-runtime-flags-4.5.2-3.fc13.noarch
    Updated     kdebase-runtime-libs-4.4.5-1.fc13.x86_64
    Update                           4.5.2-3.fc13.x86_64
    Updated     kdebase-workspace-4.4.5-1.fc13.x86_64
    Update                        4.5.2-3.fc13.x86_64
    Updated     kdebase-workspace-libs-4.4.5-1.fc13.x86_64
    Update                             4.5.2-3.fc13.x86_64
    Updated     kdebase-workspace-python-applet-4.4.5-1.fc13.x86_64
    Update                                      4.5.2-3.fc13.x86_64
    Updated     kdeedu-marble-4.4.5-2.fc13.x86_64
    Update                    4.5.2-2.fc13.x86_64
    Updated     kdeedu-marble-libs-4.4.5-2.fc13.x86_64
    Update                         4.5.2-2.fc13.x86_64
    Updated     kdegraphics-7:4.4.5-4.fc13.x86_64
    Update                  7:4.5.2-4.fc13.x86_64
    Updated     kdegraphics-libs-7:4.4.5-4.fc13.x86_64
    Update                       7:4.5.2-4.fc13.x86_64
    Updated     kdelibs-6:4.4.5-1.fc13.x86_64
    Update              6:4.5.2-8.fc13.x86_64
    Updated     kdelibs-common-6:4.4.5-1.fc13.x86_64
    Update                     6:4.5.2-8.fc13.x86_64
    Updated     kdemultimedia-6:4.4.5-1.fc13.x86_64
    Update                    6:4.5.2-1.fc13.x86_64
    Updated     kdemultimedia-libs-6:4.4.5-1.fc13.x86_64
    Update                         6:4.5.2-1.fc13.x86_64
    Updated     kdenetwork-7:4.4.5-3.fc13.x86_64
    Update                 7:4.5.2-1.fc13.x86_64
    Updated     kdenetwork-libs-7:4.4.5-3.fc13.x86_64
    Update                      7:4.5.2-1.fc13.x86_64
    Updated     kdepim-6:4.4.6-3.fc13.x86_64
    Update             6:4.4.7-1.fc13.1.x86_64
    Updated     kdepim-libs-6:4.4.6-3.fc13.x86_64
    Update                  6:4.4.7-1.fc13.1.x86_64
    Updated     kdepim-runtime-4.4.6-2.fc13.x86_64
    Update                     4.4.7-1.fc13.1.x86_64
    Updated     kdepim-runtime-libs-4.4.6-2.fc13.x86_64
    Update                          4.4.7-1.fc13.1.x86_64
    Updated     kdepimlibs-4.4.5-1.fc13.x86_64
    Update                 4.5.2-1.fc13.x86_64
    Updated     kdepimlibs-akonadi-4.4.5-1.fc13.x86_64
    Update                         4.5.2-1.fc13.x86_64
    Updated     kdeplasma-addons-4.4.5-1.fc13.x86_64
    Update                       4.5.2-1.fc13.x86_64
    Updated     kdeplasma-addons-libs-4.4.5-1.fc13.x86_64
    Update                            4.5.2-1.fc13.x86_64
    Updated     kdesdk-4.4.5-1.fc13.x86_64
    Update             4.5.2-1.fc13.x86_64
    Updated     kdesdk-libs-4.4.5-1.fc13.x86_64
    Update                  4.5.2-1.fc13.x86_64
    Updated     kdesdk-utils-4.4.5-1.fc13.x86_64
    Update                   4.5.2-1.fc13.x86_64
    Updated     kdeutils-6:4.4.5-1.fc13.x86_64
    Update               6:4.5.2-1.fc13.x86_64
    Updated     kdeutils-libs-6:4.4.5-1.fc13.x86_64
    Update                    6:4.5.2-1.fc13.x86_64
    Dep-Install kdeutils-minimal-6:4.5.2-1.fc13.x86_64
    Dep-Install kdeutils-minimal-libs-6:4.5.2-1.fc13.x86_64
    Updated     kdeutils-printer-applet-6:4.4.5-1.fc13.x86_64
    Update                              6:4.5.2-1.fc13.x86_64
    Updated     kdm-4.4.5-1.fc13.x86_64
    Update          4.5.2-3.fc13.x86_64
    Updated     kio_msits-7:4.4.5-4.fc13.x86_64
    Update                7:4.5.2-4.fc13.x86_64
    Updated     kipi-plugins-1.2.0-1.fc13.x86_64
    Update                   1.5.0-2.fc13.x86_64
    Updated     kipi-plugins-libs-1.2.0-1.fc13.x86_64
    Update                        1.5.0-2.fc13.x86_64
    Obsoleted   knetworkmanager-1:0.9-0.20.20100603.fc13.x86_64
    Updated     knetworkmanager-libs-1:0.9-0.20.20100603.fc13.x86_64
    Update                           1:0.9-0.28.20101011.fc13.2.x86_64
    Updated     kross-python-4.4.5-1.fc13.x86_64
    Update                   4.5.2-2.fc13.x86_64
    Updated     ksysguardd-4.4.5-1.fc13.x86_64
    Update                 4.5.2-3.fc13.x86_64
    Updated     ktorrent-4.0.3-1.fc13.x86_64
    Update               4.0.4-1.fc13.x86_64
    Updated     ktorrent-libs-4.0.3-1.fc13.x86_64
    Update                    4.0.4-1.fc13.x86_64
    Updated     libgsf-1.14.17-1.fc13.x86_64
    Update             1.14.18-1.fc13.x86_64
    Updated     libktorrent-1.0.3-1.fc13.x86_64
    Update                  1.0.4-1.fc13.x86_64
    Updated     libpurple-2.7.4-1.fc13.x86_64
    Update                2.7.5-1.fc13.x86_64
    Updated     oxygen-icon-theme-4.4.5-1.fc13.noarch
    Obsoleting  oxygen-icon-theme-4.5.2-1.fc13.noarch
    Updated     pam-1.1.1-4.fc13.i686
    Updated     pam-1.1.1-4.fc13.x86_64
    Update          1.1.1-6.fc13.i686
    Update          1.1.1-6.fc13.x86_64
    Updated     papyon-0.5.0-1.fc13.noarch
    Update             0.5.2-1.fc13.noarch
    Updated     perl-libwww-perl-5.834-1.fc13.noarch
    Update                       5.837-2.fc13.noarch
    Updated     policycoreutils-2.0.83-31.fc13.x86_64
    Update                      2.0.83-33.1.fc13.x86_64
    Updated     policycoreutils-gui-2.0.83-31.fc13.x86_64
    Update                          2.0.83-33.1.fc13.x86_64
    Updated     policycoreutils-python-2.0.83-31.fc13.x86_64
    Update                             2.0.83-33.1.fc13.x86_64
    Updated     smartmontools-1:5.39.1-1.fc13.x86_64
    Update                    1:5.40-1.fc13.x86_64
    Updated     soprano-2.4.3-2.fc13.x86_64
    Update              2.5.2-1.fc13.x86_64
    Updated     system-config-printer-kde-7:4.4.5-1.fc13.x86_64
    Update                                7:4.5.2-1.fc13.x86_64
    Updated     xscreensaver-base-1:5.12-5.fc13.x86_64
    Update                        1:5.12-6.fc13.x86_64
    Updated     xscreensaver-extras-1:5.12-5.fc13.x86_64
    Update                          1:5.12-6.fc13.x86_64
    Updated     xscreensaver-gl-base-1:5.12-5.fc13.x86_64
    Update                           1:5.12-6.fc13.x86_64
    Updated     xscreensaver-gl-extras-1:5.12-5.fc13.x86_64
    Update                             1:5.12-6.fc13.x86_64
Removing oxygen-icon-theme.noarch 0:4.5.2-1.fc13 - e from the transaction
Removing oxygen-icon-theme.noarch 0:4.4.5-1.fc13 - u from the transaction
Error: No package(s) available to install

# yum list --showduplicates oxygen-icon-theme
Loaded plugins: auto-update-debuginfo, downloadonly, refresh-packagekit
Found 13 installed debuginfo package(s)
Enabling rpmfusion-nonfree-debuginfo: RPM Fusion for Fedora 13 - Non-Free - Debug
Enabling rpmfusion-free-updates-debuginfo: RPM Fusion for Fedora 13 - Free - Updates Debug
Enabling rpmfusion-nonfree-updates-debuginfo: RPM Fusion for Fedora 13 - Non-Free - Updates Debug
Enabling rpmfusion-free-debuginfo: RPM Fusion for Fedora 13 - Free - Debug
Enabling updates-debuginfo: Fedora 13 - x86_64 - Updates - Debug
Enabling fedora-debuginfo: Fedora 13 - x86_64 - Debug
Installed Packages
oxygen-icon-theme.noarch                      4.5.2-1.fc13                       @updates       
Available Packages
oxygen-icon-theme.noarch                      4.4.2-1.fc13                       fedora         
oxygen-icon-theme.noarch                      4.4.5-1.fc13                       updates-history
oxygen-icon-theme.noarch                      4.5.2-1.fc13                       updates        
oxygen-icon-theme.noarch                      4.5.2-1.fc13                       updates-history

Version-Release number of selected component (if applicable):
yum-3.2.28-5.fc13.noarch

Comment 1 James Antill 2010-11-15 17:17:17 UTC
 Ahh, I see the problem here. The problem is that "obsoletes" can actually be any of: install or upgrade (or even reinstall / downgrade) ... but "history undo" was probably only tested with them as "install" (the most common case).

 I'll setup some tests and should be able to fix. Until then you should be able to use:

yum shell
history undo last
install oxygen-icon-theme-4.4.5-1.fc13.noarch
run

Comment 2 Bug Zapper 2011-05-30 13:49:50 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  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 WONTFIX if it remains open with a Fedora 
'version' of '13'.

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 prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 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 please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

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.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Bug Zapper 2011-06-28 10:38:34 UTC
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 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.

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.