Michael Andres changed bug 1087723
What Removed Added
Flags   needinfo?(mls@suse.com)

Comment # 8 on bug 1087723 from
@mls see ~ma/Export/bsc1087723:
  /var/lib/rpm
  /var/cache/zypp/solv/@System 


In @System, beside the solv file:

  rpmdb.index
  solv.index

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).

  multiple-entries

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.

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: