When re-installing a package from a local .rpm using urpmi --replacepkgs foo.rpm the install fails with conflicts reported for all files. Here is an example executed from the cauldroniurt directory containing the rpm :- [root@jackodesktop x86_64]# urpmi --replacepkgs zoneminder-1.25.0-8.mga2.x86_64.rpm installing zoneminder-1.25.0-8.mga2.x86_64.rpm Preparing... ############################################################################ Installation failed: file /etc/zm.conf from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /usr/bin/zma from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /usr/bin/zmc from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /usr/bin/zmf from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /usr/bin/zmfix from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /usr/bin/zmstreamer from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /usr/bin/zmu from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /usr/bin/zmupdate.pl from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /usr/lib/perl5/vendor_perl/5.14.2/ZoneMinder/General.pm from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /usr/lib/perl5/vendor_perl/5.14.2/ZoneMinder/Memory.pm from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /usr/share/doc/zoneminder/README.Mageia from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /usr/share/zoneminder/db/Makefile from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /var/www/cgi-bin/nph-zms from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /var/www/cgi-bin/zms from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /var/www/html/zm/skins/classic/views/event.php from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /var/www/html/zm/skins/mobile/views/event.php from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /var/www/html/zm/cambozola.jar from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /var/www/html/zm/skins/classic/views/events.php from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /var/www/html/zm/skins/classic/views/frame.php from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /var/www/html/zm/skins/mobile/views/frame.php from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /var/www/html/zm/skins/classic/views/frames.php from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /var/www/html/zm/skins/classic/views/stats.php from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /var/www/html/zm/skins/classic/views/video.php from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /var/www/html/zm/skins/mobile/views/video.php from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64 file /var/www/html/zm/skins/mobile/views/eventdetails.php from install of zoneminder-1.25.0-8.mga2.x86_64 conflicts with file from package zoneminder-1.25.0-8.mga2.x86_64
Assignee: bugsquad => thierry.vignaud
works for me
I need a working testcase
Keywords: (none) => NEEDINFO
(In reply to comment #2) > I need a working testcase OK try this:- mgarepo co cutecw cd cutecw bm -l cd SRPMS/x86_64/ su urpmi --replacepkgs cutecw-1.0-1.mga2.x86_64.rpm installing cutecw-1.0-1.mga2.x86_64.rpm Preparing... ############################################################################ Installation failed: file /usr/bin/cutecw from install of cutecw-1.0-1.mga2.x86_64 conflicts with file from package cutecw-1.0-1.mga2.x86_64 file /usr/share/applications/cutecw.desktop from install of cutecw-1.0-1.mga2.x86_64 conflicts with file from package cutecw-1.0-1.mga2.x86_64
(In reply to comment #3) > (In reply to comment #2) > > I need a working testcase > > OK try this:- > mgarepo co cutecw > cd cutecw > bm -l > cd SRPMS/x86_64/ > su > urpmi --replacepkgs cutecw-1.0-1.mga2.x86_64.rpm > > installing cutecw-1.0-1.mga2.x86_64.rpm > Preparing... > ############################################################################ > Installation failed: file /usr/bin/cutecw from install of > cutecw-1.0-1.mga2.x86_64 conflicts with file from package > cutecw-1.0-1.mga2.x86_64 > file /usr/share/applications/cutecw.desktop from install of > cutecw-1.0-1.mga2.x86_64 conflicts with file from package > cutecw-1.0-1.mga2.x86_64 Hmm... obviously install cutecw first ;)
You regenerated the package...
Status: NEW => RESOLVEDResolution: (none) => INVALID
(In reply to comment #5) > You regenerated the package... Yes - is that a problem? That was the reason for using --replacepkgs - to test the rebuild.
Status: RESOLVED => UNCONFIRMEDResolution: INVALID => (none)Ever confirmed: 1 => 0
Keywords: NEEDINFO => (none)CC: (none) => marja11
Hi, This bug was filed against cauldron, but we do not have cauldron at the moment. Please report whether this bug is still valid for Mageia 2. Thanks :) Cheers, marja
@marja It is still valid, however I'm not sure I understand tv's comment. @tv Are you saying that in this use case it is expected to fail?
Keywords: NEEDINFO => (none)CC: (none) => sander.lepik
Whiteboard: (none) => MGA2TOO
This bug is invalid. --replacepkgs won't work if the package has been changed w/o bumping the release
Status: UNCONFIRMED => RESOLVEDResolution: (none) => INVALID
BTW in your case, adding --replacefiles should do it
(In reply to comment #10) > BTW in your case, adding --replacefiles should do it Ah great - good to know - thanks.