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

Re: [Sheflug] Lots of Perl and Debian/Apt problems.



On Sun, 2002-01-27 at 18:26, Barrie Bremner wrote:
> After installing Perl 5.6.1, I had the following error whilst
> attempting to do apt-get install [any package]:
> <snip Baz's debconf breakage>
> 
> So, not having a clue, I just copied Debian/DebConf/* from the
> perl5.005 location into /usr/local/lib/perl5/site_perl/5.6.1/

That's not the fix :) Perhaps you ought to read Debian's Perl Policy
(yep, Perl has a policy doc all of it's own ;)

> Now, installation via apt works (as far as I can see), but I get the
> message:                                                                   
> 
> (in cleanup) Can't call method "DESTROY" on an undefined value at
> /usr/local/lib/perl5/site_perl/5.6.1/Debian/DebConf/Question.pm line
> 251 during global destruction.
> 
> Is there a way around this?

Run the other Perl: either rename /usr/local/bin/perl to
/usr/local/bin/perl5.6, or fiddle $PATH, or just stick to the Debian
versions of Perl - sid has Perl 5.6.1 :D

> Setting up dhcp (2.0pl4-2) ...
> update-rc.d: /etc/init.d/dhcp: file does not exist

Hmmmm.

> But none of the other Debian machines appear to have /etc/init.d/dhcp
> either (none have had the package installed before).

That is correct; only one with dhcpd installed would need it. TBH, the
dhcp init script is a pile of cack, but the package should be installing
it. I just tried reinstalling the package on my gateway machine, and it
works fine. Have you got odd permissions in /etc/init.d/ ? Don't touch
the file into existance anyway - that's not going to work, it needs to
exist and have sensible information in it, and should come from the
package.

> Finally - and I've just remembered this one, what are the packages or
> tasks required on Woody for a working GNOME install?

Tasks are deprecated. Sounds like you need to apt-get install
gnome-session. 

> Is there not a task-gnome any more?

Nope :-)

> I couldn't find anything in
> apt-cache search gnome, and blindly attempting to install it reported
> no such package.

If it's not in apt-cache, it's not a package and hence is unlikely to be
installable ;)
 
apt-get install gnome-control-center gnome-panel gnome-session
gnome-games gnome-terminal gnome-utils

.. should install the Gnome desktop environment for you. After that,
just choose the apps you want. 

Cheers,

Alex.

This is a digitally signed message part