Bug 823027

Summary: rpm prevents installation of db 5.x utilities
Product: [Fedora] Fedora Reporter: Jeff Garzik <jgarzik>
Component: rpmAssignee: Fedora Packaging Toolset Team <packaging-team>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 16CC: ffesti, jnovy, packaging-team, peterm, pknirsch, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-13 20:51:41 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:

Description Jeff Garzik 2012-05-18 20:08:00 UTC
Description of problem:
The "rpm" package requires "db4-utils" pkg.  db4-utils conflicts with libdb-utils.

Thus, rpm -- required for all Fedora installations -- prevents installation and use of db 5.x utilities.

Version-Release number of selected component (if applicable):
rpm-4.9.1.3-1.fc16.x86_64

How reproducible:
always

Steps to Reproduce:
1. Install Fedora.
2. Attempt to remove db4-utils, or, install libdb-utils.
  
Actual results:
[jgarzik@bd data]$ sudo rpm -e db4-utils
error: Failed dependencies:
	db4-utils is needed by (installed) rpm-4.9.1.3-1.fc16.x86_64


Expected results:
Able to install and use libdb-utils.

Additional info:

Comment 1 Panu Matilainen 2012-05-23 14:29:26 UTC
Yes, well known. Rpm requires what it requires for a reason, the fundamental issue is the lack of proper transition from db4 -> libdb during the rawhide cycle that introduced libdb.

For rpm at least, this has been fixed in F >= 17 but there's no good way to address it in the already released versions: there are several packages (including rpm) depending on db4-utils that would break if the /usr/bin/db_foo utilities just changed to libdb versions. Technically resolvable by rebuilding all the packages against libdb and releasing a big update covering all the related packages, fo but changing the underlying BDB version is not necessarily (depends a bit on how the software uses BDB) that can be sanely/safely done in an errata-update. Rpm could switch to internal copy of the current BDB 4.x version that would help a bit, but doesn't resolve the entire issue.

Comment 2 Jeff Garzik 2012-05-23 16:06:27 UTC
As rpm and these other utilities now require a not-current version of db utils, what about renaming all those utils to db48_stat, db48_recover, db48_tuner, etc.?

This was done in the past, IIRC, and it does usefully indicate that $PACKAGE requires a specific version of utils, and cannot make do with the current version.

Comment 3 Panu Matilainen 2012-05-24 06:07:56 UTC
Sure... but again that's something that should've been done in rawhide when libdb was introduced, changing "common" utility names in a released distro is rude. Fedora might not have all that many bits and pieces relying on those utilities but who knows about 3rd party repositories and other software.

Comment 4 Fedora End Of Life 2013-01-16 16:49:29 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Fedora End Of Life 2013-02-13 20:51:49 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.