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

Bug#100583: perl error in a script called by apt-get



Package: apt
Version: 0.3.19


i got this error during some installation...

Can't modify goto in lvalue subroutine return at 
/usr/share/perl5/Debconf/Base.pm line 24, near "}"
Compilation failed in require at (eval 4) line 3.
        ...propagated at /usr/share/perl/5.6.1/base.pm line 18.

i had a look to this script, it is auto generate and i'm not enought skilled 
whith perl to correct the error.... 
this are the complete messages i got

Ivan



bash-2.03# apt-get install ghostwiev
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package ghostwiev
bash-2.03# apt-get install ghostview
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  defoma dialog gs libpaperg libxaw7
The following NEW packages will be installed:
  defoma dialog ghostview gs libpaperg
1 packages upgraded, 5 newly installed, 0 to remove and 265 not upgraded.
Need to get 2304kB/2322kB of archives. After unpacking 6219kB will be used.
Do you want to continue? [Y/n]
Media Change: Please insert the disc labeled 'Debian GNU/Linux 2.3 _Woody_ - 
fsn.hu's i386 Binary-1 (20010428)' in the drive '/cdrom/' and press enter

Get:1 ftp://freedom.dicea.unifi.it unstable/main defoma 0.4.4 [46.4kB]
Get:2 ftp://freedom.dicea.unifi.it unstable/main dialog 0.9a-20010527-1 
[94.9kB]
Get:3 ftp://freedom.dicea.unifi.it unstable/main ghostview 1.5-23.2 [105kB]
Get:4 ftp://freedom.dicea.unifi.it unstable/main gs 5.50-8 [1876kB]
Get:5 ftp://freedom.dicea.unifi.it unstable/main libxaw7 4.0.3-4 [182kB]
Fetched 2304kB in 7m10s (5348B/s)
(Reading database ... 35500 files and directories currently installed.)
Unpacking dialog (from .../dialog_0.9a-20010527-1_i386.deb) ...
Selecting previously deselected package defoma.
Unpacking defoma (from .../archives/defoma_0.4.4_all.deb) ...
Unpacking libpaperg (from .../libpaperg_1.0.8_i386.deb) ...
Unpacking gs (from .../archives/gs_5.50-8_i386.deb) ...
Preparing to replace libxaw7 4.0.2-13 (using .../libxaw7_4.0.3-4_i386.deb) ...
Unpacking replacement libxaw7 ...
Selecting previously deselected package ghostview.
Unpacking ghostview (from .../ghostview_1.5-23.2_i386.deb) ...
Setting up dialog (0.9a-20010527-1) ...

Setting up defoma (0.4.4) ...

Setting up libpaperg (1.0.8) ...
Can't modify goto in lvalue subroutine return at 
/usr/share/perl5/Debconf/Base.pm line 24, near "}"
Compilation failed in require at (eval 4) line 3.
        ...propagated at /usr/share/perl/5.6.1/base.pm line 18.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Iterator.pm 
line 5.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm 
line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 5.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 
5.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 5.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 5.
Compilation failed in require at /usr/share/debconf/frontend line 22.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
dpkg: error processing libpaperg (--configure):
 subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of gs:
 gs depends on libpaperg (>= 1.0.8); however:
  Package libpaperg is not configured yet.
dpkg: error processing gs (--configure):
 dependency problems - leaving unconfigured
Setting up libxaw7 (4.0.3-4) ...

dpkg: dependency problems prevent configuration of ghostview:
 ghostview depends on libpaperg; however:
  Package libpaperg is not configured yet.
 ghostview depends on gs; however:
  Package gs is not configured yet.
dpkg: error processing ghostview (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libpaperg
 gs
 ghostview
E: Sub-process /usr/bin/dpkg returned an error code (1)



and again.....




bash-2.03# apt-get install pgaccess
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libpgsql2 libpgtcl tcl8.0 tk8.0
The following NEW packages will be installed:
  libpgsql2 libpgtcl pgaccess tcl8.0 tk8.0
0 packages upgraded, 5 newly installed, 0 to remove and 265 not upgraded.
3 packages not fully installed or removed.
Need to get 0B/1235kB of archives. After unpacking 3707kB will be used.
Do you want to continue? [Y/n]
Media Change: Please insert the disc labeled 'Debian GNU/Linux 2.3 _Woody_ - 
fsn.hu's i386 Binary-1 (20010428)' in the drive '/cdrom/' and press enter

(Reading database ... 35861 files and directories currently installed.)
Unpacking libpgsql2 (from .../libs/libpgsql2_6.5.3-23.deb) ...

Unpacking tcl8.0 (from .../tcl8.0/tcl8.0_8.0.5-6_i386.deb) ...
Unpacking tk8.0 (from .../libs/tk8.0_8.0.5-7.deb) ...
Unpacking libpgtcl (from .../libs/libpgtcl_6.5.3-23.deb) ...
Media Change: Please insert the disc labeled 'Debian GNU/Linux 2.3 _Woody_ - 
fsn.hu's i386 Binary-2 (20010428)' in the drive '/cdrom/' and press enter

(Reading database ... 36020 files and directories currently installed.)
Unpacking pgaccess (from .../misc/pgaccess_6.5.3-23.deb) ...
Setting up libpaperg (1.0.8) ...
Can't modify goto in lvalue subroutine return at 
/usr/share/perl5/Debconf/Base.pm line 24, near "}"
Compilation failed in require at (eval 4) line 3.
        ...propagated at /usr/share/perl/5.6.1/base.pm line 18.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Iterator.pm 
line 5.
Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 7.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm 
line 7.
Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 5.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 
5.
Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 8.
Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 5.
BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 5.
Compilation failed in require at /usr/share/debconf/frontend line 22.
BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 22.
dpkg: error processing libpaperg (--configure):
 subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of gs:
 gs depends on libpaperg (>= 1.0.8); however:
  Package libpaperg is not configured yet.
dpkg: error processing gs (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ghostview:
 ghostview depends on libpaperg; however:
  Package libpaperg is not configured yet.
 ghostview depends on gs; however:
  Package gs is not configured yet.
dpkg: error processing ghostview (--configure):
 dependency problems - leaving unconfigured
Setting up libpgsql2 (6.5.3-23) ...

Setting up tcl8.0 (8.0.5-6) ...

Setting up tk8.0 (8.0.5-7) ...

Setting up libpgtcl (6.5.3-23) ...

Setting up pgaccess (6.5.3-23) ...

Errors were encountered while processing:
 libpaperg
 gs
 ghostview
E: Sub-process /usr/bin/dpkg returned an error code (1)




Linux ivan 2.2.19 #5 Mon Jun 4 10:44:55 CEST 2001 i686 unknown
perl, v5.6.1 built for i386-linux 

-- 
Even the clearest and most perfect circumstantial evidence is likely to be at
fault, after all, and therefore ought to be received with great caution.  Take
the case of any pencil, sharpened by any woman; if you have witnesses, you 
will
find she did it with a knife; but if you take simply the aspect of the pencil,
you will say that she did it with her teeth.
		-- Mark Twain, "Pudd'nhead Wilson's Calendar"



Reply to: