Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th August 2006, 17:26
Crucinator Crucinator is offline
Junior Member
 
Join Date: Aug 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Perl and dpkg errors when installing packages

Whenever I try to update, upgrade, or install a package on my Ubuntu Dapper box, I get the following error:

Code:
Can't locate DebianNet.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/sbin/update-inetd line 23.
dpkg: error processing cvs (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libcvsservice0:
 libcvsservice0 depends on cvs (>= 1.11); however:
  Package cvs is not configured yet.
dpkg: error processing libcvsservice0 (--configure):
 dependency problems - leaving unconfigured
Setting up libwmf0.2-7 (0.2.8.3-3.1ubuntu0.1) ...
Updating the gdk-pixbuf loaders list for GTK+-2.4.0...done.
Can't locate Debian/Defoma/Common.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/bin/defoma-app line 8.
BEGIN failed--compilation aborted at /usr/bin/defoma-app line 8.
dpkg: error processing libwmf0.2-7 (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of quanta:
 quanta depends on libcvsservice0 (>= 4:3.5.2); however:
  Package libcvsservice0 is not configured yet.
dpkg: error processing quanta (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 cvs
 libcvsservice0
 libwmf0.2-7
 quanta
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've checked CPAN for modules, but can't find any containing "DebianNet". There are like 130 modules containing "Common", and I don't know which one I need.

Has anyone experienced these errors and know how to fix them?
Reply With Quote
Sponsored Links
  #2  
Old 17th August 2006, 17:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,715 Times in 2,557 Posts
Default

Try to install the DebianNet module as follows:

Code:
perl -MCPAN -e shell
On the Perl shell, run
Code:
install DebianNet
Afterwards, type
Code:
q
to leave the Perl shell.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th August 2006, 20:34
Crucinator Crucinator is offline
Junior Member
 
Join Date: Aug 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried to install DebianNet, and here is what I got.

Code:
cpan> install DebianNet
Warning: Cannot install DebianNet, don't know what it is.
Try the command

    i /DebianNet/

to find objects with matching identifiers.
and then, when I input "i /DebianNet/" I get this.

Code:
cpan> i /DebianNet/
No objects found of any type for argument /DebianNet/
Any other ideas?
Reply With Quote
  #4  
Old 18th August 2006, 15:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,715 Times in 2,557 Posts
Default

What's the output of
Code:
apt-cache search DebianNet
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 19th August 2006, 03:42
Crucinator Crucinator is offline
Junior Member
 
Join Date: Aug 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I think I figured out how to solve my problem. It turns out "DebianNet.pm" is part of the Netbase package and "Common.pm" is found in the Defoma package (both found in Synaptic). When I reinstalled both packages, the unconfigured ones completed their installs. Everything looks good now. Thanks for those who helped.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.