Red Hat Bugzilla – Bug 110180
Packaging error - perl-DB_File, perl-CGI, perl-CPAN not obsoleted.
Last modified: 2007-11-30 17:10:33 EST
Description of problem:
Perl 5.8.0 had several modules packaged in separate RPMS: DB_File.pm
packaged separately in its own RPM, CGI.pm packaged separately in its
own RPM, ditto for CPAN.pm. Perl 5.8.1 installs them in the main RPM.
Upgrading 5.8.0 to FC1 leaves old modules lying around, for no good
"Obsoletes: perl-DB_File, perl-CGI, perl-CPAN" is needed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install RH9 with perl 5.8.0
2. Upgrade to FC 1
A bunch of stuff gets left over in /usr/lib/perl5/5.8.0
This results in some extra baggage being inserted by the installer:
compat-db-4.0 (to satisfy the dependency in the obsolete DB_File.pm)...
Actually they are obsoleted, but incorrectly. perl obsoletes
perl-CGI <= 2:2.81-88
perl-CPAN <= 2:1.61-88
perl-DB_File <= 2:1.804-88
Unfortunately a well patched RHL 9 box will have
perl-CGI = 2:2.81-88.3
perl-CPAN = 2:1.61-88.3
perl-DB_File = 2:1.804-88.3
which aren't obsoleted by the perl spec file.
Probably perl should obsolete
perl-CGI < 2:2.81-89
etc. or similar to allow for this and future RHL 9 patches.
This seems to be fixed by perl-5.8.3-16.