FS#75668 - pacman make a wrong symbol link when installing or upgrading a package
Attached to Project:
Pacman
Opened by VirusCamp (viruscamp) - Monday, 22 August 2022, 12:30 GMT
Last edited by Allan McRae (Allan) - Monday, 22 August 2022, 12:51 GMT
Opened by VirusCamp (viruscamp) - Monday, 22 August 2022, 12:30 GMT
Last edited by Allan McRae (Allan) - Monday, 22 August 2022, 12:51 GMT
|
Details
Summary and Info:
pacman make a wrong symbol link when installing or upgrading a package Steps to Reproduce: ``` [user1@arch-vm ~]$ ls -l /usr/lib/libfreetype* lrwxrwxrwx 1 root root 16 May 1 17:04 /usr/lib/libfreetype.so -> libfreetype.so.6 lrwxrwxrwx 1 root root 21 May 1 17:04 /usr/lib/libfreetype.so.6 -> libfreetype.so.6.18.3 -rwxr-xr-x 1 root root 841592 May 1 17:04 /usr/lib/libfreetype.so.6.18.3 [user1@arch-vm ~]$ sudo cp /usr/lib/libfreetype.so.6.18.3 /usr/lib/libfreetype.so.17.1.arch [user1@arch-vm ~]$ sudo pacman -S freetype2 [user1@arch-vm ~]$ ls -l /usr/lib/libfreetype* lrwxrwxrwx 1 root root 16 May 1 17:04 /usr/lib/libfreetype.so -> libfreetype.so.6 -rwxr-xr-x 1 root root 841592 Aug 9 04:07 /usr/lib/libfreetype.so.17.1.arch lrwxrwxrwx 1 root root 24 Aug 9 04:08 /usr/lib/libfreetype.so.6 -> libfreetype.so.17.1.arch -rwxr-xr-x 1 root root 841592 May 1 17:04 /usr/lib/libfreetype.so.6.18.3 ``` |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 22 August 2022, 12:51 GMT
Reason for closing: Not a bug
Additional comments about closing: Expected behaviour of ldconfig.
Monday, 22 August 2022, 12:51 GMT
Reason for closing: Not a bug
Additional comments about closing: Expected behaviour of ldconfig.
```
[user1@arch-vm ~]$ sudo rm /usr/lib/libfreetype.so.17.1.arch
[user1@arch-vm ~]$ sudo pacman -S freetype2
[user1@arch-vm ~]$ ls -l /usr/lib/libfreetype*
lrwxrwxrwx 1 root root 16 May 1 17:04 /usr/lib/libfreetype.so -> libfreetype.so.6
lrwxrwxrwx 1 root root 21 May 1 17:04 /usr/lib/libfreetype.so.6 -> libfreetype.so.6.18.3
-rwxr-xr-x 1 root root 841592 May 1 17:04 /usr/lib/libfreetype.so.6.18.3
```