ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #01304
[Bug 916943] Re: Yum undo does not work
Hello Sri,
Thank you for your bug report.
As you mentioned old packages do not stay in the main stable repo, for
this purpose we maintain a Archive repo:
http://dl.iuscommunity.org/pub/ius/archive/
Most likely the 'yum undo' is looking for the past package version in your enabled repos,
however IUS does not enable the archive repo by default.
You can see the configurations used for repos here:
http://bazaar.launchpad.net/~ius-coredev/ius/ius-
release/files/head:/SOURCES/
Would it be possible for you to add a configuration to /etc/yum.repo.d/ enabling the Archive repo,
once this is enabled can you test the undo? Please let us know your results.
Thanks
Jeffrey-
--
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/916943
Title:
Yum undo does not work
Status in IUS Community Project:
New
Bug description:
RHEL6 has a yum history feature where you can list all the
transactions. Further you can use them for any undo operations
yum history undo <id>
I have been playing with this for a while and seems like there is a
problem with undo and IUS repos
If I install a package fresh from and then do a undo it works. This is
likely because in this case I am removing packages.
However if I update a package and try to use undo to revert to the old
version it fails. Here's what I tried with php
[root@zeus ~]# yum history undo 34
Loaded plugins: fastestmirror, tsflags
Loading mirror speeds from cached hostfile
* base: mirror01.th.ifl.net
* epel: mirror01.th.ifl.net
* extras: mirror01.th.ifl.net
* ius: ftp.rediris.es
* updates: mirror01.th.ifl.net
Undoing transaction 34, from Sun Jan 15 21:38:25 2012
Updated php53u-5.3.8-3.ius.el6.x86_64 ?
Update 5.3.8-4.ius.el6.x86_64 @ius
Updated php53u-cli-5.3.8-3.ius.el6.x86_64 ?
Update 5.3.8-4.ius.el6.x86_64 @ius
Updated php53u-common-5.3.8-3.ius.el6.x86_64 ?
Update 5.3.8-4.ius.el6.x86_64 @ius
Updated php53u-gd-5.3.8-3.ius.el6.x86_64 ?
Update 5.3.8-4.ius.el6.x86_64 @ius
Updated php53u-mcrypt-5.3.8-3.ius.el6.x86_64 ?
Update 5.3.8-4.ius.el6.x86_64 @ius
Updated php53u-mysql-5.3.8-3.ius.el6.x86_64 ?
Update 5.3.8-4.ius.el6.x86_64 @ius
Updated php53u-pdo-5.3.8-3.ius.el6.x86_64 ?
Update 5.3.8-4.ius.el6.x86_64 @ius
Updated php53u-snmp-5.3.8-3.ius.el6.x86_64 ?
Update 5.3.8-4.ius.el6.x86_64 @ius
Failed to downgrade: php53u-5.3.8-3.ius.el6.x86_64
Failed to downgrade: php53u-cli-5.3.8-3.ius.el6.x86_64
Failed to downgrade: php53u-common-5.3.8-3.ius.el6.x86_64
Failed to downgrade: php53u-gd-5.3.8-3.ius.el6.x86_64
Failed to downgrade: php53u-mcrypt-5.3.8-3.ius.el6.x86_64
Failed to downgrade: php53u-mysql-5.3.8-3.ius.el6.x86_64
Failed to downgrade: php53u-pdo-5.3.8-3.ius.el6.x86_64
Failed to downgrade: php53u-snmp-5.3.8-3.ius.el6.x86_64
Undo works fine with downgrades of packages from Red Hat packages and EPEL
It is likely because the IUS repos don't have previous versions in the main repo.
Given that undo is a nice feature , are there any plans for doing this ?
Note, I have not tried other options and so there might be a way to do this in a different way.
OS Version : Red Hat 6.2
IUS : ius-release-1.0-8.ius.el6.noarch
Thanks,
Sri
To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/916943/+subscriptions
References