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.

link|improve this question
Can you update the post to include your sources.list? – Amanda Feb 4 at 2:21
Things seem to have fixed themselves on their own. I did not discover the cause of the errors. Here's my sources.lst : pastebin.com/raw.php?i=CUcTVy4v – Tejas Kale Feb 6 at 12:44
That's consistent with a mirror just being down, I guess. Sometimes mirrors go down for a while. – Amanda Feb 7 at 21:30
But, I tried 3 different mirrors over a period of 4 days, and still got the same error. I guess there was some file corruption on all the mirrors, or I am damn unlucky. – Tejas Kale Feb 8 at 5:17
feedback

1 Answer

That is an unusual repository to include.

Start by disabling that particular repository.

The easy way is to launch Synaptic and go to Settings > Repositories -- jaist.ac.jp will be under Other Software. Uncheck it to disable it.

You can also comment it out by editing /etc/apt/sources.list and adding a # before the line that lists that repo.

link|improve this answer
jaist.ac.jp isn't a repository, it is the server. It is mirroring the oneiric-security repository. – psusi Feb 1 at 15:31
@amanda you are slightly mistaken. jaist.ac.jp Thats the url for the japan ubuntu repo. I tried different repos and still got the same error. – Tejas Kale Feb 1 at 15:32
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.