apt-get update bzip2 errors

Posted by Tejas Kale on Ask Ubuntu See other posts from Ask Ubuntu or by Tejas Kale
Published on 2012-02-01T13:00:52Z Indexed on 2012/11/16 5:13 UTC
Read the original article Hit count: 350

Filed under:

I installed Ubuntu 11.10 today on my Lenovo w500. After that when i tried running

sudo apt-get update

This is the error i am getting.

Get:117 http://ftp.jaist.ac.jp oneiric-security/universe TranslationIndex [73 B]                                                                                                         
99% [48 Sources bzip2 0 B] [22 Sources bzip2 5,294 kB]                                                                                                                      1,983 kB/s 0s
bzip2: Compressed file ends unexpectedly;
    perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
    Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files.

I found the following similar question : Errors while updating Ubuntu 11.10 , But the solutions mentioned ( changing the download server, running apt-get clean, apt-get autoclean) and have also tried removing the /var/cache/apt/archives/lists direcotry.

As a result of this, I am unable to install any new packages.

© Ask Ubuntu or respective owner

Related posts about apt

Related posts about updates