To distro-sync or not distro-sync?

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Oct 29 13:10:10 UTC 2015


On Thu, Oct 29, 2015 at 01:33:45PM +0100, Reindl Harald wrote:
> 
> Am 29.10.2015 um 13:24 schrieb Honza Šilhan:
> >>From: "Miroslav Suchý" <msuchy at redhat.com>
> >>From: "Reindl Harald" <h.reindl at thelounge.net>
> >>the software upgrade just have to mention the conflicting packages and
> >>stop until somebody enables a --force switch and in general DNF has to
> >>be much more verbose in case of dependency problems instead just saying
> >>"can't do anything because broken deps"
> >
> >dnf has `--allowerasing switch - it will resolve the conflicts by uninstallation
> >of conflicting packages. Installing the packages regardless the dependencies by
> >`--force` is really dangerous and will not be supported by DNF.
> 
> removing random packages is also really dangerous and *not* acceptable
> 
> frankly if there are problems and i need a hammer then i need a
> hammer in case i know what i am doing - i have solved yum
> distrupgrade troubles hundrets of times by "rpm -e --nodeps" for
> packages where i am 100% sure that they are not system critical and
> guess what - after that the deps where solved and even the correct
> dependencies installed without any cleanup needed after the upgrade

It asks for confirmation. The list of packages to remove is the last
thing before the prompt... Those prompts could be made more visible,
and/or we could make it easier to retrieve the list of removed packages
after the installation is done, but that's about it.

Zbyszek


More information about the devel mailing list