On Thu, May 23, 2002 at 02:38:15PM -0700, Petro wrote:
> On Thu, May 23, 2002 at 01:26:16PM -0700, dman wrote:
> > On Wed, May 22, 2002 at 05:28:13PM -0700, Petro wrote:
> > | On Tue, May 21, 2002 at 10:15:45PM -0700, dman wrote:
> > | > On Tue, May 21, 2002 at 07:08:48PM -0700, Petro wrote:
> > | > | On Tue, May 21, 2002 at 05:57:16PM -0700, Karl E. Jorgensen wrote:
> > | > | > On Tue, May 21, 2002 at 05:04:59PM -0700, Petro wrote:
> > | > | > > Mostly just some basic copy tools.
> > | > | > If you need to pick things out of .debs, then you'll need a
> > working
> > | > | > dpkg. Or ar + tar ( & gzip if memory serves).
> > | > | Actually, just tar and cp.
> > | > A deb is an ar archive that contains two gzipped tarballs. Thus you
> > | > first need ar to extract the tarballs, then gunzip to decompress
> > them,
> > | > and then finally tar and cp to do the rest.
> > |
> > | Yes, and with cp and tar I can either get a file from somewhere
> > | else, or copy some files to a location where they will survive a
> > | reinstall.
> > Oh, you're looking to salvage something from the wreckage before
> > scrapping it. The comment above was about pulling files out of a .deb
>
> Yes. Or just figuring out if there is even a wreck, how it happened
> etc.
>
> > with the intent of restoring the "wreckage" rather than scrapping it.
> > Reread the quoted text from Karl.
>
> I know what he is saying, and he's right in a limited way. If your
> entire ability to administer a system envolves unpacking .debs and
> answering the configure questions they ask, a static shell is
> pointless.
>
> I'm not in that position.
I have to disagree with your implication ("entire ability"....). I
suspect that you have some high levels of frustration showing through
here.
My previous post was assuming:
a) you have hosed some essential library - ld-linux, libc, whatever.
b) you want to repair it (later on it transpired that you were happy just
to rescue the data before scrapping the lot, which will mean a
different approach).
With that in mind, you may well want to re-extract the damaged file(s)
out of a .deb (e.g. one you have conveniently left floating around in
/var/cache/apt/archives).
--
Karl E. Jørgensen
karl@jorgensen.com
www.karl.jorgensen.com
I'm currently out trying to find myself. If I should get back before I
return, please keep me here.
Attachment:
pgpjXo5MePX83.pgp
Description: PGP signature