Per-Product Config file divergence

Matthew Miller mattdm at fedoraproject.org
Mon Mar 17 13:13:01 UTC 2014


On Mon, Mar 17, 2014 at 08:26:52AM -0400, Stephen Gallagher wrote:
> [1] I could be wrong here; it depends on how RPM and YUM handles 'yum
> remove fedora-release-cloud; yum install fedora-release-server'. Lets
> assume that foo has foo-config-cloud installed. I see three possible
> outcomes to 'yum remove fedora-release-cloud':
>  1)  foo-config-cloud is removed and foo-config-default is installed
>  2)  foo-config-cloud remains on the system, irrespective of the
>      presence of fedora-release-cloud
>  3)  The transaction aborts because of unsatisfied dependencies.

Not sure about with DNF, but with yum we could use "yum swap" instead of
separate remove and install commands.

Worst case, we write a plugin to handle this "adoption" case.



-- 
Matthew Miller    --   Fedora Project    --    <mattdm at fedoraproject.org>


More information about the devel mailing list