| Summary: | urpmi --replacepkgs foo.rpm fails with conflicts | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Barry Jackson <zen25000> |
| Component: | RPM Packages | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | mageia, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | MGA2TOO | ||
| Source RPM: | urpmi-6.48-1.mga2 | CVE: | |
| Status comment: | |||
|
Manuel Hiebel
2012-04-04 00:32:33 CEST
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 =>
RESOLVED (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 =>
UNCONFIRMED
Marja Van Waes
2012-05-09 15:12:25 CEST
Keywords:
NEEDINFO =>
(none) 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 Keywords:
(none) =>
NEEDINFO @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?
Sander Lepik
2012-05-28 09:53:33 CEST
Keywords:
NEEDINFO =>
(none)
Marja Van Waes
2012-05-28 10:07:54 CEST
Whiteboard:
(none) =>
MGA2TOO This bug is invalid. --replacepkgs won't work if the package has been changed w/o bumping the release Status:
UNCONFIRMED =>
RESOLVED 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. |
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