[Bug 1164541] "zypper dup -y" sometimes removes packages when no network connection is available
http://bugzilla.suse.com/show_bug.cgi?id=1164541
http://bugzilla.suse.com/show_bug.cgi?id=1164541#c8
--- Comment #8 from Michael Andres
It's not always steam, just this time.
I can't find any logic in it.
As Benjamin explained, packages which are not available in any repository are considered being orphaned or unwanted. In the usual dependency resolution process, orphaned packages may be deleted, if they are involved in a dependency conflict. In 'dup' however, there is an additional cleanup stage, driven by the installed products release package (openSUSE-release in your case). The product may define a list of dropped packages which shall be removed by dup if they are orphaned. `zypper info --provides openSUSE-release | grep weakremover` gives you the list. steam e.g. is in the list. That's why it gets deleted if no available repo provides a steam package. You can disable this additional cleanup in /etc/zypp/zypp.conf. Look for solver.upgradeRemoveDroppedPackages and add a line
solver.upgradeRemoveDroppedPackages = false
We'll also have a look at the additional cleanup code. Maybe we can somehow mitigate the impact of missing repositories on this additional cleanup step. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com