Re: how to reinstall bash

2014-09-14 Thread songbird
Martin Read wrote: > songbird wrote: >> Marko Randjelovic wrote: >>> I don't know what Debian release do you use, but since Squeeze, /bin/sh >>> should point to dash. >> >>i'm not sure about that... > > I suspect it to be the case that if you've been continuously upgrading > since before the

Re: how to reinstall bash

2014-09-14 Thread Martin Read
On 14/09/14 10:44, songbird wrote: Marko Randjelovic wrote: I don't know what Debian release do you use, but since Squeeze, /bin/sh should point to dash. i'm not sure about that... I suspect it to be the case that if you've been continuously upgrading since before the change was made, yo

Re: how to reinstall bash

2014-09-14 Thread songbird
Marko Randjelovic wrote: > On Sun, 14 Sep 2014 13:29:15 +0800 > lina wrote: > >> $ ls -l /bin/sh /bin/bash /bin/dash >> -rwxr-xr-x 1 root root 1029624 Aug 22 05:15 /bin/bash >> -rwxr-xr-x 1 root root 117176 Jan 10 2014 /bin/dash >> lrwxrwxrwx 1 root root 9 Sep 13 17:48 /bin/sh -> /bin/bash

Re: how to reinstall bash

2014-09-13 Thread Marko Randjelovic
On Sun, 14 Sep 2014 13:29:15 +0800 lina wrote: > $ ls -l /bin/sh /bin/bash /bin/dash > -rwxr-xr-x 1 root root 1029624 Aug 22 05:15 /bin/bash > -rwxr-xr-x 1 root root 117176 Jan 10 2014 /bin/dash > lrwxrwxrwx 1 root root 9 Sep 13 17:48 /bin/sh -> /bin/bash > > Now it is sane, the mistake

Re: Re: how to reinstall bash

2014-09-13 Thread lina
Thanks for your scrupulous attitude. $ ls -l /bin/sh /bin/bash /bin/dash -rwxr-xr-x 1 root root 1029624 Aug 22 05:15 /bin/bash -rwxr-xr-x 1 root root 117176 Jan 10 2014 /bin/dash lrwxrwxrwx 1 root root 9 Sep 13 17:48 /bin/sh -> /bin/bash Now it is sane, the mistake came at the first place

Re: Re: how to reinstall bash

2014-09-13 Thread Clive Standbridge
> Done by following the link: > http://ubuntuforums.org/showthread.php?t=1618902 > namely, > > 1] ln -sf /bin/sh /bin/bash That is an unfortunate mistake; the link name and target are the wrong way round. It will make /bin/bash into a symbolic link when it should be an ELF binary. > 2] apt-get i

Re: how to reinstall bash

2014-09-13 Thread Hans
Am Samstag, 13. September 2014, 17:39:04 schrieb lina: > By some mistake, I remove the /bin/bash > > Any suggestions? > > Thanks, Try first: apt-get --reinstall install bash if this does not work, try dpkg --force-overwrite -i /var/cache/apt/archive/bash.deb if this does not work, tr

Re: how to reinstall bash

2014-09-13 Thread Pascal Obry
Le samedi 13 septembre 2014 à 17:39 +0800, lina a écrit : > By some mistake, I remove the /bin/bash > > Any suggestions? In a console: $ sudo aptitude reinstall bash -- Pascal Obry / Magny Les Hameaux (78) The best way to travel is by means of imagination http://v2p.fr.eu.org http:

Re: how to reinstall bash

2014-09-13 Thread lina
Done by following the link: http://ubuntuforums.org/showthread.php?t=1618902 namely, 1] ln -sf /bin/sh /bin/bash 2] apt-get install --reinstall bash -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Re: how to reinstall bash [Update]

2014-09-13 Thread Hans
Am Samstag, 13. September 2014, 17:39:04 schrieb lina: > By some mistake, I remove the /bin/bash > > Any suggestions? > > Thanks, If my previos hints, do not work, start a livefile system (debian live or knoppix), get the binary from there, mount the partiion wherer /usr/bin resides and copy t

how to reinstall bash

2014-09-13 Thread lina
By some mistake, I remove the /bin/bash Any suggestions? Thanks, -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAG9cJmk=uE0MU32A7a_rGKraH9eqVyjLBfnQ=nauifnp_c3..