E: Failed to fetch ftp://ftp.iitb.ac.in/os/ubuntu/archives/pool/main/o/openjdk-7/icedtea-7-jre-jamvm_7u55-2.4.7-1ubuntu1_amd64.deb  Unable to fetch file, server said 'Failed to open file.  '

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I got this error while writing the following commnad:

sudo apt-get install openjdk-7-jdk

I don't have any is idea why, I am very new to ubuntu, please answer in simple language.


Try changing the mirror Manish.

To do this , go to System Settings -> Softwares & Updates -> Ubuntu Software and select 'Main Server' or 'Other...' to select other mirrors.

If you select Other... option you can select any other mirror other than the Indian mirrors

Ubuntu Softwares & Updates Window


Sound like you may need to chage mirrors and resynchronize the package index files from their sources.

open Ubuntu Software Centre

And choose Edit -> Software Services -> Ubuntu Software -> Download From

Since your current mirror is in India i'm gussing you would like one close to that. Navigate to India -> mirror.cse.iitk.ac.in select the protocol as http

enter image description here

Close Software Centre and then open a terminal and try the below command.

sudo apt-get update && sudo apt-get install openjdk-7-jdk

  • Yeah, my problem got fixed, our server was down.. – Manish Aug 5 '14 at 16:55
  • @Manish Great You should answer your own question then. – squareborg Aug 5 '14 at 18:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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