Bionicpup32 will not shut down after upgrades (solved)

Moderator: Forum moderators

Post Reply
galen
Posts: 69
Joined: Fri Nov 06, 2020 8:55 pm
Location: Halifax, NS Canada
Has thanked: 28 times
Been thanked: 12 times
Contact:

Bionicpup32 will not shut down after upgrades (solved)

Post by galen »

I've have had this serious bug happen several times after upgrading packages on bionicpup32.
after upgrading some puppy packages the system will not shutdown.
this is due to
interpreter not found
/bin/ash
somewhere in the install/upgrade path
something changes the shell to /bin/ash instead of bash

to get your system to shutdown / reboot
open terminal
cd /bin
cp bash ash

the packages added are pidgin, clonezilla,
seamonkey or palemoon

Last edited by galen on Tue Nov 10, 2020 4:31 pm, edited 1 time in total.

On-line since 1992
long time Linux & puppy Linux user
volunteer & supporter

williams2
Posts: 1069
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 306 times

Re: serious bug bionicpup32 after upgrades

Post by williams2 »

ash should be a symlink to busybox

Code: Select all

cd /bin
ln -fs busybox ash

sh should be a symlink to bash

Code: Select all

cd /bin
ln -fs bash sh

The default shell that a urxvt terminal uses is set in /etc/profile

Code: Select all

SHELL="/bin/bash"

SHELL should probably be /bin/sh but SHELL=/bin/bash executes .bashrc when bash starts.

The shell that a shell script uses is set by the first line of the script.

Is the /bin/ash symlink to busybox getting changed?

galen
Posts: 69
Joined: Fri Nov 06, 2020 8:55 pm
Location: Halifax, NS Canada
Has thanked: 28 times
Been thanked: 12 times
Contact:

Re: (solved) serious bug bionicpup32 after upgrades

Post by galen »

I found my error
Had installed puppy to fat32 USB stick

On-line since 1992
long time Linux & puppy Linux user
volunteer & supporter

Post Reply

Return to “Bionic”