[Bug 1130626] New: zypper forgets package dependencies
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626 Bug ID: 1130626 Summary: zypper forgets package dependencies Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: vitalykorotkov@openmailbox.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- This bug is relevant for all versions of openSUSE Leap, as well as for openSUSE Tumbleweed. The essence of the problem: I installed a clean system, updated, and then installed, for example, wine. Then no other packages were installed. Just an update. If you run wine removal right away, zypper will ask you to remove wine and all its dependencies(75 packages in my case). So everything works fine for a while. BUT. After a couple of days, a week or a maximum of two weeks, the removal of wine with the key `-u' will start the removal of only three packages - wine-mono wine-staging winetricks. The remaining 72 remain in the system and are not displayed in unnecessary dependencies or anywhere else. Wine is used here only as an example. This situation is absolutely with any package, even from official repositories, even from packman, even from community repositories. And this is a really serious problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c1
Joseph Mitzen
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c2
Sergei Larin
(In reply to Vitaly Korotkov from comment #0) What's probably happening is that now other packages are also dependent on many of those 75 packages.
Yes, some packages explicitly move depending on other packages. But not all at the same time! For example, the wine-staging-32bit package is also not removed, and it is doubtful that it is needed for anything without wine-staging installed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c3
--- Comment #3 from Vitaly Korotkov
(In reply to Vitaly Korotkov from comment #0) What's probably happening is that now other packages are also dependent on many of those 75 packages.
wine-staging-32bit is not removed, as well as wine-gecko, as well as dosbox, which is installed together with wine. If you can't believe that my system doesn't have packages that need some wine dependencies installed, then at least this small list should show that dependency management does not work properly. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c4
Jason M
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c5
Benjamin Zeller
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c6
--- Comment #6 from Vitaly Korotkov
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c7
--- Comment #7 from Benjamin Zeller
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c8
--- Comment #8 from Vitaly Korotkov
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
Jon Brightwell
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c9
Benjamin Zeller
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c10
--- Comment #10 from Benjamin Zeller
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c11
--- Comment #11 from Vitaly Korotkov
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c12
--- Comment #12 from Jason M
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c13
--- Comment #13 from Vitaly Korotkov
Edit: I had a typo there, the steam client does not use the 32bit wine packages directly but of course shares a lot of dependencies on other 32bit packages from the repositories.
Okay. This is my last attempt. Today I reinstalled the system, installed the necessary software, and this time the packages were removed without the dependencies at once after a reboot. Here I am trying to remove anything that may have to do with wine. If there is no mistake here, I apologize for the time spent. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c14
Michael Andres
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c16
--- Comment #16 from Benjamin Zeller
That's hard to tell. The solver testcases have a suspicious low amount of "autoinst" lines. Maybe that's what's tripping up the solver.
Benjamin, Michael, can you please reproduce this in a VM and check if the autoinst list is correct or not?
@Michael The autoinst list is indeed small but does not seem to be the issue, I tried the same in a TW VM I had set up before. And I can confirm that installing and uninstalling wine-staging will leaves those packages behind ( comparing installed vs uninstalled packages list ): +glibc-32bit +gnome-keyring-32bit +gnome-keyring-pam-32bit +krb5-32bit +libacl1-32bit +libaudit1-32bit +libavahi-client3-32bit +libavahi-common3-32bit +libbz2-1-32bit +libcap2-32bit +libcom_err2-32bit +libcrack2-32bit +libcrypt1-32bit +libcups2-32bit +libdb-4_8-32bit +libdbus-1-3-32bit +libdcerpc0-32bit +libdcerpc-binding0-32bit +libfam0-gamin-32bit +libffi7-32bit +libgcc_s1-32bit +libgcrypt20-32bit +libgdbm6-32bit +libgdbm_compat4-32bit +libgmp10-32bit +libgnutls30-32bit +libgpg-error0-32bit +libhogweed4-32bit +libidn2-0-32bit +libjansson4-32bit +libkeyutils1-32bit +libldap-2_4-2-32bit +libldb1-32bit +liblz4-1-32bit +liblzma5-32bit +libndr0-32bit +libndr-krb5pac0-32bit +libndr-nbt0-32bit +libndr-standard0-32bit +libnetapi0-32bit +libnettle6-32bit +libnsl2-32bit +libopenssl1_1-32bit +libp11-kit0-32bit +libpcre1-32bit +libpopt0-32bit +libsamba-credentials0-32bit +libsamba-errors0-32bit +libsamba-hostconfig0-32bit +libsamba-passdb0-32bit +libsamba-util0-32bit +libsamdb0-32bit +libsasl2-3-32bit +libselinux1-32bit +libsmbconf0-32bit +libsmbldap2-32bit +libstdc++6-32bit +libsystemd0-32bit +libtalloc2-32bit +libtasn1-6-32bit +libtdb1-32bit +libtevent0-32bit +libtevent-util0-32bit +libtirpc3-32bit +libunistring2-32bit +libverto1-32bit +libwbclient0-32bit +libz1-32bit +pam-32bit +perl-32bit +samba-client-32bit +samba-libs-32bit +samba-winbind-32bit +systemd-32bit -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c18
--- Comment #18 from Benjamin Zeller
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c19
--- Comment #19 from Benjamin Zeller
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626#c20
--- Comment #20 from Benjamin Zeller
Why is the autoinst list not an issue? libsolv will not uninstall packages that are not part of the autoinst list (as it thinks they are user installed).
You are right, lets see if the testcases help -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1130626
Dead Mozay
participants (1)
-
bugzilla_noreply@novell.com