Package: bash
Version: 4.0-5
Severity: serious

If dash is _not_ configured to be used as /bin/sh, installing bash 4.0-5
loses the /bin/sh symlink during the unpack phase which leads to
interesting problems when other packages' postinst scripts are
triggered:

,----
| # LANG=C aptitude safe-upgrade 
| Reading package lists... Done
| Building dependency tree       
| Reading state information... Done
| Reading extended state information      
| Initializing package states... Done
| The following packages will be upgraded:
|   bash 
| 1 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
| Need to get 0B/1098kB of archives. After unpacking 0B will be used.
| Do you want to continue? [Y/n/?] 
| Writing extended state information... Done
| (Reading database ... 20103 files and directories currently installed.)
| Preparing to replace bash 4.0-4 (using .../archives/bash_4.0-5_i386.deb) ...
| Unpacking replacement bash ...
| Processing triggers for install-info ...
| dpkg (subprocess): unable to execute installed post-installation script: No 
such file or directory
| dpkg: subprocess installed post-installation script returned error exit 
status 2
| E: Sub-process /usr/bin/dpkg returned an error code (2)
| A package failed to install.  Trying to recover:
| E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to 
correct the problem. 
| E: Could not regain the system lock!  (Perhaps another apt or dpkg is 
running?)
| E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to 
correct the problem. 
| Reading package lists... Done             
| Building dependency tree       
| Reading state information... Done
| Reading extended state information      
| Initializing package states... Done
`----

Fortunately bash's postinst restores the /bin/sh symlink, so running
"dpkg --configure --pending" fixed up things, although I had to run it
twice to get all the triggers processed.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.30.6-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to