FS#13932 - Problem with package update that replaces directory with file
Attached to Project:
Pacman
Opened by Damjan Georgievski (damjan) - Monday, 23 March 2009, 18:36 GMT
Last edited by Xavier (shining) - Tuesday, 21 July 2009, 06:56 GMT
Opened by Damjan Georgievski (damjan) - Monday, 23 March 2009, 18:36 GMT
Last edited by Xavier (shining) - Tuesday, 21 July 2009, 06:56 GMT
|
Details
Upgrading a package that replaced a directory with a file
fails.
To reproduce you can create a package with the attached PKGBUILD, install it, then upgrade it with the package created from the attached PKGBUILD.new The upgrade will fail since pacman doesn't understand that the directory created by the first package will be removed when that package is removed. |
This task depends upon
Closed by Xavier (shining)
Tuesday, 21 July 2009, 06:56 GMT
Reason for closing: Fixed
Additional comments about closing: fixed by commit bfd6817112b34b552e9139bdc582d048bcba38b9 (pactest is fileconflict004)
Tuesday, 21 July 2009, 06:56 GMT
Reason for closing: Fixed
Additional comments about closing: fixed by commit bfd6817112b34b552e9139bdc582d048bcba38b9 (pactest is fileconflict004)
Aaron mentioned on the ML that this replacement could only take place if the directory in question is empty of all files, including those both managed and not managed by the package manager.