← Back to team overview

ius-coredev team mailing list archive

[Bug 1193102] Re: yum-plugin-replace fails to calculate all replacements when not from same SRPM

 

Hello Andy,

Thanks for testing.  This package has been tagged as stable-candidate.
It will be in placed in the stable repos tonight and can take around 24
hours to hit all the mirrors.

-Ben

** Changed in: ius
       Status: Fix Committed => Fix Released

-- 
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/1193102

Title:
  yum-plugin-replace fails to calculate all replacements when not from
  same SRPM

Status in IUS Community Project:
  Fix Released

Bug description:
  I found a bug in replace.py, where only one entry in
  pkgs_to_not_remove is performing the "messy" counterpart checks when
  not in the same SRPM. Essentially pkgs_to_not_remove being altered
  while looping, and so ending the loop prematurely.

  I fixed the bug and have issued a github pull request for it almost a
  month ago https://github.com/iuscommunity/yum-plugin-replace/pull/4

  Steps to reproduce:

  yum install php php-pecl-memcache
  yum replace php --replace-with=php54
  Expecting to see:

  Installing:
    php54-pecl-memcache
  Removing:
    php-pecl-memcache
  Actual result:

  Removing for dependencies:
    php-pecl-memcache

To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1193102/+subscriptions


References