Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After I installed Ubuntu , I cannot update any software with the error message "failed to download package files". After having googled, I have tried:

  1. sudo apt-get update
  2. sudo apt-get upgrade
  3. changed to another sources

But I still got the same error message. And there is no problem with internet connection as i can connect to internet using Firefox in Ubuntu.

Any ideas?

share|improve this question

3 Answers

Press ALT+F2 and type software-properties-gtk.

Change the download location to Main Server or another server close to the country you live in and try to sudo apt-get update again.

enter image description here

share|improve this answer

There's a Package Manager Troubleshooting Procedure that usually solves this sort of problem. Perform steps 1-4 of that procedure. (Step 1, which is sometimes enough, is what Bruno Pereira has posted--in better detail--in this answer. If step 1 isn't enough, continue with the other steps.)

If that doesn't solve the problem, then please select all the text in the Terminal (Edit > Select All), copy it to the clipboard (Edit > Copy), and edit your question to include it (you'll want to make it a blockquote so that the formatting doesn't get messed up). This will then provide highly useful information for solving the problem.

share|improve this answer

Possible issue, and solution:

[Solved] No network on Ubuntu guest after installing update

https://forums.virtualbox.org/viewtopic.php?f=3&t=41708

share|improve this answer
and im not using the virtual or vbox – santosamaru Mar 18 '12 at 21:42
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – ObsessiveSSOℲ Nov 6 '12 at 21:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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