Bug 1766126

Summary: libsolv assumes rpmdb is in Berkeley DB format
Product: [Fedora] Fedora Reporter: Panu Matilainen <pmatilai>
Component: libsolvAssignee: Igor Raits <igor.raits>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmach, igor.raits, jmracek, jrohel, mcermak, pkratoch, rpm-software-management
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libsolv-0.7.8-1.fc30 libsolv-0.7.8-1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-17 01:13:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1766120    

Description Panu Matilainen 2019-10-28 11:14:02 UTC
As of libsolv 0.7.7 at least, libsolv assumes that the rpmdb has a file named Packages in /var/lib/rpm, which is not true with other backends. Upstream has a workaround (see ticket https://github.com/openSUSE/libsolv/issues/354), this is mainly for tracking purposes on Fedora.

Comment 1 Panu Matilainen 2019-10-29 10:06:09 UTC
For the record, with these commits libsolv 0.7.7 appears functional with alternative backends for testing purposes at least:
https://github.com/openSUSE/libsolv/commit/94df5d6bf2eec3fc555550307342e250e2b842c6
https://github.com/openSUSE/libsolv/commit/ea037722b0f2a1afc8416e08b36fd498a8bb14c4

Comment 2 Fedora Update System 2019-11-12 12:57:44 UTC
FEDORA-2019-0735fed56c has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0735fed56c

Comment 3 Fedora Update System 2019-11-12 12:57:44 UTC
FEDORA-2019-b9a002c8c9 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b9a002c8c9

Comment 4 Fedora Update System 2019-11-13 10:46:52 UTC
libsolv-0.7.8-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-b9a002c8c9

Comment 5 Fedora Update System 2019-11-13 10:52:37 UTC
libsolv-0.7.8-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0735fed56c

Comment 6 Fedora Update System 2019-11-17 01:13:36 UTC
libsolv-0.7.8-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2019-11-17 01:31:12 UTC
libsolv-0.7.8-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.