Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#23331 - pacman 3.5 conflicts with old pacman-contrib

Attached to Project: Arch Linux
Opened by Marti (intgr) - Friday, 18 March 2011, 19:40 GMT
Last edited by Eric Belanger (Snowman) - Friday, 18 March 2011, 20:42 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The older pacman-contrib package includes the file /usr/bin/pactree, which conflicts with the upgrade to the new pacman-3.5 version. Currently pacman-contrib can be removed manually, but it would be nice if pacman could update it automatically.

Additional info:
* package version(s)
pacman-contrib 3.4.2-1
pacman 3.4.3-1 -> 3.5.0-1

Steps to reproduce:

% sudo pacman -Syu
...
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y
...
checking package integrity...
(1/1) checking for file conflicts [#######################] 100%
error: failed to commit transaction (conflicting files)
pacman: /usr/bin/pactree exists in filesystem
Errors occurred, no packages were upgraded.

% pacman -Qo /usr/bin/pactree
/usr/bin/pactree is owned by pacman-contrib 3.4.2-1

% sudo pacman -Rsn pacman-contrib
...
(1/1) removing pacman-contrib [#######################] 100%

% sudo pacman -Syu

New pacman successfully installed :)
This task depends upon

Closed by  Eric Belanger (Snowman)
Friday, 18 March 2011, 20:42 GMT
Reason for closing:  Not a bug
Additional comments about closing:  enable community-testing repo
Comment by Greg (dolby) - Friday, 18 March 2011, 20:09 GMT
You should be using community-testing as well which has pacman-contrib 3.5.0-1

edit: and since you're using testing, you should probably be following the arch-dev-public mailing list as well: http://mailman.archlinux.org/pipermail/arch-dev-public/2011-March/019783.html

although upgrading to pacman-contrib 3.4.2-2 from community ought to be enough.
:)

Loading...