Re: /bin contents
From: Stefan O'Rear (stefanor_at_cox.net)
Date: 09/30/04
- Previous message: Tim Kelley: "Re: /bin contents"
- In reply to: Tim Kelley: "Re: /bin contents"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Sep 2004 19:20:51 -0700 To: debian-user@lists.debian.org
On Wed, Sep 29, 2004 at 09:13:06PM -0500, Tim Kelley wrote:
> On Wednesday 29 September 2004 21:03, Tim Kelley wrote:
> > On Wednesday 29 September 2004 13:28, Don Hayward wrote:
> > > Is there a package that contains the standard contents of the /bin
> > > directory? I erred.
> >
> > The following should get all the packages which had files in /bin
> > reinstalled: (one line)
> >
> > apt-get install --reinstall `dpkg -S /bin/[a-z]* | awk
> > 'BEGIN{FS=":"};{print $1}' | sort | uniq`
>
> actually that won't work since you don't have /bin/sh ...
> you may need to somehow get coreutils and bash installed first.
>
> hope you didn't log out ...
Might I suggest
linux init=/usr/bin/zsh
linux init=/usr/bin/ksh
If /usr is a seperate partition, pop in a boot floppy and pretend you
are boot-floppies:
mkdir /target
mount -t foo /dev/foo /target
... for all partitions
cp /bin/bash /target/bin/bash
chroot /target
# do the pipeline
--
The world's most effective spam filter:
ln -sf /dev/full /var/mail/$USER
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Tim Kelley: "Re: /bin contents"
- In reply to: Tim Kelley: "Re: /bin contents"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|