Public bug reported:

Binary package hint: dpkg

I tried a do-release-upgrade from Hardy to lucid, but it failed on
installing perl:

~$ sudo dpkg -i --force-all 
/var/cache/apt/archives/perl_5.10.1-8ubuntu2_amd64.deb 
(Reading database ... 524499 files and directories currently installed.)
Preparing to replace perl 5.10.1-8ubuntu2 (using 
.../perl_5.10.1-8ubuntu2_amd64.deb) ...
Unpacking replacement perl ...
dpkg: ../../src/archives.c:763: tarobject: Assertion `r == stab.st_size' failed.
Aborted

This may be related to these bugs?
https://bugs.launchpad.net/ecryptfs/+bug/524919
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561991

~$ dpkg -l liblocale*perl* perl* libperl*|grep ^i
ii  liblocale-gettext-perl                            1.05-6                    
                                 Using libc functions for internationalizatio
ii  libperl5.10                                       5.10.1-8ubuntu2           
                                 shared Perl library
iHR perl                                              5.10.1-8ubuntu2           
                                 Larry Wall's Practical Extraction and Report
ii  perl-base                                         5.10.1-8ubuntu2           
                                 minimal Perl system
iU  perl-doc                                          5.10.1-8ubuntu2           
                                 Perl documentation
iU  perl-mapscript                                    5.6.1-1ubuntu1            
                                 Perl MapServer library
iU  perl-modules                                      5.10.1-8ubuntu2           
                                 Core Perl modules
iU  perl-suid                                         5.10.1-8ubuntu2           
                                 runs setuid Perl scripts
iU  perl-tk                                           1:804.028-6               
                                 Perl module providing the Tk graphics librar
ii  perlmagick                                        
7:6.3.7.9.dfsg1-2ubuntu1.1                                 Perl interface to 
the libMagick graphics rou


~$ apt-cache policy libperl5.10 perl-tk perl-suid perl-modules  perl-mapscript  
perl-doc  perl-base perl dpkg liblocale-gettext-perl
libperl5.10:
  Installed: 5.10.1-8ubuntu2
  Candidate: 5.10.1-8ubuntu2
  Version table:
 *** 5.10.1-8ubuntu2 0
        500 http://de.archive.ubuntu.com lucid/main Packages
        500 http://archive.ubuntu.com lucid/main Packages
        100 /var/lib/dpkg/status
perl-tk:
  Installed: 1:804.028-6
  Candidate: 1:804.028-6
  Version table:
 *** 1:804.028-6 0
        500 http://de.archive.ubuntu.com lucid/universe Packages
        100 /var/lib/dpkg/status
perl-suid:
  Installed: 5.10.1-8ubuntu2
  Candidate: 5.10.1-8ubuntu2
  Version table:
 *** 5.10.1-8ubuntu2 0
        500 http://de.archive.ubuntu.com lucid/main Packages
        500 http://archive.ubuntu.com lucid/main Packages
        100 /var/lib/dpkg/status
perl-modules:
  Installed: 5.10.1-8ubuntu2
  Candidate: 5.10.1-8ubuntu2
  Version table:
 *** 5.10.1-8ubuntu2 0
        500 http://de.archive.ubuntu.com lucid/main Packages
        500 http://archive.ubuntu.com lucid/main Packages
        100 /var/lib/dpkg/status
perl-mapscript:
  Installed: 5.6.1-1ubuntu1
  Candidate: 5.6.1-1ubuntu1
  Version table:
 *** 5.6.1-1ubuntu1 0
        500 http://de.archive.ubuntu.com lucid/universe Packages
        100 /var/lib/dpkg/status
perl-doc:
  Installed: 5.10.1-8ubuntu2
  Candidate: 5.10.1-8ubuntu2
  Version table:
 *** 5.10.1-8ubuntu2 0
        500 http://de.archive.ubuntu.com lucid/main Packages
        500 http://archive.ubuntu.com lucid/main Packages
        100 /var/lib/dpkg/status
perl-base:
  Installed: 5.10.1-8ubuntu2
  Candidate: 5.10.1-8ubuntu2
  Version table:
 *** 5.10.1-8ubuntu2 0
        500 http://de.archive.ubuntu.com lucid/main Packages
        500 http://archive.ubuntu.com lucid/main Packages
        100 /var/lib/dpkg/status
perl:
  Installed: 5.10.1-8ubuntu2
  Candidate: 5.10.1-8ubuntu2
  Version table:
 *** 5.10.1-8ubuntu2 0
        500 http://de.archive.ubuntu.com lucid/main Packages
        500 http://archive.ubuntu.com lucid/main Packages
        100 /var/lib/dpkg/status
dpkg:
  Installed: 1.15.5.6ubuntu4
  Candidate: 1.15.5.6ubuntu4
  Version table:
 *** 1.15.5.6ubuntu4 0
        500 http://de.archive.ubuntu.com lucid/main Packages
        500 http://archive.ubuntu.com lucid/main Packages
        100 /var/lib/dpkg/status
liblocale-gettext-perl:
  Installed: 1.05-6
  Candidate: 1.05-6
  Version table:
 *** 1.05-6 0
        500 http://de.archive.ubuntu.com lucid/main Packages
        500 http://archive.ubuntu.com lucid/main Packages
        100 /var/lib/dpkg/status


This results in a system in unknown state:
~$ sudo apt-get -f install
[sudo] password for gerhard: 
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct 
the problem. 
~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of libintl-xs-perl:
 libintl-xs-perl depends on perl (>= 5.10.0-24ubuntu4); however:
  Package perl is not installed.
dpkg: error processing libintl-xs-perl (--configure):
 dependency problems - leaving unconfigured
[...]
 libapache2-reload-perl
 libemail-find-perl
Processing was halted because there were too many errors.

Or:
sudo aptitude remove vim-gtk vim-gnome doc-base gnumeric-plugins-extra irssi 
dhelp libapache2-mod-perl2 elinks xchat pidgin
[...]
47 packages upgraded, 14 newly installed, 37 to remove and 2959 not upgraded.
Need to get 0B/8333kB of archives. After unpacking 17.4MB will be used.
Do you want to continue? [Y/n/?] 
Writing extended state information... Error!
E: I wasn't able to locate file for the libio-stringy-perl package. This might 
mean you need to manually fix this package.

after that I tried:
~$ sudo aptitude install libio-stringy-perl
[...]
Score is 2766

Accept this solution? [Y/n/q/?] 
The following packages are unused and will be REMOVED:
[...]
48 packages upgraded, 14 newly installed, 35 to remove and 2958 not upgraded.
Need to get 0B/75.9MB of archives. After unpacking 21.5MB will be used.
Do you want to continue? [Y/n/?] 
Writing extended state information... Done
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/auto/Text/Iconv/Iconv.so: 
undefined symbol: Perl_Tstack_sp_ptr
(Reading database ... 524494 files and directories currently installed.)
Removing libapache2-request-perl ...
Removing libapparmor-perl ...
Removing libapt-pkg-perl ...
Removing libdata-page-perl ...
Removing libclass-accessor-chained-perl ...
Removing libclass-accessor-perl ...
Removing libconfig-file-perl ...
Removing libfile-libmagic-perl ...
Removing libio-compress-base-perl ...
Removing libio-compress-zlib-perl ...
Removing perl-mapscript ...
(Reading database ... 524331 files and directories currently installed.)
Preparing to replace perl 5.10.1-8ubuntu2 (using 
.../perl_5.10.1-8ubuntu2_amd64.deb) ...
Unpacking replacement perl ...
dpkg: ../../src/archives.c:763: tarobject: Assertion `r == stab.st_size' failed.
E: Sub-process /usr/bin/dpkg exited unexpectedly
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of libintl-xs-perl:
 libintl-xs-perl depends on perl (>= 5.10.0-24ubuntu4); however:
  Package perl is not installed.
dpkg: error processing libintl-xs-perl (--configure):
 dependency problems - leaving unconfigured
[...]
dpkg: error processing libio-socket-ssl-perl (--configure):
 dependency problems - leaving unconfigured
dpkg: too many errors, stopping
Errors were encountered while processing:
 libintl-xs-perl
[...]
libio-socket-ssl-perl
Processing was halted because there were too many errors.
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done             

etc. I'm not able to upgrade the system, and I'm sure it won't boot:

~$ sudo aptitude full-upgrade 
2941 packages upgraded, 971 newly installed, 279 to remove and 0 not upgraded.
Need to get 11.6MB/3584MB of archives. After unpacking 3306MB will be used.
The following packages have unmet dependencies:
  xserver-xorg-video-all: Depends: xserver-xorg-video-apm but it is not 
installable
                          Depends: xserver-xorg-video-ark but it is not 
installable
                          Depends: xserver-xorg-video-ati but it is not 
installable
                          Depends: xserver-xorg-video-chips but it is not 
installable
                          Depends: xserver-xorg-video-mga but it is not 
installable
                          Depends: xserver-xorg-video-s3virge but it is not 
installable
                          Depends: xserver-xorg-video-v4l but it is not 
installable
  console-setup: Depends: kbd (>= 1.15-1ubuntu3) but it is not installable
[...]
Resolving dependencies...
open: 5273; closed: 4890; defer: 0; conflict: 77                                
                                                                                
   ONo solution found within the allotted time.  Try harder? [Y/n]
Resolving dependencies...
open: 10564; closed: 9909; defer: 0; conflict: 91                               
                                                                                
   .No solution found within the allotted time.  Try harder? [Y/n]n
Abandoning all efforts to resolve these dependencies.
Abort.

Please, help me to find a workaround.

** Affects: dpkg (Ubuntu)
     Importance: Undecided
         Status: New

-- 
dpkg: ../../src/archives.c:763: tarobject: Assertion `r == stab.st_size' 
failed. Aborted
https://bugs.launchpad.net/bugs/573696
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to