I am running Lubuntu 15.04 in VirtualBox and suddenly when I use the apt-get
command it is unable to connect to the server I have been using for downloads (ubuntuarchive.mirror.nac.net
). The problem has persisted for several days but I was previously able to install through sudo apt-get
. Any suggestions?
The error message I get when I try to run sudo apt-get update
is versions of this for every package:
Failed to fetch http://ubuntuarchive.mirror.nac.net/dists/wily/Release.gpg Unable to connect to ubuntuarchive.mirror.nac.net:http:
Best Answer
Most likely that mirror is dead. It makes sense since Ubuntu 15.10 was end-of-lifed on July 28, 2016. Meaning no more patches and no more upgrades. Your best and most solid bet is to moving to an LTS of Ubuntu such as Ubuntu 16.04; or Lubuntu 16.04 in your case.
But if you want to get a final round of patches in place, you can change your
sources.list
to point to the Ubuntuold-releases
archive. Instructions can be found here.First, back up your
sources.list
like this:sudo cp /etc/apt/sources.list /etc/apt/sources.list.BACKUP
Then open up your
sources.list
file like this:And replace the contents with this:
And then run
update
like this:And when that is done, you should be set… In some way.
But honestly, you should upgrade to 16.04 LTS to get out of this mess.