[Bug 1087723] New: `zypper patch` fails with error message that package is not installed while it is
http://bugzilla.opensuse.org/show_bug.cgi?id=1087723 Bug ID: 1087723 Summary: `zypper patch` fails with error message that package is not installed while it is Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: okurz@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 765649 --> http://bugzilla.opensuse.org/attachment.cgi?id=765649&action=edit zypper.log of the session where zypper patch failed, reproducible with comparable content ## Observation Trying to call `zypper patch` or `zypper -n patch -l --upgrade` on an openSUSE Leap 42.3 installation where `zypper dup` actually reports no updates available yields error messages with "RPM failed: error: package enlightenment-theme-openSUSE-20170714-1.1.noarch is not installed" or other packages, e.g. "apparmor-docs". ## Further details See zypper.log attached -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1087723
http://bugzilla.opensuse.org/show_bug.cgi?id=1087723#c1
Michael Andres
http://bugzilla.opensuse.org/show_bug.cgi?id=1087723
Michael Andres
http://bugzilla.opensuse.org/show_bug.cgi?id=1087723
http://bugzilla.opensuse.org/show_bug.cgi?id=1087723#c7
Michael Andres
http://bugzilla.opensuse.org/show_bug.cgi?id=1087723
http://bugzilla.opensuse.org/show_bug.cgi?id=1087723#c8
Michael Andres
rpmdb.index: 7896 enlightenment-theme-openSUSE 20170726-3.1 noarch rpmdb.index: 7925 enlightenment-theme-openSUSE 20170726-3.1 noarch rpmdb.index: 8777 enlightenment-theme-openSUSE 20170726-3.1 noarch
solv.index: 1568 enlightenment-theme-openSUSE 20170714-1.1 noarch solv.index: 7925 enlightenment-theme-openSUSE 20170726-3.1 noarch solv.index: 8777 enlightenment-theme-openSUSE 20170726-3.1 noarch
Other packages I checked show similar symptom. The rpmdb lists the same (new) version for all entries. the solv file shows the same entries except for one, which lists the old version and a different rpmdbid. Also:
$ rpm -q enlightenment-theme-openSUSE --dbpath /suse/ma/Export/bsc1087723/var/lib/rpm package enlightenment-theme-openSUSE is not installed
$ rpm -qa enlightenment-theme-openSUSE --dbpath /suse/ma/Export/bsc1087723/var/lib/rpm enlightenment-theme-openSUSE-20170726-3.1.noarch enlightenment-theme-openSUSE-20170726-3.1.noarch enlightenment-theme-openSUSE-20170726-3.1.noarch
So the database index is broken. But it does not explain me why rpmdb and solv file are out of sync... Maybe there's something we can enhance. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com