Problem after upgrade: 'Setting up bash' error


Forum: Apt-get
Topic: Problem after upgrade: 'Setting up bash' error
started by: insomniux

Posted by insomniux on Feb. 03 2006,15:44
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

Posted by clacker on Feb. 03 2006,16:49
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.

Posted by insomniux on Feb. 03 2006,20:37
Thanks Cracker, this works!
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.