Bug ID | 1228434 |
---|---|
Summary | Behaviour of zypper dup in case of (temporarily) unaccessible repos |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | aarch64 |
OS | openSUSE Tumbleweed |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | libzypp |
Assignee | zypp-maintainers@suse.de |
Reporter | paulu@xs4all.nl |
QA Contact | qa-bugs@suse.de |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
Created attachment 876340 [details]
Screen output of zypper -vvv dup with unreachable repos
If a repo is down or unreachable, zypper dup proposes to remove all packages
from the repo. I saw this when all repos were down, but it can be reproduced by
removing the network connection.
System:
NAME="openSUSE Tumbleweed"
VERSION_ID="20240629"
Machine:
Raspberry Pi 3 Model B Rev 1.
See attachment showing commands executed:
zypper lr -d # Show repo list
ping -c3 forums.opensuse.org # Show connection is up
nmcli device status
nmcli device down enu1u1 # Bring connection down
ping -c3 forums.opensuse.org # Show conection is down
zypper -vvv dup # Do the update
Result:
The following 345 packages are going to be REMOVED
The following 10 patterns are going to be REMOVED
The expected behaviour is of course that nothing will be removed.