FS#11484 - libtasn1 1.5-1 shouldn't include /usr/share/info/dir
Attached to Project:
Arch Linux
Opened by Thayer Williams (thayer) - Sunday, 14 September 2008, 21:10 GMT
Last edited by Jan de Groot (JGC) - Monday, 15 September 2008, 17:03 GMT
Opened by Thayer Williams (thayer) - Sunday, 14 September 2008, 21:10 GMT
Last edited by Jan de Groot (JGC) - Monday, 15 September 2008, 17:03 GMT
|
Details
Description:
libtasn1 1.5-1 includes a 'dir' file in the package, creating a file conflict upon installation. A sample package fix can be found in SVN for the 'indent' package. Steps to reproduce: pacman -Syu |
This task depends upon
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
libtasn1: /usr/share/info/dir exists in filesystem
#pacman -Su
looking for inter-conflicts...
Targets (3): git-1.6.0.2-1 [4.06 MB] libtasn1-1.5-1 [0.14 MB]
texlive-core-2008.10548-1 [53.70 MB]
Total Download Size: 0.00 MB
Total Installed Size: 155.82 MB
Proceed with installation? [Y/n]
checking package integrity...
(3/3) checking for file conflicts [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
libtasn1: /usr/share/info/dir exists in filesystem
Errors occurred, no packages were upgraded.
#pacman -Qo /usr/share/info/dir
error: No package owns /usr/share/info/dir
# wc -l dir.old /usr/share/info/dir
1727 dir.old
31 /usr/share/info/dir
1758 total
because this will going to happen again and again
This file is built and extended with the install-info command, which can be run from scriptlets.
So the handling of this file is done and needs to be done outside of pacman control, and no packages should ever own this file, so makepkg could indeed always remove that file when creating a package. It would just remove the file from the packages, not the one on your filesystem ...
Now, why the hell does make install create this file, this is very annoying.