| Summary: | file conflict between perl-Digest-SHA-5.610.0-1.mga1.i586 and perl-Digest-SHA-PurePerl-5.480.0-1mdv2010.1 breaks upgrading from 2010.1 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Dave Hodgins <davidwhodgins> |
| Component: | Installer | Assignee: | Jerome Quelin <jquelin> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | marcello.anni, thierry.vignaud |
| Version: | Cauldron | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | perl-Digest-SHA-5.610.0-1.mga1.i586 | CVE: | |
| Status comment: | |||
| Attachments: | install.log from upgrade of Mandriva 2010.2 + backports i686 system | ||
|
Description
Dave Hodgins
2011-04-01 04:25:09 CEST
Please attach your install logs (/root/drakx/) Keywords:
(none) =>
NEEDINFO Created attachment 185 [details]
install.log from upgrade of Mandriva 2010.2 + backports i686 system
Looking through the install log, there are a lot more conflicts than just
the devel conflicts I noticed on the screen, during the install.
After reviewing the install.log, I restored the Mandriva system, and then uninstalled perl-Digest-SHA-PurePerl, and ran the install/upgrade again. No installation transactions failed, so all of the problems were due to the first installation transaction failing, due to file /usr/bin/shasum from install of perl-Digest-SHA-5.610.0-1.mga1.i586 conflicts with file from package perl-Digest-SHA-PurePerl-5.480.0-1mdv2010.1.noarch Source RPM:
(none) =>
perl-Digest-SHA-5.610.0-1.mga1.i586
Ahmad Samir
2011-04-02 05:13:58 CEST
Keywords:
NEEDINFO =>
Triaged This is the infamous urpmi-cascading-failure bug, it fails to upgrade one package, and the whole transaction fails (transactions are split in 8-package groups). this has been fixed in new packages, with pure-perl /usr/bin/shasum renamed to /usr/bin/shasum.pl however, urpmi doesn't upgrade perl-Digest-SHA and perl-Digest-SHA-PurePerl in the same transactions, creating a file conflict... this is more a urpmi bug i'd say. unless there's a way to mark 2 packages to be upgraded in the same transaction. No this is not an urpmi bug but a packaging issue. In order for urpmi to put these packages in the same transaction, you've to provide hints to it. urpmi cannot devine for you. It's well documented that in such case, you've to make _both_ packages conflicts with the previous version of the another one. That will force urpmi to put these two packages in the same transaction. sorry, but i wasn't aware of that. so, what should i add in spec file? in perl-Digest-SHA.spec: (assuming we have %mkrel 2) Conflicts: perl-Digest-SHA-PurePerl <= 5.610.0-1.mga in perl-Digest-SHA-PurePerl.spec: (assuming we have %mkrel 2) Conflicts: perl-Digest-SHA <= 5.610.0-1.mga but this doesn't work when trying to install the resulting rpm: it should be conflicting, yet it installs fine. You need to put "Conflicts: perl-foobar < working_version-working_release" (plus epoch if hose packages use one) thanks - fixed in 5.610.0-2.mga1 Status:
NEW =>
RESOLVED maybe i had a similar issue with beta1. if i try once again to install there is someone who can follow me to investigate the issue? thanks Cheers, Marcello CC:
(none) =>
marcello.anni sure, report here if the update isn't smooth. (In reply to comment #10) > maybe i had a similar issue with beta1. if i try once again to install there is > someone who can follow me to investigate the issue? thanks > > > Cheers, > Marcello Without the logs (/root/drakx/report.bug.gz), no one can say. right now i need a working system. i will try with beta 2 and let you know if i have similar issues or not (and if yes, i'll attach report.bug.gz) thank you cheers, Marcello |