Docker VM script fails after Proxmox v9 update #1681

Open
opened 2025-11-20 05:14:43 -05:00 by saavagebueno · 0 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_
saavagebueno added the bug label 2025-11-20 05:14:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1681