Bug 196541

Summary: rrdtool-perl-1.2.13-3.fc4 deinstalled by update (perl-rrdtool)
Product: [Fedora] Fedora Reporter: Bernhard Weisshuhn <bkw>
Component: rrdtoolAssignee: Jarod Wilson <jarod>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: medium    
Version: 4CC: extras-qa, marius.hjelle
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: 2006-06-24 21:27:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bernhard Weisshuhn 2006-06-24 09:02:47 UTC
The newly renamed rrdtool-prtl provides the old perl-rrdtool.
Yet somehow both "yum update" and "apt-get dist-upgrade" will uninstall it in
the next update because of a missing dependency for perl-rrdtool-1.2.13-2.fc4.

I could not find a direct dependency, my guess is that rrdtool-perl obsoletes
perl-rrdtool <= 1.2.13-3 (as oposed to only '<') and thus obsoletes its own provide.

Comment 1 Bernhard Weisshuhn 2006-06-24 09:04:42 UTC
Please excuse my mistyped 'perl' as 'prtl' and other typos, need coffee.

Comment 2 Jarod Wilson 2006-06-24 21:27:28 UTC
Close on the dep fun, it was actually that both perl-rrdtool and rrdtool-perl
had 'Obsoletes: <the other one> <= %{version}', so the obsolete each other in a
vicious circle if they're both in the repo. The newer packages (rrdtool-perl)
needs to be changed to 'Obsoletes: perl-rrdtool < %{version}-%{release}. I'll
fix that shortly, though the problem should be gone anyway, as the *-rrdtool
packages should have been removed from the repo by now.

Comment 3 Jarod Wilson 2006-06-24 21:32:32 UTC
*** Bug 196543 has been marked as a duplicate of this bug. ***

Comment 4 Jarod Wilson 2006-06-24 21:33:48 UTC
Hrm, actually, to fully fix it, it would have to be changed in the *-rrdtool
packages too. My changing the newer packages wouldn't make a difference if the
old ones were still in the repo, as they'd still try to obsolete the newer ones.
Yanking the old ones from the repo should be the ticket, and I'll update the
packages just the same, so that if sometime down the line the name gets flipped
again, this can't happen. :)

Comment 5 Bernhard Weisshuhn 2006-06-26 09:33:04 UTC
With the old packages gone, the install survives an update now. Thanks!