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

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




Hi everyone.

It's been fairly quite recently, so I've gone and broken loads of
things to liven it up :-)



I've been having a couple of problems on two machines I've got Debian
Potato installed on.

The first one is probably of my own creation.

I've just done a clean install of Potato on my laptop, and then
installed Perl 5.6.1 from source.
The new perl binary is installed as /usr/local/bin/perl, and is the
version of perl that root runs by default.

After installing Perl 5.6.1, I had the following error whilst
attempting to do apt-get install [any package]:


debconf: Perl may be unconfigured (Can't locate
Debian/DebConf/ConfigDb.pm in  [at] INC ( [at] INC contains:
/usr/local/lib/perl5/5.6.1/i586-linux /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/i586-linux
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .)
at (eval 1) line 3.  BEGIN failed--compilation aborted at (eval 1)
line 3.  ) -- aborting


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/


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?



Secondly, I'm attempting to install 'dhcp' via apt-get on another
Debian Potato box, but it fails with:


Setting up dhcp (2.0pl4-2) ...
update-rc.d: /etc/init.d/dhcp: file does not exist
dpkg: error processing dhcp (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 dhcp
E: Sub-process /usr/bin/dpkg returned an error code (1)


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

This is very wierd. I've tried using touch to make a file to fool the
installation, but it is not modified in anyway.


Finally - and I've just remembered this one, what are the packages or
tasks required on Woody for a working GNOME install?
I tried to install Woody yesterday, and managed to get X and GDM
working, and installed a whole stack of gnome-* packages, but when I
logged in, the display went blank and then kicked me back to GDM.

I've not got any logs - thats the machine with the clean Potato
install and dodgy Perl set up :-)

Is there not a task-gnome any more? I couldn't find anything in
apt-cache search gnome, and blindly attempting to install it reported
no such package.


Help!!


Cheers.

Baz.

-- 
Barrie J. Bremner		OpenPGP public key ID: F78CEE08
baz [at] barriebremner.com	http://barriebremner.com/


___________________________________________________________________

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.