l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2003 Mar 29 17:31

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] New Perl is messing up apt-get
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] New Perl is messing up apt-get



Hi,

I'm running debian woody.  I installed Perl 5.8 from source (into
/usr/local/bin).  Now when I use apt-get I get an error, basically my @INC
doesn't include the necessary directory.  To fix I did:

export PERL5LIB=/usr/share/perl5

How was I supposed to install a new perl to avoid this?

below is my error (and fix):
thanks
Jay

meir:/usr/local/src# apt-get install vim
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  vim
0 packages upgraded, 1 newly installed, 0 to remove and 0  not upgraded.
Need to get 3751kB of archives. After unpacking 12.2MB will be used.
Get:1 ftp://debian.uchicago.edu stable/main vim 6.1.018-1 [3751kB]
Fetched 3751kB in 1m45s (35.6kB/s)
debconf: Perl may be unconfigured (Can't locate Debconf/Log.pm in @INC (@INC
con
tains: /usr/local/lib/perl5/5.8.0/i686-linux /usr/local/lib/perl5/5.8.0
/usr/loc
al/lib/perl5/site_perl/5.8.0/i686-linux /usr/local/lib/perl5/site_perl/5.8.0
/us
r/local/lib/perl5/site_perl .) at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
Selecting previously deselected package vim.
(Reading database ... 36389 files and directories currently installed.)
Unpacking vim (from .../vim_6.1.018-1_i386.deb) ...
Setting up vim (6.1.018-1) ...

meir:/usr/local/src# find / -name Debconf -print
/usr/share/perl5/Debconf

meir:/usr/local/src# export PERL5LIB=/usr/share/perl5

meir:/usr/local/src# apt-get remove vim
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  vim
0 packages upgraded, 0 newly installed, 1 to remove and 0  not upgraded.
Need to get 0B of archives. After unpacking 12.2MB will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 37258 files and directories currently installed.)
Removing vim ...
dpkg - warning: while removing vim, directory `/etc/vim' not empty so not
removed.
meir:/usr/local/src# apt-get install vim
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  vim
0 packages upgraded, 1 newly installed, 0 to remove and 0  not upgraded.
Need to get 0B/3751kB of archives. After unpacking 12.2MB will be used.
Selecting previously deselected package vim.
(Reading database ... 36392 files and directories currently installed.)
Unpacking vim (from .../vim_6.1.018-1_i386.deb) ...
Setting up vim (6.1.018-1) ...


_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.