Привет! Когда я выполняю следующие команды на моём кластере Proxmox 7.4-15, всё падает:
Bash:
ssh root@proxmox-server
apt update && apt install libguestfs-tools -y
wget
virt-customize -a debian-12-generic-amd64.qcow2 --install qemu-guest-agent
Ошибка, которую я получаю, выглядит так:
Bash:
[ 0.0] Examining the guest ...
[ 3.6] Setting a random seed
virt-customize: warning: random seed could not be set for this type of guest
[ 3.6] Installing packages: qemu-guest-agent
Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [30 B]
Get:5 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B]
Ign:2 bookworm InRelease
Ign:3 bookworm-updates InRelease
Ign:4 bookworm-backports InRelease
Ign:6 bookworm-security InRelease
(далее повторяются игнорирования InRelease)
Err:2 bookworm InRelease
Temporary failure resolving 'deb.debian.org'
Err:3 bookworm-updates InRelease
Temporary failure resolving 'deb.debian.org'
Err:4 bookworm-backports InRelease
Temporary failure resolving 'deb.debian.org'
Err:6 bookworm-security InRelease
Temporary failure resolving 'deb.debian.org'
Reading package lists...
W: Failed to fetch mirror+file:/etc/apt/mirrors/debian.list/dists/bookworm/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch mirror+file:/etc/apt/mirrors/debian.list/dists/bookworm-updates/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch mirror+file:/etc/apt/mirrors/debian.list/dists/bookworm-backports/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch mirror+file:/etc/apt/mirrors/debian-security.list/dists/bookworm-security/InRelease Temporary failure resolving 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package qemu-guest-agent
(далее повторяются ошибки с теми же сообщениями)
virt-customize: error:
export DEBIAN_FRONTEND=noninteractive
apt_opts='-q -y -o Dpkg::Options::=--force-confnew'
apt-get $apt_opts update
apt-get $apt_opts install 'qemu-guest-agent'
: command exited with an error
Если вы хотите сообщить об ошибках, запускайте virt-customize с включённым режимом отладки и прикладывайте полный вывод:
virt-customize -v -x [...]
Я пробовал отключать файрвол на этом узле, а также запускал то же самое с образом Ubuntu — результат всё тот же. Есть идеи, почему команда `virt-customize` не может получить доступ к зеркалам?
Bash:
ssh root@proxmox-server
apt update && apt install libguestfs-tools -y
wget
virt-customize -a debian-12-generic-amd64.qcow2 --install qemu-guest-agent
Ошибка, которую я получаю, выглядит так:
Bash:
[ 0.0] Examining the guest ...
[ 3.6] Setting a random seed
virt-customize: warning: random seed could not be set for this type of guest
[ 3.6] Installing packages: qemu-guest-agent
Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [30 B]
Get:5 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B]
Ign:2 bookworm InRelease
Ign:3 bookworm-updates InRelease
Ign:4 bookworm-backports InRelease
Ign:6 bookworm-security InRelease
(далее повторяются игнорирования InRelease)
Err:2 bookworm InRelease
Temporary failure resolving 'deb.debian.org'
Err:3 bookworm-updates InRelease
Temporary failure resolving 'deb.debian.org'
Err:4 bookworm-backports InRelease
Temporary failure resolving 'deb.debian.org'
Err:6 bookworm-security InRelease
Temporary failure resolving 'deb.debian.org'
Reading package lists...
W: Failed to fetch mirror+file:/etc/apt/mirrors/debian.list/dists/bookworm/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch mirror+file:/etc/apt/mirrors/debian.list/dists/bookworm-updates/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch mirror+file:/etc/apt/mirrors/debian.list/dists/bookworm-backports/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch mirror+file:/etc/apt/mirrors/debian-security.list/dists/bookworm-security/InRelease Temporary failure resolving 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package qemu-guest-agent
(далее повторяются ошибки с теми же сообщениями)
virt-customize: error:
export DEBIAN_FRONTEND=noninteractive
apt_opts='-q -y -o Dpkg::Options::=--force-confnew'
apt-get $apt_opts update
apt-get $apt_opts install 'qemu-guest-agent'
: command exited with an error
Если вы хотите сообщить об ошибках, запускайте virt-customize с включённым режимом отладки и прикладывайте полный вывод:
virt-customize -v -x [...]
Я пробовал отключать файрвол на этом узле, а также запускал то же самое с образом Ubuntu — результат всё тот же. Есть идеи, почему команда `virt-customize` не может получить доступ к зеркалам?
