Frugalware

Please read the http://frugalware.org/docs/bugs page if you are new to bugreporting!
Tasklist

FS#2504 - pacman-g2: fileconflict vs replaces

Attached to Project: Frugalware
Opened by CSÉCSY László (Boobaa) - Thursday, 18 October 2007, 15:43 GMT+2
Task Type Bug Report
Category Base system
Status Assigned
Assigned To Miklos Vajna (vmiklos)
Operating System i686
Severity Medium
Priority Normal
Reported Version -current
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

If I have both a replaces and a fileconflict in the same run of pacman-g2 -Syu, the replaces pkg does not get installed.

My scenario: pacman-g2 -Syu on a remote box, upgrading 0.6->0.7, following the docs (http://frugalware.org/docs/stable/upgrade). After the second reboot I couldn't reach the box, since there was no /bin/mount. The reason: util-linux-ng haven't been installed (which has replaced util-linux, which owned this file), since I had a fileconflict as well.

My 2 cents: if pacman-g2 sees both fileconflict and replaces in the same run, then (try to) explicitly install (again) the new stuff (in my example above: util-linux-ng) after anything. It is quite horrible not being able to do anything with the box without an install CD after an upgrade...
This task depends upon

Comment by Miklos Vajna (vmiklos) - Thursday, 18 October 2007, 15:56 GMT+2
right. restoring the old pkgs is almost never possible but we can try to just install the replacement pkgs. in most cases that would succeed and would solve the problem
Comment by Miklos Vajna (vmiklos) - Thursday, 18 October 2007, 16:56 GMT+2
here is a summary of a recent IRC discussion:

1) pacman should print a warning in such cases: 'Warning: pacman-g2 can't install replacements to removed packages. You should run pacman-g2 -Su again to install the replacements.'

2) pacman should really install those packages in next -Syu :)
Comment by crazy (bugs) - Thursday, 18 October 2007, 17:01 GMT+2
Forget what I've said first :)

Loading...