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#18861 - Execution of .INSTALL files crashes

Attached to Project: Pacman
Opened by Martin Kühne (mar77i) - Saturday, 27 March 2010, 20:23 GMT
Last edited by Allan McRae (Allan) - Friday, 15 July 2011, 04:23 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 3.3.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Summary and Info:

Getting errors from pacman -Syu:

/tmp/alpm_527Q3P/.INSTALL: 2: Syntax error: "(" unexpected
error: command failed to execute correctly

Steps to Reproduce:

# ln -s /bin/busybox /bin/sh || ln -s /bin/dash /bin/sh
# pacman -S <pkg>

these packages failed here:
glibc
binutils
gcc-libs
ppl
libcups
gcc
pcre
openssl
aspell

I can make 2 suggestions from this point: one is to insert shebangs in *.install files, leaving the choice to the packager and the other is to launch these files the exec way with /bin/bash.

install-info stuff in /usr/share/info isn't that much relevant for my system, is it?
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 15 July 2011, 04:23 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Not a pacman issue
Comment by Allan McRae (Allan) - Saturday, 27 March 2010, 23:28 GMT
My suggestion is not to change your /bin/sh symlink to a shell other than bash which is what Arch currently supports.
Comment by Gavin Bisesi (Daenyth) - Friday, 02 April 2010, 16:01 GMT
Shebangs won't work as the scripts are sourced and not run.
Comment by Andrej Gelenberg (nikel) - Saturday, 21 August 2010, 21:20 GMT
related task: 20557
Comment by Allan McRae (Allan) - Friday, 15 July 2011, 04:23 GMT
Closing as not a (pacman) bug. This is an Arch Linux packaging decision to only support /bin/sh as bash currently.

Loading...