Re: [SLUG] Perl5.8 installed;Apt preconfigures, but fails to install.

2003-09-01 Thread Angus Lees
At Fri, 29 Aug 2003 10:52:14 +1000, Jeff Waugh wrote:
  You also want the list of installed software, which you should normally be
  able to get from apt  Hmm.  Presumably you can get it from looking
  directly at where apt stores its files.
 
 dpkg -l
 
   or for just the package names:
 
 COLUMNS=150 dpkg -l | awk '{print $2}'

I would have used dpkg --get-selections and later piped that output
back into dpkg --set-selections.

Its not quite as robust as jdub's, since it will (pretty much) only
give you a list of the *installed* packages.  So long as you're
starting from a minimal base system the second time round, it'll do
the right thing - and its nice and easy.

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Perl5.8 installed;Apt preconfigures, but fails to install.

2003-08-29 Thread Andrew McNaughton
On Tue, 26 Aug 2003, Angus Lees wrote:

 At Mon, 25 Aug 2003 22:52:32 +1200, Adam Bogacki wrote:
  In sum, I'm starting to contemplate reinstalling Debian, something I
  am prepared to go to lengths to avoid because I would lose a lot of
  hard-won material, because I'm living with an 80 yr old who is only
  starting to get over her computer-phobia, and because I also have
  other things to do.

 Where/what is this hard-won material?

 Just copy your important data off somewhere temporarily (maybe just
 another partition) and reinstall.

 The alternative is going to be *weeks* of hand hacking stuff.  If
 you'd simply reinstalled you'd be done by now.

Probably right.

It's a good idea to get a firm understanding of which parts of a system
you do and don't modify from what the system sets up for you.

Almost everything you want to keep should be in /etc and /home.  On some
systems you'd include /usr/local/etc in that.  It's not a bad idea to
make a note of any areas outside of that where you modify files.

I know that it's possible under debian to get a list of where files come
from (ie which package), and probably you can also get checksums.  I'm not
sure on the details though.

You also want the list of installed software, which you should normally be
able to get from apt  Hmm.  Presumably you can get it from looking
directly at where apt stores its files.

The other thing is that while it can be time consuming, starting from
scratch is typically not at all a disempowering thing once the new user
gets going on it.  All the stuff that was mystifying the first time round
is at least somewhat familiar on a repeat run, and provides a sense that
actually they have got the hang of a lot of this stuff.



--

No added Sugar.  Not tested on animals.  May contain traces of Nuts.  If
irritation occurs, discontinue use.

---
Andrew McNaughton   In Sydney
Working on a Product Recommender System
[EMAIL PROTECTED]
Mobile: +61 422 753 792 http://staff.scoop.co.nz/andrew/cv.doc



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Perl5.8 installed;Apt preconfigures, but fails to install.

2003-08-29 Thread Jeff Waugh
quote who=Andrew McNaughton

 I know that it's possible under debian to get a list of where files come
 from (ie which package), and probably you can also get checksums.  I'm not
 sure on the details though.

dpkg -S file
dpkg -L package

 You also want the list of installed software, which you should normally be
 able to get from apt  Hmm.  Presumably you can get it from looking
 directly at where apt stores its files.

dpkg -l

  or for just the package names:

COLUMNS=150 dpkg -l | awk '{print $2}'

:-)

- Jeff

-- 
linux.conf.au 2004: Adelaide, Australia http://lca2004.linux.org.au/
 
   You know, the crunchy, folk-singer part of me wants to believe that a
 performance is a dialogue, but I can't hear a fucking thing you're
  saying. - Ani DiFranco
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


RE: [SLUG] Perl5.8 installed;Apt preconfigures, but fails to install.

2003-08-29 Thread Adam Bogacki
Thanks Jeff, that's just what I need right now.

Cheers,

Adam Bogacki
[EMAIL PROTECTED]

-Original Message-
From: Jeff Waugh [mailto:[EMAIL PROTECTED] 
Sent: Friday, 29 August 2003 12:52 PM
To: [EMAIL PROTECTED]
Subject: Re: [SLUG] Perl5.8 installed;Apt preconfigures, but fails to
install.

quote who=Andrew McNaughton

 I know that it's possible under debian to get a list of where files
come
 from (ie which package), and probably you can also get checksums.  I'm
not
 sure on the details though.

dpkg -S file
dpkg -L package

 You also want the list of installed software, which you should
normally be
 able to get from apt  Hmm.  Presumably you can get it from looking
 directly at where apt stores its files.

dpkg -l

  or for just the package names:

COLUMNS=150 dpkg -l | awk '{print $2}'

:-)

- Jeff

-- 
linux.conf.au 2004: Adelaide, Australia
http://lca2004.linux.org.au/
 
   You know, the crunchy, folk-singer part of me wants to believe that
a
 performance is a dialogue, but I can't hear a fucking thing you're
  saying. - Ani DiFranco


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Perl5.8 installed;Apt preconfigures, but fails to install.

2003-08-28 Thread Angus Lees

Dude, you've hosed your system.


At this point you can either:

 restore from backups (*ahem*)

 try to undo whatever you did (iirc you moved /usr and /lib somewhere
 else)

 try to duplicate exactly what Debian had put in those directories by
 hand (almost impossible)

 or save what data you can and reinstall.

The choice is yours, but I know what I would have done by now.


At Mon, 25 Aug 2003 22:52:32 +1200, Adam Bogacki wrote:
 In sum, I'm starting to contemplate reinstalling Debian, something I
 am prepared to go to lengths to avoid because I would lose a lot of
 hard-won material, because I'm living with an 80 yr old who is only
 starting to get over her computer-phobia, and because I also have
 other things to do.

Where/what is this hard-won material?

Just copy your important data off somewhere temporarily (maybe just
another partition) and reinstall.

The alternative is going to be *weeks* of hand hacking stuff.  If
you'd simply reinstalled you'd be done by now.

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug