Apt-get update some index files failed to download.






















For a text-based editor not requiring any GUI , replace the third line with sudo nano -w sources. Option 3: Command Line Substitution sed allows you to write simple or complicated scripts that act on a file, one line at a time. For a new server besides us. I decided to copy sources. This is one way to ensure that sed is not overwriting the file while it's still reading it. The sed "script" here is very simple.

This explains how substitution works. But what download servers are there? Improve this answer. Shouldn't the answer also address "0 upgraded, 3 newly installed, 0 to remove and 21 not upgraded? It's based on information about available packages that is out of date. Also, just saying "run apt-get dist-upgrade " wouldn't be a sufficient response to that, as sometimes dist-upgrade does not resolve dependencies in a good way--important packages might end up removed. Probably not, but it's important to inspect what it proposes to do, rather than running ahead with it.

If this issue persists, I think it would likely be best asked as a separate question. It worked really well — Rakesh Godhala. Following option 3 , I still get an error: some index files failed to download. It should be noted that this could also happen if the repository no longer exists permanently , when you update to a new version of Ubuntu, as well as many other reasons.

Either the mirror is down or you internet connection has issues can be temporary. PING archive. PING 8. Any suggestions?? These links might help: help. Show 1 more comment. This did not work for me. Why would it? Try this. It works for me. Search Blogs. Mark Forums Read. User Name. Remember Me? Ubuntu This forum is for the discussion of Ubuntu Linux. View Public Profile. View Review Entries. Find More Posts by tombiz. Some index files failed to download - FIX This usually means that you have repositories activated that don't exist anymore, at least on the mirror you are using.

Some index files failed to download - FIX Thanks for posting the solution. Posting Rules. Similar Threads. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 5 years, 1 month ago. Active 5 years, 1 month ago. Viewed 27k times. Improve this question. You got answers about how to upgrade your system while not upgrading the kernel.

This doesn't appear to actually be the problem you are trying to solve. You can also subscribe without commenting. This site uses Akismet to reduce spam. Learn how your comment data is processed. W: Failed to fetch archive. They have been ignored, or old ones used instead. Here are a few fixes that you can take to resolve the error. Solution 1: Revert to the Original Ubuntu Mirror If you bump into this error, the first trick up your sleeve is to switch back to the original mirror.

If you liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? Related Posts.



0コメント

  • 1000 / 1000