Docker VM script fails after Proxmox v9 update #1440

Closed
opened 2026-02-05 00:49:19 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @yawnoconway on GitHub (Aug 11, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Docker (VM)

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/docker-vm.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

After upgrading proxmox to v9, docker vm script fails due to missing debian 12/bookworm sources. Once "finished", docker is missing/not installed properly.

🔄 Steps to reproduce the issue.

Simply run default install of docker vm script in proxmox v9.

Paste the full error output (if available).

Adding Docker and Docker Compose Plugin to Debian 12 Qcow2 Disk Image Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [30 B]
Get:3 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B]
Ign:2 https://deb.debian.org/debian bookworm InRelease
Ign:4 https://deb.debian.org/debian bookworm-updates InRelease
Ign:5 https://deb.debian.org/debian bookworm-backports InRelease
Ign:6 https://deb.debian.org/debian-security bookworm-security InRelease
Ign:2 https://deb.debian.org/debian bookworm InRelease
Ign:4 https://deb.debian.org/debian bookworm-updates InRelease
Ign:5 https://deb.debian.org/debian bookworm-backports InRelease
Ign:6 https://deb.debian.org/debian-security bookworm-security InRelease
Ign:2 https://deb.debian.org/debian bookworm InRelease
Ign:4 https://deb.debian.org/debian bookworm-updates InRelease
Ign:5 https://deb.debian.org/debian bookworm-backports InRelease
Ign:6 https://deb.debian.org/debian-security bookworm-security InRelease
Err:2 https://deb.debian.org/debian bookworm InRelease
  Temporary failure resolving 'deb.debian.org'
Err:4 https://deb.debian.org/debian bookworm-updates InRelease
  Temporary failure resolving 'deb.debian.org'
Err:5 https://deb.debian.org/debian bookworm-backports InRelease
  Temporary failure resolving 'deb.debian.org'
Err:6 https://deb.debian.org/debian-security 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...
Package gnupg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package qemu-guest-agent
E: Package 'gnupg' has no installation candidate
E: Unable to locate package software-properties-common
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' 'apt-transport-https' 
'ca-certificates' 'curl' 'gnupg' 'software-properties-common' 'lsb-release'
    : command exited with an error

If reporting bugs, run virt-customize with debugging enabled and include 
the complete output:

  virt-customize -v -x [...]
Image

🖼️ Additional context (optional).

No response

Originally created by @yawnoconway on GitHub (Aug 11, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Docker (VM) ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/docker-vm.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. After upgrading proxmox to v9, docker vm script fails due to missing debian 12/bookworm sources. Once "finished", docker is missing/not installed properly. ### 🔄 Steps to reproduce the issue. Simply run default install of docker vm script in proxmox v9. ### ❌ Paste the full error output (if available). ``` Adding Docker and Docker Compose Plugin to Debian 12 Qcow2 Disk Image Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [30 B] Get:3 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B] Ign:2 https://deb.debian.org/debian bookworm InRelease Ign:4 https://deb.debian.org/debian bookworm-updates InRelease Ign:5 https://deb.debian.org/debian bookworm-backports InRelease Ign:6 https://deb.debian.org/debian-security bookworm-security InRelease Ign:2 https://deb.debian.org/debian bookworm InRelease Ign:4 https://deb.debian.org/debian bookworm-updates InRelease Ign:5 https://deb.debian.org/debian bookworm-backports InRelease Ign:6 https://deb.debian.org/debian-security bookworm-security InRelease Ign:2 https://deb.debian.org/debian bookworm InRelease Ign:4 https://deb.debian.org/debian bookworm-updates InRelease Ign:5 https://deb.debian.org/debian bookworm-backports InRelease Ign:6 https://deb.debian.org/debian-security bookworm-security InRelease Err:2 https://deb.debian.org/debian bookworm InRelease Temporary failure resolving 'deb.debian.org' Err:4 https://deb.debian.org/debian bookworm-updates InRelease Temporary failure resolving 'deb.debian.org' Err:5 https://deb.debian.org/debian bookworm-backports InRelease Temporary failure resolving 'deb.debian.org' Err:6 https://deb.debian.org/debian-security 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... Package gnupg is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Unable to locate package qemu-guest-agent E: Package 'gnupg' has no installation candidate E: Unable to locate package software-properties-common 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' 'apt-transport-https' 'ca-certificates' 'curl' 'gnupg' 'software-properties-common' 'lsb-release' : command exited with an error If reporting bugs, run virt-customize with debugging enabled and include the complete output: virt-customize -v -x [...] ``` <img width="1364" height="1546" alt="Image" src="https://github.com/user-attachments/assets/c98ccba9-5362-4779-be4a-f2947b8ab183" /> ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 00:49:19 +03:00
Author
Owner

@MickLesk commented on GitHub (Aug 11, 2025):

Err:2 https://deb.debian.org/debian bookworm InRelease
Temporary failure resolving 'deb.debian.org'
Err:4 https://deb.debian.org/debian bookworm-updates InRelease
Temporary failure resolving 'deb.debian.org'
Err:5 https://deb.debian.org/debian bookworm-backports InRelease
Temporary failure resolving 'deb.debian.org'
Err:6 https://deb.debian.org/debian-security 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...
Package gnupg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package qemu-guest-agent
E: Package 'gnupg' has no installation candidate
E: Unable to locate package software-properties-common
virt-

Your Network fucked Up and dont get Debian qcow so no resize possible

@MickLesk commented on GitHub (Aug 11, 2025): Err:2 https://deb.debian.org/debian bookworm InRelease Temporary failure resolving 'deb.debian.org' Err:4 https://deb.debian.org/debian bookworm-updates InRelease Temporary failure resolving 'deb.debian.org' Err:5 https://deb.debian.org/debian bookworm-backports InRelease Temporary failure resolving 'deb.debian.org' Err:6 https://deb.debian.org/debian-security 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... Package gnupg is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Unable to locate package qemu-guest-agent E: Package 'gnupg' has no installation candidate E: Unable to locate package software-properties-common virt- Your Network fucked Up and dont get Debian qcow so no resize possible
Author
Owner

@yawnoconway commented on GitHub (Aug 12, 2025):

Sorry, yes it was a me issue.
Tested on a separate machine with both a clean install of 8.4 as well as 9 and it worked fine.
So after spending quite a while trying to figure out what changed during the upgrade, I ended up just migrating everything in the cluster, then reinstalling fresh v9 on each node, then rebuilding the cluster.
Just finished and tested the script. Everything works now, sorry to bother.

@yawnoconway commented on GitHub (Aug 12, 2025): Sorry, yes it was a me issue. Tested on a separate machine with both a clean install of 8.4 as well as 9 and it worked fine. So after spending quite a while trying to figure out what changed during the upgrade, I ended up just migrating everything in the cluster, then reinstalling fresh v9 on each node, then rebuilding the cluster. Just finished and tested the script. Everything works now, sorry to bother.
Author
Owner

@jffluis commented on GitHub (Aug 17, 2025):

Having the same problem on 2 diff proxmox v9 nodes try to install the Docker VM.
Confirmed that VM network is ok.

@jffluis commented on GitHub (Aug 17, 2025): Having the same problem on 2 diff proxmox v9 nodes try to install the Docker VM. Confirmed that VM network is ok.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1440