Bug 694704 - 2 perl packages need to be debugged because of conflicting files
Summary: 2 perl packages need to be debugged because of conflicting files
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 14
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-08 04:45 UTC by Keith
Modified: 2014-01-21 23:17 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-16 21:35:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 633775 0 low CLOSED perl-version twice in f14 repo 2021-02-22 00:41:40 UTC

Internal Links: 633775

Description Keith 2011-04-08 04:45:09 UTC
I tried using yum to update some Perl packages.   However, the files 
/usr/share/man/man3/version.3pm.gz   and  
/usr/share/man/man3/version::Internals.3pm.gz

were in conflict between 2 different packages. (see bottom for messages)  I got this several times.   I then tried simply deleting the files, hoping the error would go away.   It diddn't.  Please re-package 
perl-version-3:0.82-142.fc14.noarch  and perl-version-3:0.88-1.fc14.x86_64  to avoid this confilct

**********************************************************************
Output from the console follows
**********************************************************************

[root@localhost ~]# yum update perl evince avahi-autoipd libwmf libgudev1
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: perl(CGI) for package: BackupPC-3.1.0-16.fc14.x86_64
--> Processing Dependency: perl(CGI::Carp) for package: BackupPC-3.1.0-16.fc14.x86_64
--> Processing Dependency: perl(threads::shared) for package: 4:perl-5.12.3-142.fc14.x86_64
--> Processing Dependency: perl(threads::shared) >= 1.21 for package: 4:perl-5.12.3-142.fc14.x86_64
--> Processing Dependency: perl = 4:5.12.2-136.fc14 fperl-version-3:0.88-1.fc14.x86_64or package: 4:perl-libs-5.12.2-136.fc14.x86_64
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 4:perl-devel-5.12.2-136.fc14.x86_64
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 1:perl-Pod-Escapes-1.04-136.fc14.noarch
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: perl-ExtUtils-MakeMaker-6.56-136.fc14.noarch
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 1:perl-Digest-SHA-5.47-136.fc14.x86_64
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 1:perl-Module-Pluggable-3.90-136.fc14.noarch
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 1:perl-Pod-Simple-3.13-136.fc14.noarch
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 3:perl-version-0.82-136.fc14.noarch
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 1:perl-IO-Zlib-1.10-136.fc14.noarch
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: perl-CPAN-1.9402-136.fc14.noarch
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: perl-Test-Harness-3.17-136.fc14.noarch
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 1:perl-Package-Constants-0.02-136.fc14.noarch
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 1:perl-ExtUtils-ParseXS-2.21-136.fc14.noarch
---> Package perl.x86_64 4:5.12.3-142.fc14 set to be updated
--> Running transaction check
---> Package perl-CGI.noarch 0:3.51-1.fc14 set to be installed
--> Processing Dependency: perl(FCGI) for package: perl-CGI-3.51-1.fc14.noarch
---> Package perl-CPAN.noarch 0:1.9402-142.fc14 set to be updated
---> Package perl-Digest-SHA.x86_64 1:5.47-142.fc14 set to be updated
---> Package perl-ExtUtils-MakeMaker.noarch 0:6.56-142.fc14 set to be updated
---> Package perl-ExtUtils-ParseXS.noarch 1:2.2206-142.fc14 set to be updated
---> Package perl-IO-Zlib.noarch 1:1.10-142.fc14 set to be updated
---> Package perl-Module-Pluggable.noarch 1:3.90-142.fc14 set to be updated
---> Package perl-Package-Constants.noarch 1:0.02-142.fc14 set to be updated
---> Package perl-Pod-Escapes.noarch 1:1.04-142.fc14 set to be updated
---> Package perl-Pod-Simple.noarch 1:3.13-142.fc14 set to be updated
---> Package perl-Test-Harness.noarch 0:3.17-142.fc1perl-version-3:0.88-1.fc14.x86_644 set to be updated
---> Package perl-devel.x86_64 4:5.12.3-142.fc14 set to be updated
---> Package perl-libs.x86_64 4:5.12.3-142.fc14 set to be updated
---> Package perl-threads-shared.x86_64 0:1.32-142.fc14 set to be installed
---> Package perl-version.noarch 3:0.82-142.fc14 set to be updated
---> Package perl-version.x86_64 3:0.88-1.fc14 set to be updated
--> Running transaction check
---> Package perl-FCGI.x86_64 1:0.71-3.fc14 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                     Arch       Version               Repository   Size
================================================================================
Updating:
 perl                        x86_64     4:5.12.3-142.fc14     updates      11 M
Installing for dependencies:
 perl-CGI                    noarch     3.51-1.fc14           updates     201 k
 perl-FCGI                   x86_64     1:0.71-3.fc14         fedora       40 k
 perl-threads-shared         x86_64     1.32-142.fc14         updates      51 k
Updating for dependencies:
 perl-CPAN                   noarch     1.9402-142.fc14       updates     249 k
 perl-Digest-SHA             x86_64     1:5.47-142.fc14       updates      63 k
 perl-ExtUtils-MakeMaker     noarch     6.56-142.fc14         updates     292 k
 perl-ExtUtils-ParseXS       noarch     1:2.2206-142.fc14     updates      44 k
 perl-IO-Zlib                noarch     1:1.10-142.fc14       updates      31 k
 perl-Module-Pluggable       noarch     1:3.90-142.fc14       updates      38 k
 perl-Package-Constants      noarch     1:0.02-142.fc14       updates      25 k
 perl-Pod-Escapes            noarch     1:1.04-142.fc14       updates      31 k
 perl-Pod-Simple             noarch     1:3.13-142.fc14       updates     211 k
 perl-Test-Harness           noarch     3.17-142.fc14         updates     243 k
 perl-devel                  x86_64     4:5.12.3-142.fc14     updates     478 k
 perl-libs                   x86_64     4:5.12.3-142.fc14     updates     594 k
 perl-version                noarch     3:0.82-142.fc14       updates      51 k
 perl-version                x86_64     3:0.88-1.fc14         updates      67 k

Transaction Summary
================================================================================
Install       3 Package(s)
Upgrade      15 Package(s)

Total size: 14 M
Total download size: 14 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
/usr/share/man/man3/version.3pm.gz: No such file or directory
/usr/share/man/man3/version::Internals.3pm.gz: No such file or directory
delta does not match installed data
Download delta size: 4.9 M
(1/12): perl-5.12.2-136.fc14_5.12.3-142.fc14.x86_64.drpm | 4.1 MB     22:52     
(2/12): perl-CPAN-1.9402-136.fc14_1.9402-142.fc14.noarch |  95 kB     00:26     
(3/12): perl-Digest-SHA-5.47-136.fc14_5.47-142.fc14.x86_ |  33 kB     00:06     
(4/12): perl-ExtUtils-MakeMaker-6.56-136.fc14_6.56-142.f | 143 kB     00:42     
(5/12): perl-ExtUtils-ParseXS-2.21-136.fc14_2.2206-142.f |  26 kB     00:04     
(6/12): perl-IO-Zlib-1.10-136.fc14_1.10-142.fc14.noarch. |  27 kB     00:02     
(7/12): perl-Module-Pluggable-3.90-136.fc14_3.90-142.fc1 |  32 kB     00:04     
(8/12): perl-Pod-Escapes-1.04-136.fc14_1.04-142.fc14.noa |  25 kB     00:02     
(9/12): perl-Pod-Simple-3.13-136.fc14_3.13-142.fc14.noar | 107 kB     00:28     
(10/12): perl-Test-Harness-3.17-136.fc14_3.17-142.fc14.n | 157 kB     00:45     
(11/12): perl-devel-5.12.2-136.fc14_5.12.3-142.fc14.x86_ | 101 kB     00:27     
(12/12): perl-libs-5.12.2-136.fc14_5.12.3-142.fc14.x86_6 |  76 kB     00:21     
Finishing rebuild of rpms, from deltarpms
<delta rebuild>                                          |  13 MB     00:01     
Presto reduced the update size by 64% (from 13 M to 4.9 M).
Package(s) data still to download: 127 k
(1/3): perl-Package-Constants-0.02-142.fc14.noarch.rpm   |  25 kB     00:04     
(2/3): perl-threads-shared-1.32-142.fc14.x86_64.rpm      |  51 kB     00:10     
(3/3): perl-version-0.82-142.fc14.noarch.rpm             |  51 kB     00:12     
--------------------------------------------------------------------------------
Total                                           4.3 kB/s | 127 kB     00:29     
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /usr/share/man/man3/version.3pm.gz conflicts between attempted installs of perl-version-3:0.82-142.fc14.noarch and perl-version-3:0.88-1.fc14.x86_64
  file /usr/share/man/man3/version::Internals.3pm.gz conflicts between attempted installs of perl-version-3:0.82-142.fc14.noarch and perl-version-3:0.88-1.fc14.x86_64

Error Summary
-------------

Comment 1 Petr Pisar 2011-04-08 13:34:52 UTC
Updating for dependencies:
[...]
 perl-version                noarch     3:0.82-142.fc14       updates      51 k
 perl-version                x86_64     3:0.88-1.fc14         updates      67 k

This is nonsense as the packages have the same name and are not in multi-lib relation. That means one must supersede another and yum/rpm is expected to install perl-version-3:0.88-1.fc14.x86_64 and uninstall perl-version-3:0.82-142.fc14.noarch in one upgrade transaction.

Comment 2 Iain Arnell 2011-04-08 14:58:25 UTC
This really is nonsense. I suspect the "output from the console" has been "photoshopped".

Notice here that "perl-version-3:0.88-1.fc14.x86_64" simply appears out of context in the middle of a line:
> --> Processing Dependency: perl = 4:5.12.2-136.fc14
> fperl-version-3:0.88-1.fc14.x86_64or package:

And again, "perl-version-3:0.88-1.fc14.x86_64" is just dumped in the middle of another message:
> ---> Package perl-Test-Harness.noarch
> 0:3.17-142.fc1perl-version-3:0.88-1.fc14.x86_644 set to be updated

And while we're at it, when does yum ever use "n-e:v-r.a" format? (that sounds like repoquery). With yum, it's always "e:n-v-r.a" or "n.a e:v-r", isn't it?

without wishing to cast aspersions, it also seems awfully convenient that this appears right after bug #633775 sprang up again after 10 weeks with no comment.

Comment 3 Marcela Mašláňová 2011-04-08 15:08:19 UTC
I agree with you Iain. I've tested (again) update from noarch perl-version to arch version and yum can handle it. 

I suppose we can close it and don't drag more people into this.

Keith: for such "jokes" were already bugzilla accounts closed.

Comment 4 Chris 2011-05-11 16:47:47 UTC
Wow. You people really are obnoxious.  Just because you can't replicate something you consider it "a joke" or "photoshopped"?! I hope you're proud of yourselves.

I had exactly the same error today trying to "yum install 389-ds" ; it failed due to the mismatch between "perl-version.noarch" and "perl-version.x86_64".  Trying "yum update perl" also failed for the same reason.  The only way I was able to get it to work was to explicitly update perl-version, which installed the x86_64 version instead of the noarch, and also updated perl.  Then I was able to install 389-ds.

There is obviously something amiss in the packaging that yum can't determine to replace the noarch with the arch version except as a direct update.

I hope this helps someone else, even if you're not prepared to accept this as a legitimate bug.

Comment 5 Iain Arnell 2011-05-12 06:33:53 UTC
(In reply to comment #4)
> Wow. You people really are obnoxious.  

Thanks!

> Just because you can't replicate
> something you consider it "a joke" or "photoshopped"?! I hope you're proud of
> yourselves.

No. I considered it to be "photoshopped" for the reasons I gave - the output presented simply wasn't credible.
 
> I had exactly the same error today trying to "yum install 389-ds" ; it failed
> due to the mismatch between "perl-version.noarch" and "perl-version.x86_64". 
> Trying "yum update perl" also failed for the same reason.  The only way I was
> able to get it to work was to explicitly update perl-version, which installed
> the x86_64 version instead of the noarch, and also updated perl.  Then I was
> able to install 389-ds.

This was enough to suggest a likely scenario, and without being distracted by incredible evidence, I gave it a shot:

Start with a clean, minimal f14 installation with no updates.

"yum --disablerepo updates install perl-version" and you get 3:perl-version-0.82-136.fc14.noarch installed (as you would have done prior to February when 3:perl-version-0.88-1.fc14.x86_64 was released).

Then, you can run into difficulties when selectively updating/installing:

# yum update perl
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: perl(threads::shared) for package: 4:perl-5.12.3-143.fc14.x86_64
--> Processing Dependency: perl(threads::shared) >= 1.21 for package: 4:perl-5.12.3-143.fc14.x86_64
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 1:perl-Module-Pluggable-3.90-136.fc14.noarch
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 1:perl-Pod-Escapes-1.04-136.fc14.noarch
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 4:perl-libs-5.12.2-136.fc14.x86_64
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 1:perl-Pod-Simple-3.13-136.fc14.noarch
--> Processing Dependency: perl = 4:5.12.2-136.fc14 for package: 3:perl-version-0.82-136.fc14.noarch
---> Package perl.x86_64 4:5.12.3-143.fc14 set to be updated
--> Running transaction check
---> Package perl-Module-Pluggable.noarch 1:3.90-143.fc14 set to be updated
---> Package perl-Pod-Escapes.noarch 1:1.04-143.fc14 set to be updated
---> Package perl-Pod-Simple.noarch 1:3.13-143.fc14 set to be updated
---> Package perl-libs.x86_64 4:5.12.3-143.fc14 set to be updated
---> Package perl-threads-shared.x86_64 0:1.32-143.fc14 set to be installed
---> Package perl-version.noarch 3:0.82-143.fc14 set to be updated
---> Package perl-version.x86_64 3:0.88-2.fc14 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                   Arch       Version                 Repository   Size
================================================================================
Updating:
 perl                      x86_64     4:5.12.3-143.fc14       updates      11 M
Installing for dependencies:
 perl-threads-shared       x86_64     1.32-143.fc14           updates      51 k
Updating for dependencies:
 perl-Module-Pluggable     noarch     1:3.90-143.fc14         updates      38 k
 perl-Pod-Escapes          noarch     1:1.04-143.fc14         updates      31 k
 perl-Pod-Simple           noarch     1:3.13-143.fc14         updates     211 k
 perl-libs                 x86_64     4:5.12.3-143.fc14       updates     594 k
 perl-version              noarch     3:0.82-143.fc14         updates      51 k
 perl-version              x86_64     3:0.88-2.fc14           updates      67 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       7 Package(s)


As you've found, though, the workaround is simply a matter of explicitly including perl-version in any yum update, or probably even better, simply run "yum update" to update everything rather than specific individual packages.

> There is obviously something amiss in the packaging that yum can't determine to
> replace the noarch with the arch version except as a direct update.

I think the bug actually lies in yum thinking that it's okay to install both noarch and arch at the same time. And it seems to me that this has now been fixed with yum-3.2.29 in f15. At least, attempting to force the issue by running "yum install perl-version.x86_64 perl-version.noarch" now fails earlier on f15 with "Error: Protected multilib versions: 3:perl-version-0.82-157.fc15.noarch != 3:perl-version-0.88-3.fc15.x86_64"; on f14, the same command will also try to install both versions and fail later with file conflicts.

> I hope this helps someone else, even if you're not prepared to accept this as a
> legitimate bug.

There really is a bug - but I'm not sure what we can do about it. If the problem lies with yum, then even releasing an updated version of yum for f14 won't help unless you actually install it before trying to selectively update perl or install something that's going to pull in newer perl-version. (Maybe explicitly obsoleting or conflicting "perl-version < 3:0.88-2.fc14" in the arch package will help. Will try it and see).

And finally, apologies to Keith. I guess I should eat my words and accept that your misleading output was nothing more than a simple copy/paste mix up rather than a deliberate attempt to deceive.

Comment 6 Fedora End Of Life 2012-08-16 21:35:31 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached 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" (top right of this page) 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


Note You need to log in before you can comment on or make changes to this bug.