← 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,

We accepted your pull requests.  I have built yum-plugin-replace-0.2.6-1
and tagged as test-candidate.  It will be in placed in the testing repos
tonight and can take around 24 hours to hit all the mirrors.

See the following for information on how to use the testing repo:

http://iuscommunity.org/pages/FAQs.html?highlight=testing#how-do-i
-install-packages-from-testing

Can you do some testing to ensure this new version is working correctly?

-Ben

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

** Changed in: ius
     Assignee: (unassigned) => bharper (bharper)

-- 
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 Committed

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