I tried using a dvd install to upgrade an existing 2010.2 Mandriva installation using the alpha2 iso. During the install, 75 packages failed to install, due to the Mandriva install having many devel packages installed, where the mageia install iso doesn't have the devel packages. urpmi blocks the install of the package, when the package it's replacing is marked as required by the devel package. In my opinion, devel packages shouldn't require the non-devel packages, but they do. I think that the installer has to detect this condition, and either automatically remove the devel packages, or use the --nodeps option, or prompt the user as to which option should be used. After the install, without those 75 packages, drakrpm-edit-media still picked up Mandriva mirrors when adding complete media list. Reproducible: Steps to Reproduce:
Please attach your install logs (/root/drakx/)
Keywords: (none) => NEEDINFOCC: (none) => thierry.vignaud
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
Keywords: NEEDINFO => TriagedAssignee: bugsquad => jquelinSummary: devel packages block upgrade of existing Mandriva installation. => 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
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 => RESOLVEDResolution: (none) => FIXED
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