Debian upgrade from lenny to squeeze and default shell
26/01/2012 at 17:34 Leave a comment
All of you who are planning an upgrade from Debian lenny to squeeze should take into consideration that Squeeze is using another default shell – “dash”. So make sure all your scripts created with #!/bin/sh are working on the new shell or just change the symlink for /bin/sh to bash.
I have encountered this problem while upgrading a whole bunch of servers and when I run the deployment scripts created with /bin/sh they didn’t work. It took me quite a while to figure it out, so I’m sharing this to others who might run into the same situation.
Or make sure you read all the screens when you upgrade and don’t change default shell to dash. Keep bash.
Entry filed under: Debian, Linux. Tags: 5, 6, bash, dash, Debian, error, Lenny, Linux, problem, script, shell, squeeze.
Trackback this post | Subscribe to the comments via RSS Feed