[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems installing QEMU packages on Debian 12 (stable)



Hi,

I am trying to make KVM/QEMU work on my Debian 12. I follow https://wiki.debian.org/KVM but I get stuck already on installation, because apt-get reports non-existent packages on debian repos.

I ran

sudo apt install qemu-system libvirt-daemon-system virt-manager

It resolves packages, but when fails on 404 on qemu / xen packages

Full output is here:

sudo apt install qemu-system libvirt-daemon-system virt-manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libcapi20-3 libodbc2 libosmesa6 libz-mingw-w64
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  gir1.2-ayatanaappindicator3-0.1 gir1.2-gtk-vnc-2.0 gir1.2-libosinfo-1.0 gir1.2-libvirt-glib-1.0 gir1.2-spiceclientglib-2.0 gir1.2-spiceclientgtk-3.0 gir1.2-vte-2.91 gnutls-bin ibverbs-providers ipxe-qemu
  libcacard0 libcapstone4 libdaxctl1 libexecs0 libfdt1 libfmt9 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libgtk-vnc-2.0-0 libgvnc-1.0-0 libibverbs1 libiscsi7 libisoburn1 libndctl6 libnss-mymachines
  libphodav-3.0-0 libphodav-3.0-common libpmem1 librados2 librbd1 librdmacm1 libspice-client-glib-2.0-8 libspice-client-gtk-3.0-5 libspice-server1 libtpms0 liburing2 libusbredirhost1 libusbredirparser1
  libvdeplug2 libvirglrenderer1 libvirt-clients libvirt-daemon libvirt-daemon-config-network libvirt-daemon-config-nwfilter libvirt-daemon-driver-lxc libvirt-daemon-driver-qemu libvirt-daemon-driver-vbox
  libvirt-daemon-driver-xen libvirt-daemon-system-systemd libvirt-glib-1.0-0 libvirt-glib-1.0-data libvirt-l10n libvirt0 libxencall1 libxendevicemodel1 libxenevtchn1 libxenforeignmemory1 libxengnttab1
  libxenhypfs1 libxenmisc4.17 libxenstore4 libxentoolcore1 libxentoollog1 libxml2-utils mdevctl netcat-openbsd ovmf python3-libvirt python3-libxml2 qemu-block-extra qemu-efi-aarch64 qemu-efi-arm
  qemu-system-arm qemu-system-common qemu-system-data qemu-system-gui qemu-system-mips qemu-system-misc qemu-system-ppc qemu-system-sparc qemu-system-x86 qemu-utils seabios spice-client-glib-usb-acl-helper
  swtpm swtpm-libs swtpm-tools systemd-container virt-viewer virtinst xorriso
Suggested packages:
  libvirt-clients-qemu libvirt-login-shell libvirt-daemon-driver-storage-gluster libvirt-daemon-driver-storage-iscsi-direct libvirt-daemon-driver-storage-rbd libvirt-daemon-driver-storage-zfs numad auditd
  nfs-common open-iscsi pm-utils systemtap zfsutils samba vde2 trousers python3-guestfs ssh-askpass xorriso-tcltk jigit cdck
The following NEW packages will be installed:
  gir1.2-ayatanaappindicator3-0.1 gir1.2-gtk-vnc-2.0 gir1.2-libosinfo-1.0 gir1.2-libvirt-glib-1.0 gir1.2-spiceclientglib-2.0 gir1.2-spiceclientgtk-3.0 gir1.2-vte-2.91 gnutls-bin ibverbs-providers ipxe-qemu
  libcacard0 libcapstone4 libdaxctl1 libexecs0 libfdt1 libfmt9 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libgtk-vnc-2.0-0 libgvnc-1.0-0 libibverbs1 libiscsi7 libisoburn1 libndctl6 libnss-mymachines
  libphodav-3.0-0 libphodav-3.0-common libpmem1 librados2 librbd1 librdmacm1 libspice-client-glib-2.0-8 libspice-client-gtk-3.0-5 libspice-server1 libtpms0 liburing2 libusbredirhost1 libusbredirparser1
  libvdeplug2 libvirglrenderer1 libvirt-clients libvirt-daemon libvirt-daemon-config-network libvirt-daemon-config-nwfilter libvirt-daemon-driver-lxc libvirt-daemon-driver-qemu libvirt-daemon-driver-vbox
  libvirt-daemon-driver-xen libvirt-daemon-system libvirt-daemon-system-systemd libvirt-glib-1.0-0 libvirt-glib-1.0-data libvirt-l10n libvirt0 libxencall1 libxendevicemodel1 libxenevtchn1 libxenforeignmemory1
  libxengnttab1 libxenhypfs1 libxenmisc4.17 libxenstore4 libxentoolcore1 libxentoollog1 libxml2-utils mdevctl netcat-openbsd ovmf python3-libvirt python3-libxml2 qemu-block-extra qemu-efi-aarch64 qemu-efi-arm
  qemu-system qemu-system-arm qemu-system-common qemu-system-data qemu-system-gui qemu-system-mips qemu-system-misc qemu-system-ppc qemu-system-sparc qemu-system-x86 qemu-utils seabios
  spice-client-glib-usb-acl-helper swtpm swtpm-libs swtpm-tools systemd-container virt-manager virt-viewer virtinst xorriso
0 upgraded, 96 newly installed, 0 to remove and 0 not upgraded.
Need to get 97,7 MB/143 MB of archives.
After this operation, 974 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://deb.debian.org/debian bookworm/main amd64 gnutls-bin amd64 3.7.9-2+deb12u1
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:2 http://deb.debian.org/debian bookworm/main amd64 systemd-container amd64 252.19-1~deb12u1
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:3 http://deb.debian.org/debian bookworm/main amd64 libnss-mymachines amd64 252.19-1~deb12u1
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:4 http://deb.debian.org/debian bookworm/main amd64 libxentoolcore1 amd64 4.17.2+76-ge1f9cb16e2-1~deb12u1
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:5 http://deb.debian.org/debian bookworm/main amd64 libxentoollog1 amd64 4.17.2+76-ge1f9cb16e2-1~deb12u1
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:6 http://deb.debian.org/debian bookworm/main amd64 libxencall1 amd64 4.17.2+76-ge1f9cb16e2-1~deb12u1
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:7 http://deb.debian.org/debian bookworm/main amd64 libxendevicemodel1 amd64 4.17.2+76-ge1f9cb16e2-1~deb12u1
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:8 http://deb.debian.org/debian bookworm/main amd64 libxenevtchn1 amd64 4.17.2+76-ge1f9cb16e2-1~deb12u1
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:9 http://deb.debian.org/debian bookworm/main amd64 libxenforeignmemory1 amd64 4.17.2+76-ge1f9cb16e2-1~deb12u1
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:10 http://deb.debian.org/debian bookworm/main amd64 libxengnttab1 amd64 4.17.2+76-ge1f9cb16e2-1~deb12u1
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:11 http://deb.debian.org/debian bookworm/main amd64 libxenhypfs1 amd64 4.17.2+76-ge1f9cb16e2-1~deb12u1
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:12 http://deb.debian.org/debian bookworm/main amd64 libxenstore4 amd64 4.17.2+76-ge1f9cb16e2-1~deb12u1
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:13 http://deb.debian.org/debian bookworm/main amd64 libxenmisc4.17 amd64 4.17.2+76-ge1f9cb16e2-1~deb12u1
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:14 http://deb.debian.org/debian bookworm/main amd64 qemu-system-common amd64 1:7.2+dfsg-7+deb12u3
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:15 http://deb.debian.org/debian bookworm/main amd64 qemu-system-data all 1:7.2+dfsg-7+deb12u3
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:16 http://deb.debian.org/debian bookworm/main amd64 qemu-system-x86 amd64 1:7.2+dfsg-7+deb12u3
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:17 http://deb.debian.org/debian bookworm/main amd64 qemu-system-arm amd64 1:7.2+dfsg-7+deb12u3
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:18 http://deb.debian.org/debian bookworm/main amd64 qemu-system-mips amd64 1:7.2+dfsg-7+deb12u3
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:19 http://deb.debian.org/debian bookworm/main amd64 qemu-system-ppc amd64 1:7.2+dfsg-7+deb12u3
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:20 http://deb.debian.org/debian bookworm/main amd64 qemu-system-sparc amd64 1:7.2+dfsg-7+deb12u3
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:21 http://deb.debian.org/debian bookworm/main amd64 qemu-system-misc amd64 1:7.2+dfsg-7+deb12u3
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:22 http://deb.debian.org/debian bookworm/main amd64 qemu-utils amd64 1:7.2+dfsg-7+deb12u3
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:23 http://deb.debian.org/debian bookworm/main amd64 qemu-block-extra amd64 1:7.2+dfsg-7+deb12u3
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:24 http://deb.debian.org/debian bookworm/main amd64 qemu-system amd64 1:7.2+dfsg-7+deb12u3
  404  Not Found [IP: 2a04:4e42:41::644 80]
Err:25 http://deb.debian.org/debian bookworm/main amd64 qemu-system-gui amd64 1:7.2+dfsg-7+deb12u3
  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/gnutls28/gnutls-bin_3.7.9-2%2bdeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/s/systemd/systemd-container_252.19-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/s/systemd/libnss-mymachines_252.19-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/x/xen/libxentoolcore1_4.17.2%2b76-ge1f9cb16e2-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/x/xen/libxentoollog1_4.17.2%2b76-ge1f9cb16e2-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/x/xen/libxencall1_4.17.2%2b76-ge1f9cb16e2-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/x/xen/libxendevicemodel1_4.17.2%2b76-ge1f9cb16e2-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/x/xen/libxenevtchn1_4.17.2%2b76-ge1f9cb16e2-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/x/xen/libxenforeignmemory1_4.17.2%2b76-ge1f9cb16e2-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/x/xen/libxengnttab1_4.17.2%2b76-ge1f9cb16e2-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/x/xen/libxenhypfs1_4.17.2%2b76-ge1f9cb16e2-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/x/xen/libxenstore4_4.17.2%2b76-ge1f9cb16e2-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/x/xen/libxenmisc4.17_4.17.2%2b76-ge1f9cb16e2-1%7edeb12u1_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-common_7.2%2bdfsg-7%2bdeb12u3_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-data_7.2%2bdfsg-7%2bdeb12u3_all.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-x86_7.2%2bdfsg-7%2bdeb12u3_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-arm_7.2%2bdfsg-7%2bdeb12u3_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-mips_7.2%2bdfsg-7%2bdeb12u3_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-ppc_7.2%2bdfsg-7%2bdeb12u3_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-sparc_7.2%2bdfsg-7%2bdeb12u3_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-misc_7.2%2bdfsg-7%2bdeb12u3_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-utils_7.2%2bdfsg-7%2bdeb12u3_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-block-extra_7.2%2bdfsg-7%2bdeb12u3_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system_7.2%2bdfsg-7%2bdeb12u3_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/q/qemu/qemu-system-gui_7.2%2bdfsg-7%2bdeb12u3_amd64.deb  404  Not Found [IP: 2a04:4e42:41::644 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


I tried forcing IPv4 , ran apt-get update, --fix-missing too.

Apart from few external repos, I use only vanilla Debian 12 stable repos in my /etc/apt/sources.list


cat /etc/apt/sources.list
#deb cdrom:[Official Debian GNU/Linux Live 12.1.0 gnome 2023-07-22T09:48:34Z]/ bookworm main non-free-firmware

deb http://deb.debian.org/debian/ bookworm main contrib
deb-src http://deb.debian.org/debian/ bookworm main contrib

deb http://security.debian.org/debian-security bookworm-security main contrib
deb-src http://security.debian.org/debian-security bookworm-security main contrib

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main contrib
deb-src http://deb.debian.org/debian/ bookworm-updates main contrib

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

deb http://deb.debian.org/debian bookworm-backports main contrib non-free


Is there something broken with QEMU packages? I haven't found the versions which it is trying to download on deb.debian.org.

Thank you for help

Lukas Nagy


Reply to: