Results 1 to 3 of 3

Thread: apt-get & perl

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    4

    apt-get & perl

    im having problems when i install a package with apt-get... heres what i get:

    exiva@solitude:~$ sudo apt-get install giFT
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following extra packages will be installed:
    gift giftcurs giftd libgift0 libgiftproto0 libgnutella-gift libltdl3
    libopenft-gift
    The following NEW packages will be installed:
    gift giftcurs giftd libgift0 libgiftproto0 libgnutella-gift libltdl3
    libopenft-gift
    0 upgraded, 8 newly installed, 0 to remove and 236 not upgraded.
    62 not fully installed or removed.
    Need to get 536kB/7651kB of archives.
    After unpacking 1319kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://ftp2.de.debian.org testing/main libgift0 0.11.4-1 [36.4kB]
    Get:2 http://ftp2.de.debian.org testing/main libgiftproto0 0.11.4-1 [8988B]
    Get:3 http://ftp2.de.debian.org unstable/main libltdl3 1.5-5 [144kB]
    Get:4 http://ftp2.de.debian.org testing/main giftd 0.11.4-1 [86.4kB]
    Get:5 http://ftp2.de.debian.org testing/main libopenft-gift 0.2.1.1-1 [75.8kB]
    Get:6 http://ftp2.de.debian.org testing/main libgnutella-gift 0.0.7-1 [86.1kB]
    Get:7 http://ftp2.de.debian.org testing/main giftcurs 0.6.1-1 [96.9kB]
    Get:8 http://ftp2.de.debian.org testing/main gift 0.11.4-1 [1014B]
    Fetched 536kB in 3s (170kB/s)
    debconf: Perl may be unconfigured (Can't load '/usr/lib/perl/5.8.1/auto/IO/IO.so' for module IO: /usr/lib/perl/5.8.1/auto/IO/IO.so: file too short at /usr/lib/perl/5.8.1/XSLoader.pm line 68.
    at /usr/lib/perl/5.8.1/IO.pm line 11
    Compilation failed in require at /usr/lib/perl/5.8.1/IO/Handle.pm line 9.
    BEGIN failed--compilation aborted at /usr/lib/perl/5.8.1/IO/Handle.pm line 9.
    Compilation failed in require at /usr/lib/perl/5.8.1/IO/Seekable.pm line 9.
    BEGIN failed--compilation aborted at /usr/lib/perl/5.8.1/IO/Seekable.pm line 9.
    Compilation failed in require at /usr/lib/perl/5.8.1/IO/File.pm line 11.
    BEGIN failed--compilation aborted at /usr/lib/perl/5.8.1/IO/File.pm line 11.
    Compilation failed in require at /usr/share/perl/5.8.1/FileHandle.pm line 9.
    Compilation failed in require at (eval 1) line 3.
    BEGIN failed--compilation aborted at (eval 1) line 3.
    ) -- aborting
    (Reading database ... 117819 files and directories currently installed.)
    Preparing to replace gnumeric 1.2.0-1 (using .../gnumeric_1.2.0-1_i386.deb) ...
    Unpacking replacement gnumeric ...
    Can't load '/usr/lib/perl/5.8.1/auto/File/Glob/Glob.so' for module File::Glob: /usr/lib/perl/5.8.1/auto/File/Glob/Glob.so: file too short at /usr/lib/perl/5.8.1/XSLoader.pm line 68.
    at /usr/lib/perl/5.8.1/File/Glob.pm line 96
    Compilation failed in require at /usr/sbin/update-mime line 49.
    BEGIN failed--compilation aborted at /usr/sbin/update-mime line 49.
    dpkg: warning - old post-removal script returned error exit status 255
    dpkg - trying script from the new package instead ...
    Can't load '/usr/lib/perl/5.8.1/auto/File/Glob/Glob.so' for module File::Glob: /usr/lib/perl/5.8.1/auto/File/Glob/Glob.so: file too short at /usr/lib/perl/5.8.1/XSLoader.pm line 68.
    at /usr/lib/perl/5.8.1/File/Glob.pm line 96
    Compilation failed in require at /usr/sbin/update-mime line 49.
    BEGIN failed--compilation aborted at /usr/sbin/update-mime line 49.
    dpkg: error processing /var/cache/apt/archives/gnumeric_1.2.0-1_i386.deb (--unpack):
    subprocess new post-removal script returned error exit status 255
    Can't load '/usr/lib/perl/5.8.1/auto/File/Glob/Glob.so' for module File::Glob: /usr/lib/perl/5.8.1/auto/File/Glob/Glob.so: file too short at /usr/lib/perl/5.8.1/XSLoader.pm line 68.
    at /usr/lib/perl/5.8.1/File/Glob.pm line 96
    Compilation failed in require at /usr/sbin/update-mime line 49.
    BEGIN failed--compilation aborted at /usr/sbin/update-mime line 49.
    dpkg: error while cleaning up:
    subprocess post-removal script returned error exit status 255
    Selecting previously deselected package libgift0.
    Unpacking libgift0 (from .../libgift0_0.11.4-1_i386.deb) ...
    Selecting previously deselected package libgiftproto0.
    Unpacking libgiftproto0 (from .../libgiftproto0_0.11.4-1_i386.deb) ...
    Selecting previously deselected package libltdl3.
    Unpacking libltdl3 (from .../libltdl3_1.5-5_i386.deb) ...
    Selecting previously deselected package giftd.
    Unpacking giftd (from .../giftd_0.11.4-1_i386.deb) ...
    Selecting previously deselected package libopenft-gift.
    Unpacking libopenft-gift (from .../libopenft-gift_0.2.1.1-1_i386.deb) ...
    Selecting previously deselected package libgnutella-gift.
    Unpacking libgnutella-gift (from .../libgnutella-gift_0.0.7-1_i386.deb) ...
    Selecting previously deselected package giftcurs.
    Unpacking giftcurs (from .../giftcurs_0.6.1-1_i386.deb) ...
    Selecting previously deselected package gift.
    Unpacking gift (from .../archives/gift_0.11.4-1_all.deb) ...
    Errors were encountered while processing:
    /var/cache/apt/archives/gnumeric_1.2.0-1_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    exiva@solitude:~$

    so i apt-get insall gnumeric and i get:

    exiva@solitude:~$ sudo apt-get install gnumeric
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Suggested packages:
    gnumeric-doc gnumeric-plugins-extra
    The following packages will be upgraded
    gnumeric
    1 upgraded, 0 newly installed, 0 to remove and 235 not upgraded.
    70 not fully installed or removed.
    Need to get 0B/8770kB of archives.
    After unpacking 3759kB of additional disk space will be used.
    debconf: Perl may be unconfigured (Can't load '/usr/lib/perl/5.8.1/auto/IO/IO.so' for module IO: /usr/lib/perl/5.8.1/auto/IO/IO.so: file too short at /usr/lib/perl/5.8.1/XSLoader.pm line 68.
    at /usr/lib/perl/5.8.1/IO.pm line 11
    Compilation failed in require at /usr/lib/perl/5.8.1/IO/Handle.pm line 9.
    BEGIN failed--compilation aborted at /usr/lib/perl/5.8.1/IO/Handle.pm line 9.
    Compilation failed in require at /usr/lib/perl/5.8.1/IO/Seekable.pm line 9.
    BEGIN failed--compilation aborted at /usr/lib/perl/5.8.1/IO/Seekable.pm line 9.
    Compilation failed in require at /usr/lib/perl/5.8.1/IO/File.pm line 11.
    BEGIN failed--compilation aborted at /usr/lib/perl/5.8.1/IO/File.pm line 11.
    Compilation failed in require at /usr/share/perl/5.8.1/FileHandle.pm line 9.
    Compilation failed in require at (eval 1) line 3.
    BEGIN failed--compilation aborted at (eval 1) line 3.
    ) -- aborting
    (Reading database ... 117913 files and directories currently installed.)
    Preparing to replace gnumeric 1.2.0-1 (using .../gnumeric_1.2.1-3_i386.deb) ...
    Unpacking replacement gnumeric ...
    Can't load '/usr/lib/perl/5.8.1/auto/File/Glob/Glob.so' for module File::Glob: /usr/lib/perl/5.8.1/auto/File/Glob/Glob.so: file too short at /usr/lib/perl/5.8.1/XSLoader.pm line 68.
    at /usr/lib/perl/5.8.1/File/Glob.pm line 96
    Compilation failed in require at /usr/sbin/update-mime line 49.
    BEGIN failed--compilation aborted at /usr/sbin/update-mime line 49.
    dpkg: warning - old post-removal script returned error exit status 255
    dpkg - trying script from the new package instead ...
    Can't load '/usr/lib/perl/5.8.1/auto/File/Glob/Glob.so' for module File::Glob: /usr/lib/perl/5.8.1/auto/File/Glob/Glob.so: file too short at /usr/lib/perl/5.8.1/XSLoader.pm line 68.
    at /usr/lib/perl/5.8.1/File/Glob.pm line 96
    Compilation failed in require at /usr/sbin/update-mime line 49.
    BEGIN failed--compilation aborted at /usr/sbin/update-mime line 49.
    dpkg: error processing /var/cache/apt/archives/gnumeric_1.2.1-3_i386.deb (--unpack):
    subprocess new post-removal script returned error exit status 255
    Can't load '/usr/lib/perl/5.8.1/auto/File/Glob/Glob.so' for module File::Glob: /usr/lib/perl/5.8.1/auto/File/Glob/Glob.so: file too short at /usr/lib/perl/5.8.1/XSLoader.pm line 68.
    at /usr/lib/perl/5.8.1/File/Glob.pm line 96
    Compilation failed in require at /usr/sbin/update-mime line 49.
    BEGIN failed--compilation aborted at /usr/sbin/update-mime line 49.
    dpkg: error while cleaning up:
    subprocess post-removal script returned error exit status 255
    Errors were encountered while processing:
    /var/cache/apt/archives/gnumeric_1.2.1-3_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    exiva@solitude:~$

    any help anyone can offer, would be appericated. i'm using the latest knoppix

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: apt-get & perl

    Quote Originally Posted by exiva
    im having problems when i install a package with apt-get... heres what i get:

    exiva@solitude:~$ sudo apt-get install giFT
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following extra packages will be installed:
    gift giftcurs giftd libgift0 libgiftproto0 libgnutella-gift libltdl3
    libopenft-gift
    The following NEW packages will be installed:
    gift giftcurs giftd libgift0 libgiftproto0 libgnutella-gift libltdl3
    libopenft-gift
    0 upgraded, 8 newly installed, 0 to remove and 236 not upgraded.
    62 not fully installed or removed.
    It looks like you have not fully installed some packages from a previous install attempt try apt-get -f install to fix the broken install. In future you may want to include the -s option when using apt to simulate the actions taken to check for problems before any install or removal.

  3. #3
    Junior Member
    Join Date
    Nov 2003
    Posts
    4
    exiva@solitude:~$ sudo apt-get -f -s install
    Reading Package Lists... Done
    Building Dependency Tree... Done
    0 upgraded, 0 newly installed, 0 to remove and 236 not upgraded.
    70 not fully installed or removed.
    Inst gnumeric [1.2.0-1] (1.2.1-3 Debian:unstable)
    Conf libldap2 (2.1.23-1 Debian:unstable)
    Conf liborbit2 (1:2.8.2-1 Debian:unstable)
    Conf libbonobo2-common (2.4.1-3 Debian:unstable)
    Conf libbonobo2-0 (2.4.1-3 Debian:unstable)
    Conf bonobo-activation (1:2.4.0-3 Debian:unstable)
    Conf build-essential (10 Debian:testing)
    Conf dh-buildinfo (0.7 Debian:testing)
    Conf sgml-base (1.21 Debian:testing)
    Conf sgml-data (1.9.1 Debian:testing)
    Conf docbook-xml (4.2-7 Debian:testing)
    Conf libpango1.0-common (1.2.5-2 Debian:testing)
    Conf libpango1.0-0 (1.2.5-2 Debian:testing)
    Conf libgtk2.0-common (2.2.4-2 Debian:unstable)
    Conf libgtk2.0-0 (2.2.4-2 Debian:unstable)
    Conf gconf2 (2.4.0.1-2 Debian:unstable)
    Conf libgconf2-4 (2.4.0.1-2 Debian:unstable)
    Conf libgift0 (0.11.4-1 Debian:testing)
    Conf libgiftproto0 (0.11.4-1 Debian:testing)
    Conf libltdl3 (1.5-5 Debian:unstable)
    Conf giftd (0.11.4-1 Debian:testing)
    Conf libopenft-gift (0.2.1.1-1 Debian:testing)
    Conf libgnutella-gift (0.0.7-1 Debian:testing)
    Conf giftcurs (0.6.1-1 Debian:testing)
    Conf gift (0.11.4-1 Debian:testing)
    Conf libbonobo-activation4 (1:2.4.0-3 Debian:unstable)
    Conf libgnomevfs2-0 (2.4.1-4 Debian:unstable)
    Conf libgnomevfs2-common (2.4.1-4 Debian:unstable)
    Conf libgnome2-common (2.4.0-4 Debian:unstable)
    Conf libgnome2-0 (2.4.0-4 Debian:unstable)
    Conf libbonoboui2-0 (2.4.0-4 Debian:unstable)
    Conf libbonoboui2-common (2.4.0-4 Debian:unstable)
    Conf libgnomeui-0 (2.4.0.1-5 Debian:unstable)
    Conf libgsf-1 (1.8.2-5 Debian:unstable)
    Conf libgsf-gnome-1 (1.8.2-5 Debian:unstable)
    Conf gnumeric (1.2.1-3 Debian:unstable)
    Conf indent (2.2.9-5 Debian:unstable)
    Conf libatk1.0-dev (1.4.1-1 Debian:testing)
    Conf libbonobo2-dev (2.4.1-3 Debian:unstable)
    Conf libpango1.0-dev (1.2.5-2 Debian:testing)
    Conf libgtk2.0-dev (2.2.4-2 Debian:unstable)
    Conf libgnomecanvas2-dev (2.4.0-1 Debian:testing)
    Conf libxml2-dev (2.5.11-2 Debian:testing)
    Conf libglade2-dev (2.0.1-6 Debian:testing)
    Conf libesd0-dev (0.2.29-1 Debian:testing)
    Conf liborbit2-dev (1:2.8.2-1 Debian:unstable)
    Conf libgconf2-dev (2.4.0.1-2 Debian:unstable)
    Conf libgnomevfs2-dev (2.4.1-4 Debian:unstable)
    Conf libgnome2-dev (2.4.0-4 Debian:unstable)
    Conf libbonoboui2-dev (2.4.0-4 Debian:unstable)
    Conf libgda2-1 (1.0.1-1 Debian:testing)
    Conf libgda2-common (1.0.1-1 Debian:testing)
    Conf libxslt1-dev (1.0.33-3 Debian:testing)
    Conf libgda2-dev (1.0.1-1 Debian:testing)
    Conf libgnomedb2-3 (1.0.1-1 Debian:unstable)
    Conf libgnomedb2-common (1.0.1-1 Debian:unstable)
    Conf libgnomeui-dev (2.4.0.1-5 Debian:unstable)
    Conf libgnomedb2-dev (1.0.1-1 Debian:unstable)
    Conf libgnomeprint2.2-dev (2.4.0-1 Debian:testing)
    Conf libgnomeprintui2.2-dev (2.4.0-1 Debian:testing)
    Conf libgsf-1-dev (1.8.2-5 Debian:unstable)
    Conf libgsf-gnome-1-dev (1.8.2-5 Debian:unstable)
    Conf libscrollkeeper0 (0.3.12-3 Debian:testing)
    Conf metamail (2.7-45.1 Debian:testing)
    Conf python2.3-numeric (23.1-1 Debian:testing)
    Conf python2.3-gtk2 (2.0.0-2 Debian:testing)
    Conf python-gtk2 (2.0.0-2 Debian:testing)
    Conf python-gtk2-dev (2.0.0-2 Debian:testing)
    Conf python2.3-dev (2.3.2-2 Debian:testing)
    Conf scrollkeeper (0.3.12-3 Debian:testing)
    Conf sylpheed (0.9.6-1 Debian:unstable)
    exiva@solitude:~$ sudo apt-get -f install
    Reading Package Lists... Done
    Building Dependency Tree... Done
    0 upgraded, 0 newly installed, 0 to remove and 236 not upgraded.
    70 not fully installed or removed.
    Need to get 0B/7115kB of archives.
    After unpacking 0B of additional disk space will be used.
    debconf: Perl may be unconfigured (Can't load '/usr/lib/perl/5.8.1/auto/IO/IO.so' for module IO: /usr/lib/perl/5.8.1/auto/IO/IO.so: file too short at /usr/lib/perl/5.8.1/XSLoader.pm line 68.
    at /usr/lib/perl/5.8.1/IO.pm line 11
    Compilation failed in require at /usr/lib/perl/5.8.1/IO/Handle.pm line 9.
    BEGIN failed--compilation aborted at /usr/lib/perl/5.8.1/IO/Handle.pm line 9.
    Compilation failed in require at /usr/lib/perl/5.8.1/IO/Seekable.pm line 9.
    BEGIN failed--compilation aborted at /usr/lib/perl/5.8.1/IO/Seekable.pm line 9.
    Compilation failed in require at /usr/lib/perl/5.8.1/IO/File.pm line 11.
    BEGIN failed--compilation aborted at /usr/lib/perl/5.8.1/IO/File.pm line 11.
    Compilation failed in require at /usr/share/perl/5.8.1/FileHandle.pm line 9.
    Compilation failed in require at (eval 1) line 3.
    BEGIN failed--compilation aborted at (eval 1) line 3.
    ) -- aborting
    (Reading database ... 117913 files and directories currently installed.)
    Preparing to replace gnumeric 1.2.0-1 (using .../gnumeric_1.2.0-1_i386.deb) ...
    Unpacking replacement gnumeric ...
    Can't load '/usr/lib/perl/5.8.1/auto/File/Glob/Glob.so' for module File::Glob: /usr/lib/perl/5.8.1/auto/File/Glob/Glob.so: file too short at /usr/lib/perl/5.8.1/XSLoader.pm line 68.
    at /usr/lib/perl/5.8.1/File/Glob.pm line 96
    Compilation failed in require at /usr/sbin/update-mime line 49.
    BEGIN failed--compilation aborted at /usr/sbin/update-mime line 49.
    dpkg: warning - old post-removal script returned error exit status 255
    dpkg - trying script from the new package instead ...
    Can't load '/usr/lib/perl/5.8.1/auto/File/Glob/Glob.so' for module File::Glob: /usr/lib/perl/5.8.1/auto/File/Glob/Glob.so: file too short at /usr/lib/perl/5.8.1/XSLoader.pm line 68.
    at /usr/lib/perl/5.8.1/File/Glob.pm line 96
    Compilation failed in require at /usr/sbin/update-mime line 49.
    BEGIN failed--compilation aborted at /usr/sbin/update-mime line 49.
    dpkg: error processing /var/cache/apt/archives/gnumeric_1.2.0-1_i386.deb (--unpack):
    subprocess new post-removal script returned error exit status 255
    Can't load '/usr/lib/perl/5.8.1/auto/File/Glob/Glob.so' for module File::Glob: /usr/lib/perl/5.8.1/auto/File/Glob/Glob.so: file too short at /usr/lib/perl/5.8.1/XSLoader.pm line 68.
    at /usr/lib/perl/5.8.1/File/Glob.pm line 96
    Compilation failed in require at /usr/sbin/update-mime line 49.
    BEGIN failed--compilation aborted at /usr/sbin/update-mime line 49.
    dpkg: error while cleaning up:
    subprocess post-removal script returned error exit status 255
    Errors were encountered while processing:
    /var/cache/apt/archives/gnumeric_1.2.0-1_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    exiva@solitude:~$

    still no go =(

Similar Threads

  1. web server +perl cgi problems
    By Ardil in forum General Support
    Replies: 2
    Last Post: 05-28-2005, 10:37 PM
  2. perl module
    By madmadmod in forum Customising & Remastering
    Replies: 0
    Last Post: 01-15-2005, 05:14 PM
  3. where is cgi-bin so I can test perl scripts
    By bstanard in forum General Support
    Replies: 5
    Last Post: 01-10-2005, 03:52 PM
  4. Apache with Perl
    By frescard in forum General Support
    Replies: 1
    Last Post: 03-13-2004, 03:43 PM
  5. tk perl
    By pau in forum General Support
    Replies: 1
    Last Post: 02-25-2004, 04:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1499.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W picture

Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W

$285.97



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$488.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00