Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#15675 - pacman can not determine ownership of dangling symlinks

Attached to Project: Pacman
Opened by Allan McRae (Allan) - Saturday, 25 July 2009, 02:57 GMT
Last edited by Allan McRae (Allan) - Sunday, 26 July 2009, 02:40 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To Xavier (shining)
Architecture All
Severity Low
Priority Normal
Reported Version 3.2.2
Due in Version 3.3.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Proof by example:

> ls -l /usr/bin/vpe
lrwxrwxrwx 1 root root 40 2009-06-21 10:26 /usr/bin/vpe -> /usr/share/texmf-dist/scripts/vpe/vpe.pl

> ls -l /usr/share/texmf-dist/scripts/vpe/vpe.pl
ls: cannot access /usr/share/texmf-dist/scripts/vpe/vpe.pl: No such file or directory

> pacman -Qo /usr/bin/vpe
error: failed to read file '/usr/bin/vpe': No such file or directory

> grep -R "usr/bin/vpe" /var/lib/pacman/local/
/var/lib/pacman/local/texlive-bin-2008-5/files:usr/bin/vpe


Note that non-dangling symlinks are handled correctly:
e.g
> ls -l /usr/bin/vi
lrwxrwxrwx 1 root root 12 2009-07-24 10:50 /usr/bin/vi -> /usr/bin/vim

> pacman -Qo /usr/bin/vi
error: No package owns /usr/bin/vi

> pacman -Qo /usr/bin/vim
/usr/bin/vim is owned by vim 7.2.234-1
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 26 July 2009, 02:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  Git commit 6fa5f207
Comment by Xavier (shining) - Saturday, 25 July 2009, 18:01 GMT
This seems easy to fix
Comment by Dan McGee (toofishes) - Saturday, 25 July 2009, 22:25 GMT
Yeah that was my initial thought to fix this as well, seems like a no brainer.

Loading...