[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Perl 5.6 backport to Potato?



On Thursday 20 September 2001 20:15, you wrote:
> Having only just got the Llama book, and no time to sit down and read
> man perl - what exactly does perl-e -MCPAN 'install Perl' do, besides
> the obvious?

:)

perl -e		: execute what I'm about to tell you 
-MCPAN 	: the module CPAN shall be loaded 
'install Perl'	: my bidding

(Although: I've been telling fibs, it should be perl -MCPAN -e 'install 
Perl', apologies - you have to give -e an argument ;)

You'll need to set CPAN up, though (usually worth it - although you're 
beginning to take things outside your package management system, I've never 
had a conflict yet. I believe the CPAN Way is different to the Debian Way, 
and hence there isn't a file conflict, which is also helped by Perl 
versioning module directories). To run CPAN for the first time, do 
	perl -MCPAN -e shell

This will lead you to interactive CPAN heaven, where you can issue your will 
and be at one with the spirit of The More Than One Way.
 
> How do I put packages 'on hold'?

Ah. Either dpkg --[g|s]et-selections and piping input/output, or (*shudder*) 
dselect.

Maybe aptitude or any of the other better apt front-ends might do it, 
although apt is a bit too high level I think. I would use dpkg: you do a 
--get-selections > myfile, and then edit myfile, changing the status of the 
package from 'install' to 'hold'. Then pipe it back to --set-selections. 

Don't know any better ways :( Anyone else?? I would have thought there would 
be a dpkg --set-status hold [package], or similar, but I can't see one :(

Cheers,

Alex
___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.