Apt-get :: Problem after upgrade: 'Setting up bash' error
Hi,
After apt-get update and upgrade, I get this error messages after each attempt to install any package:
Setting up bash (2.05b-26) ...
chmod: invalid mode: --reference=/etc/shells
dpkg: error processing bash (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
bash
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can this be solved??
Any help greatly appreciated.
insomniux
insomniux, try loading the gnu-utils.dsl package from the repository and then running sudo apt-get install -f
The chmod included in the base dsl package is really a busybox replacement for chmod. Installing the gnu-utils package will allow chmod to use the --reference=/etc/shells option and the error should go away.
Thanks Cracker, this works!
original here.