upgrades-migrations / preupgrade-assistant-modules

Modules for the Preupgrade Assistant tool. Disclaimer: It was fun. R.I.P. :-)
GNU General Public License v3.0
3 stars 11 forks source link

packages/RemovedPackages: don't remove foreign packages #108

Open AloisMahdal opened 6 years ago

AloisMahdal commented 6 years ago

(I'm movig this in from RHBZ#1318293.)

Description of problem

After upgrade, all packages that start with 'preupgrade-assistant' are removed. If user's package starts with this string, it will be removed.

We should only remove packages that we own (i.e. based on hard-coded list or RH signature).

Version-Release number of selected component

redhat-upgrade-tool-0.7.43-1.el6.noarch preupgrade-assistant-2.1.5-3.el6.noarch preupgrade-assistant-el6toel7-0.6.45-1.el6.noarch preupgrade-assistant-el6toel7-data-0.20160125-1.el6.noarch preupgrade-assistant-tools-2.1.5-3.el6.noarch preupgrade-assistant-ui-2.1.5-3.el6.noarch

How reproducible

Always

Steps to Reproduce

  1. Install custom package starting with 'preupgrade-assistant', possibly without 'el6' in Release

  2. Perform upgrade

    • I have used --cleanup-post, but I'm not sure if it's needed to reproduce
  3. Check your package

Actual results

The package is gone

Expected results

The package should be still present (unless it depends on one of our packages)