← 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

 

Hey Andy,

Thanks for submitting this bug.  It appears that none of the IUS
coredevs got any notifications of your issues or pull requests from
github.com.    I know I did not get any and I will check with the rest
of the team.  Sorry for the confusion, and I promise we weren't trying
to ignore you.

We will start looking into these issues and get back with you when we
have additional information.

-Ben

-- 
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:
  New

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