dpkg: ../../src/archives.c:763: tarobject: Assertion `r == stab.st_size' failed. Aborted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Debian) |
Fix Released
|
Unknown
|
|||
dpkg (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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/
(Reading database ... 524499 files and directories currently installed.)
Preparing to replace perl 5.10.1-8ubuntu2 (using .../perl_
Unpacking replacement perl ...
dpkg: ../../src/
Aborted
This may be related to these bugs?
https:/
http://
~$ dpkg -l liblocale*perl* perl* libperl*|grep ^i
ii liblocale-
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.
~$ apt-cache policy libperl5.10 perl-tk perl-suid perl-modules perl-mapscript perl-doc perl-base perl dpkg liblocale-
libperl5.10:
Installed: 5.10.1-8ubuntu2
Candidate: 5.10.1-8ubuntu2
Version table:
*** 5.10.1-8ubuntu2 0
500 http://
500 http://
100 /var/lib/
perl-tk:
Installed: 1:804.028-6
Candidate: 1:804.028-6
Version table:
*** 1:804.028-6 0
500 http://
100 /var/lib/
perl-suid:
Installed: 5.10.1-8ubuntu2
Candidate: 5.10.1-8ubuntu2
Version table:
*** 5.10.1-8ubuntu2 0
500 http://
500 http://
100 /var/lib/
perl-modules:
Installed: 5.10.1-8ubuntu2
Candidate: 5.10.1-8ubuntu2
Version table:
*** 5.10.1-8ubuntu2 0
500 http://
500 http://
100 /var/lib/
perl-mapscript:
Installed: 5.6.1-1ubuntu1
Candidate: 5.6.1-1ubuntu1
Version table:
*** 5.6.1-1ubuntu1 0
500 http://
100 /var/lib/
perl-doc:
Installed: 5.10.1-8ubuntu2
Candidate: 5.10.1-8ubuntu2
Version table:
*** 5.10.1-8ubuntu2 0
500 http://
500 http://
100 /var/lib/
perl-base:
Installed: 5.10.1-8ubuntu2
Candidate: 5.10.1-8ubuntu2
Version table:
*** 5.10.1-8ubuntu2 0
500 http://
500 http://
100 /var/lib/
perl:
Installed: 5.10.1-8ubuntu2
Candidate: 5.10.1-8ubuntu2
Version table:
*** 5.10.1-8ubuntu2 0
500 http://
500 http://
100 /var/lib/
dpkg:
Installed: 1.15.5.6ubuntu4
Candidate: 1.15.5.6ubuntu4
Version table:
*** 1.15.5.6ubuntu4 0
500 http://
500 http://
100 /var/lib/
liblocale-
Installed: 1.05-6
Candidate: 1.05-6
Version table:
*** 1.05-6 0
500 http://
500 http://
100 /var/lib/
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-
libemail-find-perl
Processing was halted because there were too many errors.
Or:
sudo aptitude remove vim-gtk vim-gnome doc-base gnumeric-
[...]
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/
(Reading database ... 524494 files and directories currently installed.)
Removing libapache2-
Removing libapparmor-perl ...
Removing libapt-pkg-perl ...
Removing libdata-page-perl ...
Removing libclass-
Removing libclass-
Removing libconfig-file-perl ...
Removing libfile-
Removing libio-compress-
Removing libio-compress-
Removing perl-mapscript ...
(Reading database ... 524331 files and directories currently installed.)
Preparing to replace perl 5.10.1-8ubuntu2 (using .../perl_
Unpacking replacement perl ...
dpkg: ../../src/
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-
dependency problems - leaving unconfigured
dpkg: too many errors, stopping
Errors were encountered while processing:
libintl-xs-perl
[...]
libio-socket-
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-
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.
Changed in dpkg (Debian): | |
status: | Unknown → Fix Released |
This bugreport might also be related: bugs.debian. org/cgi- bin/bugreport. cgi?bug= 479220
Perl upgrade fails
http://
~$ sudo debconf-show perl5/auto/ Text/Iconv/ Iconv.so: undefined symbol: Perl_Tstack_sp_ptr
/usr/bin/perl: symbol lookup error: /usr/lib/
Another try (these packages were in a hold state before)
~$ sudo apt-get -f install ver::Resolve generated breaks, this may be caused by held packages.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
cupsys-bsd: Depends: libcupsys2 (>= 1.3.4)
[...]
libgtk2-perl: Depends: libpango-perl (>= 1.220) but it is not installed
[...]
xfprint4: Depends: libcupsys2 (>= 1.3.4)
E: Error, pkgProblemResol
E: Unable to correct dependencies
~$ sudo aptitude unhold cinepaint-data enblend freeglut3-dev libglut3-dev libplot-dev libxaw-headers libxaw7-dev tablematrix- perl: Depends: perlapi-5.8.8 which is a virtual package. socket- ssl-perl: Depends: libnet-ssleay-perl (>= 1.35) but 1.30-1 is installed and it is kept back.
[...]
0 packages upgraded, 0 newly installed, 10 to remove and 3019 not upgraded.
Need to get 0B/4400kB of archives. After unpacking 2245kB will be freed.
The following packages have unmet dependencies:
libtk-
[...]
libio-
Resolving dependencies...
E: I wasn't able to locate file for the libio-stringy-perl package. This might mean you need to manually fix this package.
The following actions will resolve these dependencies:
Remove the following packages:
[...]
Score is 2423
Accept this solution? [Y/n/q/?]
[...]
47 packages upgraded, 14 newly installed, 24 to remove and 2959 not upgraded.
Need to get 0B/8333kB of archives. After unpacking 26.6MB 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.
Anyway, they are no longer in the hold state:
~$ aptitude search "~ahold" | grep "^.h"
~$
Thank you in advance