← Back to team overview

ius-coredev team mailing list archive

[Bug 916943] Re: Yum undo does not work

 

Sri,

Thank you very much for testing and confirming this.

I think the best approach may be for us to add a archive repo to the ius-release package.
Just like the testing repo we would keep it disabled, to enable to the repo the flag
--enablerepo=ius-archive can be appended to the command.

I'll see look in to this as an approach and get update the bug report.

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