PDA

View Full Version : [ubuntu] Ubuntu 11.10 64 bit can't update anymore?



xtracool_protik
October 15th, 2011, 05:27 AM
I was trying to update Ubuntu 11.10 64 bit but I keep getting error:


installArchives() failed: Preconfiguring packages ...

Preconfiguring packages ...

Preconfiguring packages ...

(Reading database ...

dpkg: warning: files list file for package `ubuntu-docs' missing, assuming package has no files currently installed.


(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 323646 files and directories currently installed.)

Preparing to replace ubuntu-docs 11.10.4 (using .../ubuntu-docs_11.10.4_all.deb) ...

Unpacking replacement ubuntu-docs ...

dpkg: ../../src/archives.c:978: tarobject: Assertion `r == stab.st_size' failed.



I tried a solution around forums to remove ubuntu-docs from info but it appear again next time.

Thanks

xtracool_protik
October 15th, 2011, 11:16 PM
bump?

I hate to bump but couldn't find any replies so had to or Is it just me with this issue?

SheamusPatt
October 16th, 2011, 01:01 AM
The message 'Assertion `r == stab.st_size' failed.' looks suspiciously like a filesystem problem of some kind. Have you tried running a filesystem check (fsck)?

You'll likely want to do this from a live or recovery CD, since you need to check your default filesystem.

xtracool_protik
October 17th, 2011, 07:32 AM
It surely is not a file system corruption.
As you can see http://ubuntuforums.org/showthread.php?t=1580470

and http://ubuntuforums.org/showthread.php?t=1518301&page=2

Anyways still I tried fsck and it turned out to be clean.

The problem is even after using above mentioned method I can't get anything to install/remove cause /var/lib/dpkg/status will have ubuntu-docs section as soon as I do sudo dpkg --configure -a

The section in /var/lib/dpkg/status looks:

Package: ubuntu-docs
Status: install reinstreq half-installed
Priority: optional
Section: doc
Version: 11.10.4


Any thoughts?

I even tried downloading and installing package but same error :(

xtracool_protik
October 18th, 2011, 01:10 AM
http://askubuntu.com/questions/43066/how-to-get-dpkg-working-again is an accepted solution for this issue. But frankly I don't understand solution itself.

Can anyone elaborate? Thanks :)

xtracool_protik
October 18th, 2011, 07:19 PM
bump...

raja.genupula
October 21st, 2011, 04:17 PM
hi that means it sounds similar to,they are broken and actually we must have to careful with the remove commands because they are really very harmful if you dont care them while dealing with rm command

http://ubuntuforums.org/announcement.php?f=331 look at jdong post.