[SOLVED] Cannot run apt update in turnkey LXC

saicrazyfire

New Member
Jan 21, 2018
2
0
1
33
Hi all,

I tried to run apt update (or even installing vim) on the LXC containers but I keep getting failed to reach IP errors. I've tried it on Debian 8, Debian 9, Ubuntu 16.10, Ubuntu 17.04 with similar results. (I put a space in the URLs since I cannot post links yet)

EDIT: I did not mean Turnkey in the title, that is different. These are the LXC containers in Proxmox

This is the error:

root@lxc-docker:~# apt install vim -y
Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
libgpm2 libpython3.5 vim-runtime
Suggested packages:
gpm ctags vim-doc vim-scripts vim-gnome-py2 | vim-gtk-py2 | vim-gtk3-py2 | vim-athena-py2 | vim-nox-py2
The following NEW packages will be installed:
libgpm2 libpython3.5 vim vim-runtime
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 7564 kB/7579 kB of archives.
After this operation, 34.7 MB of additional disk space will be used.
Err:1 http ://archive.ubuntu.com/ubuntu yakkety/main amd64 libpython3.5 amd64 3.5.2-6
404 Not Found [IP: 91.189.88.152 80]
Err:2 http ://archive.ubuntu.com/ubuntu yakkety/main amd64 vim-runtime all 2:7.4.1829-1ubuntu2
404 Not Found [IP: 91.189.88.152 80]
Err:3 http ://archive.ubuntu.com/ubuntu yakkety/main amd64 vim amd64 2:7.4.1829-1ubuntu2
404 Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http ://archive.ubuntu.com/ubuntu/pool/main/p/python3.5/libpython3.5_3.5.2-6_amd64.deb 404 Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http ://archive.ubuntu.com/ubuntu/pool/main/v/vim/vim-runtime_7.4.1829-1ubuntu2_all.deb 404 Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http ://archive.ubuntu.com/ubuntu/pool/main/v/vim/vim_7.4.1829-1ubuntu2_amd64.deb 404 Not Found [IP: 91.189.88.152 80]E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

-------

root@lxc-docker:~# apt update
Ign:1 http ://archive.ubuntu.com/ubuntu yakkety InRelease
Ign:2 http ://archive.ubuntu.com/ubuntu yakkety-updates InRelease
Ign:3 http ://archive.ubuntu.com/ubuntu yakkety-security InRelease
Err:4 http ://archive.ubuntu.com/ubuntu yakkety Release
404 Not Found [IP: 91.189.88.161 80]
Err:5 http ://archive.ubuntu.com/ubuntu yakkety-updates Release
404 Not Found [IP: 91.189.88.161 80]
Err:6 http ://archive.ubuntu.com/ubuntu yakkety-security Release
404 Not Found [IP: 91.189.88.161 80]
Reading package lists... Done
E: The repository 'http ://archive.ubuntu.com/ubuntu yakkety Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http ://archive.ubuntu.com/ubuntu yakkety-updates Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http ://archive.ubuntu.com/ubuntu yakkety-security Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
 
16.10 (yakkety yak) is EOL upstream, so the repository has been moved to old-releases.ubuntu.com
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!