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.
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.
FS#5503 - pacman runs ldconfig too many times
Attached to Project:
Pacman
Opened by Roberto Braga (Bobonov) - Monday, 02 October 2006, 10:47 GMT
Last edited by Roman Kyrylych (Romashka) - Thursday, 09 November 2006, 00:32 GMT
Opened by Roberto Braga (Bobonov) - Monday, 02 October 2006, 10:47 GMT
Last edited by Roman Kyrylych (Romashka) - Thursday, 09 November 2006, 00:32 GMT
|
DetailsBasically pacman runs ldconfig each time a lib is upgraded.
It is sufficent to run it once at the end, eventually we need to run it when a lib that is needed during the upgrade is updated, like lib sh depends upon. It can be achived by adding like a flag to the post install stuff. Instead of adding /usr/sbin/ldconfig -r to the post install stuff, just a ldconfig= flag can be good. Like: ldconfig=0 ---> no need to run ldconfig=1 ---> run immediately after this package is upgraded ldconfig=2 ---> run at the end of the upgrade Pacman should also keep track if it runs ldconfig, I mean if I have 10 pkg with ldconfig=2 but before the end I have a package that has ldconfig=1 therefore I run it, there is no need to run it again at the end. This will speedup the upgrade especially on older system without RAM. |
This task depends upon
Closed by Aaron Griffin (phrakture)
Monday, 12 February 2007, 09:14 GMT
Reason for closing: Fixed
Additional comments about closing: pacman 3 (CVS) no longer behaves this way with ldconfig, and we have more ideal fixes planned for the future
Monday, 12 February 2007, 09:14 GMT
Reason for closing: Fixed
Additional comments about closing: pacman 3 (CVS) no longer behaves this way with ldconfig, and we have more ideal fixes planned for the future
And yesterday most packages were gnome one, so no core lib.
Probably most people doesen't know that pacman call ldconfig at the end anyway and keep on putting it in the post_install script....
http://bugs.archlinux.org/task/3180