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


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

2003-08-25 Thread Adam Bogacki
Hi, thanks for trying to help.

I kept reading the apt error messages and trying to fix them. I moved a
number of Perl files and directories to where Apt wanted them but it
kept preconfiguring pkgs but 
Sub-process /usr/bin/dpkg returned an error code (1)
/etc/apt/apt.conf currently has the line
APT::Cache-Limit 4;
that is 400Mb, so space is not likely to be an issue.
'apt-get install perl' gave me the response
'perl is the newest version' Tryng to remove perl threatened to remove
half of the installed files, if not more.

*** I am ready to continue the process of correcting apt's error
messages
but they now flash by too quickly to be legible and there is no way I'm 
aware of, in the absence of a WM in console mode, of scrolling back and
reading in detail. Can they be viewed in a file somewhere? 

I downloaded 'stable.tar.gz. from www.cpan.org to /home and unpacked it
to form 'perl-5.8.0' - to create space in /usr 

Following Andrew McNaughton's advice I had a look at /usr/bin and
/usr/local/bin but the only version of perl available was 5.8.0

What I DO have is my previous system mounted in a removable drive as
subdirectory 'cyberia' which contains 5.6.0  ... 
Eg '.cyberia/share/perl5/Debconf/Config.pm' 

I tried to run perl version -V

Tux:/usr/local/bin perl perl5.8.0 -V
Unrecognised character \x7F at perl5.8.0 line 1

I had the same response whether it was 'perl' or 'perl-5.8.0' or
from within /home/perl-5.8.0 or /home, or /usr/bin, or /usr/local/bin
but using 'perl5.6.0' received
Can't open perl script perl5.6.0: No such file or directory

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.

Any constructive suggestions would be appreciated.

Adam Bogacki,
[EMAIL PROTECTED]






Adam Bogacki

Address: 6 Rodrigo Rd., Kilbirnie, Wellington 6003,
Home Phone: (04) 387 9866
Mobile: (021) 031 9193
Email [EMAIL PROTECTED] 




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