Bug ID 1228647
Summary RpmDb issues after zypper source-install with single_rpmtrans backend
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component libzypp
Assignee zypp-maintainers@suse.de
Reporter ma@suse.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

Created attachment 876407 [details]
RPM debug output from single_rpmtrans si

The issue occurs only if the single_rpmtrans backend drives the installation of
a source.rpm.(seen with rpm-4.14.3 on Leap-15.4; rpm-4.19.1.1 on TW)

After the install (at least) the bin-packages fileslist is replaced by the one
of the .src.rpm.
> hobbes:~ (0)# rpm -qa rpm
> rpm-4.14.3-150400.59.3.1.x86_64
> hobbes:~ (0)# rpm -ql rpm | head -n 1
> /bin/rpm
> 
> hobbes:~ (0)# zypper -n si rpm
> Backend:  single_rpmtrans
> (1/1) Installing: rpm-4.14.3-150400.59.3.1.src ...........................[done]
> 
> hobbes:~ (0)# rpm -qa rpm
> rpm-4.14.3-150400.59.3.1.x86_64
> hobbes:~ (0)# rpm -ql rpm | head -n 1
> /usr/src/packages/SOURCES/RPM-HOWTO.tar.bz2

Not fixed by a rebuilddb:
> hobbes:~ (0)# rpm --rebuilddb
> hobbes:~ (0)# rpm -qa rpm
> rpm-4.14.3-150400.59.3.1.x86_64
> hobbes:~ (0)# rpm -ql rpm | head -n 1
> /usr/src/packages/SOURCES/RPM-HOWTO.tar.bz2


A reinstall of the bin-package is required to fix it.


You are receiving this mail because: