Red Hat Bugzilla – Bug 433836
perl RPM needs Provides/Obsoletes for perl-File-Temp
Last modified: 2008-03-07 14:52:18 EST
perl now includes File::Temp as part of the standard distribution. Before that,
it was commonly used, so many 3rd-party packages required File::Temp, and good
little RPM-lovers distributed perl-File-Temp.
This led to common RPM's, such as perl-MIME-Tools, requiring perl(File::Temp).
Now that File::Temp is part of perl, yum will bail with conflicts since the
files conflict, e.g.:
Error: Transaction Check Error:
file /usr/share/man/man3/File::Temp.3pm.gz from install of
perl-5.8.8-32.fc8.i386 conflicts with file from package
which is as it should be.
To solve this cleanly, perl needs to declare that it now has File::Temp. I've
got a simple patch to the .spec I'll attach. Please sanity-check it.
The goal here is to get yum working again for folks who use things like MailScanner.
Created attachment 295542 [details]
perl.spec patch for perl-File-Temp Provides/Obsoletes
Thank you for a patch, it will be i next update into F-8.
We shall not obsolete newer packages, so I changed that to
Provides: perl-File-Temp = 0.16
Obsoletes: perl-File-Temp < 0.16
I also commited this to rawhide, to fix the problem for Fedora 9.
Thanks for the changes and the commit, Stephan.
perl-5.8.8-35.fc8 has been submitted as an update for Fedora 8
perl-5.8.8-35.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update perl'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-2164
perl-5.8.8-36.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.