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

Bug#87434: 2.2r2 STD dselect dies on Debconf/Template.pm (Perl location trouble)



Package: dselect
Version: 1.8.3
Severity: grave

    apt is 0.5.0

    dpkg on dselect didn't list the maintainer, so I CC'd this to APT list,
    please forward to correct list as needed.


    1. I installed latest Debian from net, using the 2r2 boot disks
       and pointing apt to unstable sites (below)
    2. After selecting packages and installing them, something happened
       and Perl was not working well any more. Can't give any more details
       on this.
    3. After breakage, I was unable to install perl using 
       dselect due unresolved Perl
       dependency problems. I didn't understand why dselect refused to
       to install perl 5.5 due to unresolved dependencis. in dselect. 
       --> It even didn't offer Perl 5.6 to install, only 5.5 was in the 
       list.

    Anyway the dselect went beserk.

    4. I downloaded latest perl and built it.
    5. Dselect still didn't work, and the reason is that standard Perl 
       does not include /usr/share/perl5 in @INC

    Now, I would consider it improvement for Dseelect if it always called 
    underlying install scripts with

        -I/usr/share/perl5

    And not to rely on the currently installed Debian perl configuration.


    Even better: every critical script would "source" lib-config.pm,
    which included "use lib /PATH/HERE" for critical Perl libraries.


    Yes, I solved the problem with dselect by compiling the
    /usr/share/perl5 into Perl's @INC, but how many novices 
    know and cope with this?

    Jari

----------------------------------------------------------------------


$ uname -a

Linux tango 2.2.18pre21-compact #1 Sat Nov 18 09:23:46 MST 2000 i586 unknown

tango:/tmp# dpkg -s libc6 | grep "^Vers"
Version: 2.2.2-1

$ (dselect) 2>&1 | tee /tmp/log


Debian `dselect' package handling frontend.

 * 0. [A]ccess    Choose the access method to use.
1. [U]pdate    Update list of available packages, if possible.
   2. [S]elect    Request which packages you want on your system.
   3. [I]nstall   Install and upgrade wanted packages.
   4. [C]onfig    Configure any packages that are unconfigured.
   5. [R]emove    Remove unwanted software.
   6. [Q]uitQuit dselect.

Move around with ^P and ^N, cursor keys, initial letters, or digits;
Press <enter> to confirm selection.   ^L redraws screen.

Version 1.8.3 (i386).
Copyright (C) 1994-1996 Ian Jackson.
Copyright (C) 2000 Wichert Akkerman.
This is free software; see the GNU General Public Licence version 2
or later for copying conditions.  There is NO warranty.  See
dselect --licence for details.
   0. [A]ccess    Choose the access method to use.
 * 1. [U]pdate    Update list of available packages, if possible.              
   1. [U]pdate    Update list of available packages, if possible.
 * 2. [S]elect    Request which packages you want on your system.              
   2. [S]elect    Request which packages you want on your system.
 * 3. [I]nstall   Install and upgrade wanted packages.                         
Reading Package Lists...
Building Dependency Tree...
0 packages upgraded, 0 newly installed, 0 to remove and 1  not upgraded.
2 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n] debconf: Perl may be unconfigured (Can't locate Debconf/ConfigDb.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.0/i586-linux /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/i586-linux /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at (eval 1) line 4.
BEGIN failed--compilation aborted at (eval 1) line 4.
) -- aborting
Setting up lynx (2.8.3-1) ...
Can't locate Debconf/Template.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.0/i586-linux /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/i586-linux /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at /usr/share/debconf/frontend line 22.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
dpkg: error processing lynx (--configure):
 subprocess post-installation script returned error exit status 2
Setting up cvs (1.10.8-1) ...
Can't locate Debconf/Template.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.0/i586-linux /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/i586-linux /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at /usr/share/debconf/frontend line 22.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
dpkg: error processing cvs (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 lynx
 cvs
E: Sub-process /usr/bin/dpkg returned an error code (1)
Some errors occurred while unpacking. I'm going to configure the
packages that were installed. This may result in duplicate errors
or errors caused by missing dependencies. This is OK, only the errors
above this message are important. Please fix them and run [I]nstall again
Press enter to continue.




perl -V


Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.18pre21-compact, archname=i586-linux
    uname='linux tango 2.2.18pre21-compact #1 sat nov 18 09:23:46 mst 2000 i586 unknown '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=2.95.3 20010125 (prerelease)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc-2.2.2.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Feb 23 2001 20:36:56
  @INC:
    /usr/local/lib/perl5/5.6.0/i586-linux
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/i586-linux
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl
    .


# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
#deb http://http.us.debian.org/debian stable main contrib non-free
#deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
#deb http://security.debian.org stable/updates main contrib non-free

# Uncomment if you want the apt-get source function to work
deb-src http://http.us.debian.org/debian unstable main contrib non-free
deb-src http://non-us.debian.org/debian-non-US unstable non-US

deb ftp://ftp.sunet.se/pub/os/Linux/distributions/debian/ unstable main non-free contrib
deb-src ftp://ftp.sunet.se/pub/os/Linux/distributions/debian/ unstable main non-free contrib
deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free



Reply to: