Answer the question
In order to leave comments, you need to log in
Why might apt-get not work on Ubuntu?
Hello colleagues.
Such a situation:
There is a machine with ubuntu 14.10 on board. For some reason, apt-get does not work, namely, when I do sudo apt-get mc, it writes E: Unable to locate package mc and so on with any packages.
The Internet was connected through a proxy with IP authorization. Configured a proxy: 1. Made export http_proxy, etc., 2. added proxy lines to files in /etc/apt/apt.conf and /etc/apt/apt.conf.d/proxy, in /etc/bash .bashrc, in /etc/environment. The result - the Internet works, wget downloads, apt-get refuses.
I spat and connected and configured the USB modem and cleaned the traces of the proxy on the computer - the essence is the same. The Internet works in the browser, YouTube shows, wget downloads, apt-get - No.
When executing apt-get update, in any case, it writes Err <address> Sources 404 Not Found
Where to dig, comrades?
Answer the question
In order to leave comments, you need to log in
Where to dig, comrades?
Double check if the sources in /etc/apt/sources.list are correct
Temporarily disable third party sources (PPA) to be safe.
sudo apt-get update
sudo apt-get install mc
Thank you. Indeed, there were irrelevant links to the repositories.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question