Yes, it came to my mind while reading this bugreport:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524919

I could resolve these errors by debugging with dpkg -D163

e.g.:
Preparing to replace enscript 1.6.4-12ubuntu0.8.04.1 (using 
.../enscript_1.6.5-1_amd64.deb) ...
Unpacking replacement enscript ...
dpkg: error processing /var/cache/apt/archives/enscript_1.6.5-1_amd64.deb 
(--unpack):
 trying to overwrite '/usr/share/enscript/hl/octave.st', which is also in 
package octave3.0 1:3.0.0-9ubuntu1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
[...]
r...@ubuntu:~# dpkg -i --force-overwrite 
/var/cache/apt/archives/enscript_1.6.5-1_amd64.deb
(Reading database ... 550292 files and directories currently installed.)
Preparing to replace enscript 1.6.5-1 (using .../enscript_1.6.5-1_amd64.deb) ...
Unpacking replacement enscript ...
dpkg: ../../src/archives.c:763: tarobject: Assertion `r == stab.st_size' failed.
Aborted
r...@ubuntu:~# dpkg -i --force-overwrite -D163 
/var/cache/apt/archives/enscript_1.6.5-1_amd64.deb
(Reading database ... 550292 files and directories currently installed.)
Preparing to replace enscript 1.6.5-1 (using .../enscript_1.6.5-1_amd64.deb) ...
D000020: process_archive conffile `/etc/enscript.cfg' package=enscript same 
hash=a07c6bdfa820e78cb6c570434e9e5187
D000001: process_archive oldversionstatus=broken due to failed removal or 
installation
D000002: maintainer_script_new nonexistent preinst 
`/var/lib/dpkg/tmp.ci/preinst'
Unpacking replacement enscript ...
D000100: setupvnamevbs main=`/.' tmp=`/..dpkg-tmp' new=`/..dpkg-new'
[...]
D000100: setupvnamevbs main=`/usr/share/doc/enscript/index.html' 
tmp=`/usr/share/doc/enscript/index.html.dpkg-tmp' 
new=`/usr/share/doc/enscript/index.html.dpkg-new'
D000100: tarobject already exists
D000100: tarobject SymbolicLink creating
dpkg: ../../src/archives.c:763: tarobject: Assertion `r == stab.st_size' failed.
Aborted
r...@ubuntu:~# mv -v /usr/share/doc/enscript/index.html 
/usr/share/doc/enscript/index.html_old
`/usr/share/doc/enscript/index.html' -> `/usr/share/doc/enscript/index.html_old'
r...@ubuntu:~# dpkg -i --force-overwrite  
/var/cache/apt/archives/enscript_1.6.5-1_amd64.deb
(Reading database ... 550292 files and directories currently installed.)
Preparing to replace enscript 1.6.5-1 (using .../enscript_1.6.5-1_amd64.deb) ...
Unpacking replacement enscript ...
Setting up enscript (1.6.5-1) ...
Installing new version of config file /etc/enscript.cfg ...
Processing triggers for install-info ...

I then moved the doc folder to an ext3 partitition and symlinked it
again.

Now everything seems to be fine.

Please, feel free to close this bugreport.

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to