FS#15609 - conflict when a directory is replaced by a file of the same name

Attached to Project: Pacman
Opened by Jens Pranaitis (jensp) - Tuesday, 21 July 2009, 00:25 GMT
Last edited by Allan McRae (Allan) - Tuesday, 21 July 2009, 01:42 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version 3.2.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Summary and Info:
When a package ships a directory /foo/ and a newer version of the same package ships file /foo pacman fails with a conflict. It would be nice to have pacman replace the directory.

Steps to Reproduce:
Install http://chaox.net/~jens/aufs2-utils-git-20090714-1-i686.pkg.tar.gz
Then upgrade with http://chaox.net/~jens/aufs2-utils-git-20090720-1-i686.pkg.tar.gz

You will get the following error message:

(1/1) checking for file conflicts [####################################################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
aufs2-utils-git: /etc/default/aufs exists in filesystem
Errors occurred, no packages were upgraded.
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 21 July 2009, 01:42 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#13932 

Loading...