Eu instalei um servidor xen (ubuntu Xenial). Eu criei vários convidados diferentes no xen-host, mas o apt-get update
(ou qualquer operação com apt-get
) nos convidados falha. Eu posso pingar qualquer site de dentro dos convidados, por isso não é um problema de rede. Eu não tenho nenhum firewall instalado (especialmente o ufw). O xen-tools.conf
que eu usei para criar as VMs host tem a seguinte opção definida.
dir = /home/xen
install-method = debootstrap
size = 10G # Root disk, suffix (G, M, k) required
memory = 4G # Suffix (G, M, k) required
#maxmem = 256M # Suffix (G, M, k) optional
swap = 1G # Suffix (G, M, k) required
# noswap = 1 # Don't use swap at all for new systems.
fs = ext3 # Default file system for any disk
dist = 'xt-guess-suite-and-mirror --suite'
# Default distribution is determined by Dom0's distribution
image = sparse # Specify sparse vs. full disk images (file based images only)
dhcp = 1
passwd = 1
accounts = 1
kernel = /boot/vmlinuz-'uname -r'
initrd = /boot/initrd.img-'uname -r'
arch = amd64
mirror = 'xt-guess-suite-and-mirror --mirror'
mirror = http://archive.ubuntu.com/ubuntu
ext4_options = noatime,nodiratime,errors=remount-ro
ext3_options = noatime,nodiratime,errors=remount-ro
ext2_options = noatime,nodiratime,errors=remount-ro
xfs_options = defaults
reiserfs_options = defaults
btrfs_options = defaults
O /etc/apt/sources.list
do convidado é o seguinte:
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe
deb http://security.ubuntu.com/ubuntu xenial-security main restricted universe
deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted universe
apt-get update
produz o seguinte erro (para reduzir o erro, comentei todas as fontes, exceto a primeira em sources.list
):
Ign:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Ign:2 http://archive.ubuntu.com/ubuntu xenial Release
Ign:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Ign:4 http://archive.ubuntu.com/ubuntu xenial/main all Packages
Ign:5 http://archive.ubuntu.com/ubuntu xenial/main Translation-en
Ign:6 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu xenial/restricted all Packages
Ign:8 http://archive.ubuntu.com/ubuntu xenial/restricted Translation-en
Ign:9 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Ign:10 http://archive.ubuntu.com/ubuntu xenial/universe all Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en
Ign:12 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu xenial/multiverse all Packages
Ign:14 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en
Ign:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Ign:4 http://archive.ubuntu.com/ubuntu xenial/main all Packages
Ign:5 http://archive.ubuntu.com/ubuntu xenial/main Translation-en
Ign:6 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu xenial/restricted all Packages
Ign:8 http://archive.ubuntu.com/ubuntu xenial/restricted Translation-en
Ign:9 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Ign:10 http://archive.ubuntu.com/ubuntu xenial/universe all Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en
Ign:12 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu xenial/multiverse all Packages
Ign:14 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en
Ign:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Ign:4 http://archive.ubuntu.com/ubuntu xenial/main all Packages
Ign:5 http://archive.ubuntu.com/ubuntu xenial/main Translation-en
Ign:6 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu xenial/restricted all Packages
Ign:8 http://archive.ubuntu.com/ubuntu xenial/restricted Translation-en
Ign:9 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Ign:10 http://archive.ubuntu.com/ubuntu xenial/universe all Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en
Ign:12 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu xenial/multiverse all Packages
Ign:14 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en
Ign:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Ign:4 http://archive.ubuntu.com/ubuntu xenial/main all Packages
Ign:5 http://archive.ubuntu.com/ubuntu xenial/main Translation-en
Ign:6 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu xenial/restricted all Packages
Ign:8 http://archive.ubuntu.com/ubuntu xenial/restricted Translation-en
Ign:9 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Ign:10 http://archive.ubuntu.com/ubuntu xenial/universe all Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en
Ign:12 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu xenial/multiverse all Packages
Ign:14 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en
Ign:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
Ign:4 http://archive.ubuntu.com/ubuntu xenial/main all Packages
Ign:5 http://archive.ubuntu.com/ubuntu xenial/main Translation-en
Ign:6 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
Ign:7 http://archive.ubuntu.com/ubuntu xenial/restricted all Packages
Ign:8 http://archive.ubuntu.com/ubuntu xenial/restricted Translation-en
Ign:9 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Ign:10 http://archive.ubuntu.com/ubuntu xenial/universe all Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en
Ign:12 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu xenial/multiverse all Packages
Ign:14 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en
Err:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
404 Not Found
Ign:4 http://archive.ubuntu.com/ubuntu xenial/main all Packages
Ign:5 http://archive.ubuntu.com/ubuntu xenial/main Translation-en
Err:6 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
404 Not Found
Ign:7 http://archive.ubuntu.com/ubuntu xenial/restricted all Packages
Ign:8 http://archive.ubuntu.com/ubuntu xenial/restricted Translation-en
Err:9 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
404 Not Found
Ign:10 http://archive.ubuntu.com/ubuntu xenial/universe all Packages
Ign:11 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en
Err:12 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
404 Not Found
Ign:13 http://archive.ubuntu.com/ubuntu xenial/multiverse all Packages
Reading package lists... Done
W: The repository 'http://archive.ubuntu.com/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/restricted/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/universe/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/multiverse/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Seria ótimo se alguém pudesse explicar o que poderia estar causando o erro.