Mailinglist Archive: opensuse-bugs (6221 mails)

< Previous Next >
[Bug 1087723] `zypper patch` fails with error message that package is not installed while it is
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 13 Apr 2018 14:01:02 +0000
  • Message-id: <>

Michael Andres <ma@xxxxxxxx> changed:

What |Removed |Added
Flags| |needinfo?(mls@xxxxxxxx)

--- Comment #8 from Michael Andres <ma@xxxxxxxx> ---
@mls see ~ma/Export/bsc1087723:

In @System, beside the solv file:


Content of the rpmdb and the solv file formated 'rpmdbid n v-r a' and sorted by
name. (side-by-side diff reveals the interesting parts).


Excerpt of the solv.index listing all packages which claim to be installed in
multiple versions.

E.g. for enlightenment-theme-openSUSE:
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.

$ rpm -q enlightenment-theme-openSUSE --dbpath
package enlightenment-theme-openSUSE is not installed

$ rpm -qa enlightenment-theme-openSUSE --dbpath

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.
< Previous Next >