You are not logged in.
Hi,
I found it that some symlinks in my disk are generated by specific package, and removed along with the package when using pacman, but not recognized by pacman -Qo.
For example:
# pacman -S community/xplc
...
# file /usr/lib/libxplc.so.0.3.13-unstable
/usr/lib/libxplc.so.0.3.13-unstable: symbolic link to `libxplc.so.0.3.13'
# pacman -Qo /usr/lib/libxplc.so.0.3.13-unstable
error: No package owns /usr/lib/libxplc.so.0.3.13-unstable
# pacman -R xplc
...
# ls /usr/lib/libxplc.so.0.3.13-unstable
ls: cannot access /usr/lib/libxplc.so.0.3.13-unstable: No such file or directoryI tried download the package source from ABS and makepkg myself, but no pkg/usr/lib/libxplc.so.0.3.13-unstable found in the build directory.
I must be missing something, could someone point it out? Thanks a lot.
Last edited by felixonmars (2012-08-30 04:01:17)
PGP key: 30D7CB92
Key fingerprint: B597 1F2C 5C10 A9A0 8C60 030F 786C 63F3 30D7 CB92
Offline
Probably the symlink is created and removed with the install script and not as part of the package file structure.
Edit: Not true in this case...
Last edited by progandy (2012-08-30 03:26:32)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Offline
If pacman didn't install it as part of a package, it isn't going to track it. It's as simple as that. There's no general problems with symlinks being tracked.
Thanks for the explanation, but may I know where does the -unstable file come?
I've tried strace -f -eopen, but it shows that file was not opened during installation of xplc, but did exist after then.
Last edited by felixonmars (2012-08-30 03:39:36)
PGP key: 30D7CB92
Key fingerprint: B597 1F2C 5C10 A9A0 8C60 030F 786C 63F3 30D7 CB92
Offline
I've tried strace -f -eopen, but it shows that file was not opened during installation of xplc, but did exist after then.
You traced the wrong system call:
sudo strace -f -esymlink pacman -S xplc| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
felixonmars wrote:I've tried strace -f -eopen, but it shows that file was not opened during installation of xplc, but did exist after then.
You traced the wrong system call:
sudo strace -f -esymlink pacman -S xplc
Oops, thanks a lot.
I finally know that it is ldconfig which creates the symlink, by using:
# strace -f -e trace=file,process pacman -S xplcPGP key: 30D7CB92
Key fingerprint: B597 1F2C 5C10 A9A0 8C60 030F 786C 63F3 30D7 CB92
Offline