[pacman-dev] [PATCH]libalpm: fix ldconfig inside of chroot...

Marc - A. Dahlhaus [ Administration | Westermann GmbH ] mad at wol.de
Mon Aug 3 05:55:52 EDT 2009


Hello,

i found an error in pacman 3.3.0:

If you execute pacman as ordinary user (with sudo) and don't have
ldconfig in your PATH pacman can't find ldconfig...

Outputs after upgrade to 3.3.0:

$ sudo pacman -S swat
resolving dependencies...
looking for inter-conflicts...

Targets (1): swat-3.3.7-0.79.0  

Total Download Size:    0.00 MB
Total Installed Size:   15.04 MB

Proceed with installation? [Y/n] 
checking package integrity...
(1/1) checking for file conflicts  [######################] 100%
(1/1) installing swat              [######################] 100%
sh: ldconfig: command not found
error: command failed to execute correctly

Attached patch fixes this...

Signed-off-by: Marc - A. Dahlhaus <mad at wol.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldconfig-fix.patch
Type: text/x-patch
Size: 350 bytes
Desc: not available
URL: <http://www.archlinux.org/pipermail/pacman-dev/attachments/20090803/ed352691/attachment.bin>


More information about the pacman-dev mailing list