Error installing PVE Backup Server #864

Closed
opened 2026-02-04 21:57:15 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @xyboox on GitHub (Apr 28, 2025).

Have you read and understood the above guidelines?

yes

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

Proxmox Backup Server

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

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/proxmox-backup-server.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.

Tried both, default settings and also advanced settings. Below are the logs for both trials:

DEFAULT settings:
` ⚙️ Using Default Settings on node brix
🖥️ Operating System: debian
🌟 Version: 12
📦 Container Type: Unprivileged
💾 Disk Size: 10 GB
🧠 CPU Cores: 2
🛠️ RAM Size: 2048 MiB
🆔 Container ID: 101
🚀 Creating a Proxmox-Backup-Server LXC using the above default settings

✔️ Using local for Template Storage.
✔️ Using local-lvm for Container Storage.
✔️ Updated LXC Template List
✔️ LXC Template is ready to use.
✔️ LXC Container 101 was successfully created.
✔️ Started LXC Container
✔️ Set up Container OS
✔️ Network Connected: 10.12.0.28
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 140.82.121.3
✔️ Updated Container OS
⠸/dev/stdin: line 71: curl: command not found

[ERROR] in line 50: exit code 0: while executing command "$@" > /dev/null 2>&1
The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output.

/dev/stdin: line 81: post_update_to_api: command not found
/dev/stdin: line 217: pop_var_context: head of shell_variables not a function context
/dev/stdin: line 14: pop_var_context: head of shell_variables not a function context
/dev/fd/63: line 72: SPINNER_PID: unbound variable```

ADVANCED Settings:
` 🧩 Using Advanced Settings on node brix
🖥️ Operating System: debian
🌟 Version: 12
📦 Container Type: Unprivileged
🔐 Root Password: ********
🆔 Container ID: 101
🏠 Hostname: proxmox-backup-server
💾 Disk Size: 10 GB
🧠 CPU Cores: 2
🛠️ RAM Size: 2048 MiB
🌉 Bridge: vmbr0
📡 IP Address: dhcp
🌐 Gateway IP Address: Default
📡 APT-Cacher IP Address: Default
🚫 Disable IPv6: yes
⚙️ Interface MTU Size: Default
🔍 DNS Search Domain: Host
📡 DNS Server IP Address: Host
🏷️ Vlan: Default
📡 Tags: community-script;backup
🔑 Root SSH Access: yes
Warning: No SSH key provided.
🔍 Verbose Mode: yes
🚀 Creating a Proxmox-Backup-Server LXC using the above advanced settings
✔️ Using local for Template Storage.
✔️ Using local-lvm for Container Storage.
✔️ Updated LXC Template List
✔️ LXC Template is ready to use.
✔️ LXC Container 101 was successfully created.
✔️ Started LXC Container
net.ipv6.conf.all.disable_ipv6 = 1
✔️ Set up Container OS
✔️ Network Connected: 10.12.0.30
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 140.82.121.4
Ign:1 http://security.debian.org bookworm-security InRelease
Ign:2 http://deb.debian.org/debian bookworm InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Ign:1 http://security.debian.org bookworm-security InRelease
Ign:2 http://deb.debian.org/debian bookworm InRelease
Ign:1 http://security.debian.org bookworm-security InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Err:1 http://security.debian.org bookworm-security InRelease
Could not resolve 'security.debian.org'
Ign:2 http://deb.debian.org/debian bookworm InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Err:2 http://deb.debian.org/debian bookworm InRelease
Could not resolve 'deb.debian.org'
Err:3 http://deb.debian.org/debian bookworm-updates InRelease
Could not resolve 'deb.debian.org'
Reading package lists... Done
W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease Could not resolve 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease Could not resolve 'deb.debian.org'
W: Failed to fetch http://security.debian.org/dists/bookworm-security/InRelease Could not resolve 'security.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
⠙0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
✔️ Updated Container OS
Ign:1 http://security.debian.org bookworm-security InRelease
Ign:2 http://deb.debian.org/debian bookworm InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Ign:1 http://security.debian.org bookworm-security InRelease
Ign:2 http://deb.debian.org/debian bookworm InRelease
Ign:1 http://security.debian.org bookworm-security InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Err:1 http://security.debian.org bookworm-security InRelease
Could not resolve 'security.debian.org'
Ign:2 http://deb.debian.org/debian bookworm InRelease
Ign:3 http://deb.debian.org/debian bookworm-updates InRelease
Err:2 http://deb.debian.org/debian bookworm InRelease
Could not resolve 'deb.debian.org'
Err:3 http://deb.debian.org/debian bookworm-updates InRelease
Could not resolve 'deb.debian.org'
Reading package lists... Done
W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease Could not resolve 'deb.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease Could not resolve 'deb.debian.org'
W: Failed to fetch http://security.debian.org/dists/bookworm-security/InRelease Could not resolve 'security.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree... Done
⠇The following additional packages will be installed:
libcurl4 libglib2.0-0 libglib2.0-data libgpm2 mc-data shared-mime-info unzip xdg-user-dirs
Suggested packages:
low-memory-monitor gpm arj catdvi | texlive-binaries dbview djvulibre-bin epub-utils genisoimage gv imagemagick libaspell-dev links | w3m | lynx odt2txt poppler-utils python python-boto python-tz unar wimtools xpdf
| pdf-viewer zip
⠏The following NEW packages will be installed:
curl libcurl4 libglib2.0-0 libglib2.0-data libgpm2 mc mc-data shared-mime-info sudo unzip xdg-user-dirs
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,035 kB of archives.
After this operation, 35.3 MB of additional disk space will be used.
Ign:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1
Ign:2 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u7
Ign:3 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u7
Ign:4 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u3
Ign:5 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u3
Ign:6 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1
Ign:7 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2
Ign:8 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2
Ign:9 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1
Ign:10 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28
Ign:11 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1
Ign:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1
Ign:2 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u7
Ign:3 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u7
Ign:4 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u3
Ign:5 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u3
Ign:6 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1
Ign:7 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2
Ign:8 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2
Ign:9 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1
Ign:10 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28
Ign:11 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1
Ign:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1
Ign:2 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u7
Ign:3 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u7
Ign:4 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u3
Ign:5 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u3
Ign:6 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1
Ign:7 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2
Ign:8 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2
Ign:9 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1
Ign:10 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28
Ign:11 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1
Err:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1
Could not resolve 'deb.debian.org'
Err:2 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u7
Could not resolve 'deb.debian.org'
Err:3 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u7
Could not resolve 'deb.debian.org'
Err:4 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u3
Could not resolve 'deb.debian.org'
Err:5 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u3
Could not resolve 'deb.debian.org'
Err:6 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1
Could not resolve 'deb.debian.org'
Err:7 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2
Could not resolve 'deb.debian.org'
Err:8 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2
Could not resolve 'deb.debian.org'
Err:9 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1
Could not resolve 'deb.debian.org'
Err:10 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28
Could not resolve 'deb.debian.org'
Err:11 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1
Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/s/sudo/sudo_1.9.13p3-1%2bdeb12u1_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/libcurl4_7.88.1-10%2bdeb12u7_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/curl_7.88.1-10%2bdeb12u7_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glib2.0/libglib2.0-0_2.74.6-2%2bdeb12u3_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glib2.0/libglib2.0-data_2.74.6-2%2bdeb12u3_all.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/gpm/libgpm2_1.20.7-10%2bb1_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/m/mc/mc-data_4.8.29-2_all.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/m/mc/mc_4.8.29-2_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/s/shared-mime-info/shared-mime-info_2.2-1_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/u/unzip/unzip_6.0-28_amd64.deb Could not resolve 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/x/xdg-user-dirs/xdg-user-dirs_0.18-1_amd64.deb Could not resolve 'deb.debian.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
/dev/stdin: line 71: curl: command not found

[ERROR] in line 217: exit code 0: while executing command $STD apt-get install -y sudo curl mc
/dev/stdin: line 83: post_update_to_api: command not found
/dev/stdin: line 14: pop_var_context: head of shell_variables not a function context
/dev/fd/63: line 72: SPINNER_PID: unbound variable`

🔄 Steps to reproduce the issue.

run
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/proxmox-backup-server.sh)"

Paste the full error output (if available).

dig result for deb.debian.org:

`root@brix:~# dig deb.debian.org

; <<>> DiG 9.18.33-1~deb12u2-Debian <<>> deb.debian.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2752
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;deb.debian.org. IN A

;; ANSWER SECTION:
deb.debian.org. 858 IN CNAME debian.map.fastlydns.net.
debian.map.fastlydns.net. 16 IN A 151.101.130.132
debian.map.fastlydns.net. 16 IN A 151.101.194.132
debian.map.fastlydns.net. 16 IN A 151.101.66.132
debian.map.fastlydns.net. 16 IN A 151.101.2.132

;; Query time: 36 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Mon Apr 28 09:45:47 EEST 2025
;; MSG SIZE rcvd: 145`

ping for deb.debian.org:
root@brix:~# ping deb.debian.org PING debian.map.fastlydns.net (151.101.194.132) 56(84) bytes of data. 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=1 ttl=56 time=23.7 ms 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=2 ttl=56 time=23.9 ms 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=3 ttl=56 time=30.2 ms 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=4 ttl=56 time=22.4 ms 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=5 ttl=56 time=23.4 ms ^C --- debian.map.fastlydns.net ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 22.446/24.736/30.220/2.786 ms

🖼️ Additional context (optional).

No response

Originally created by @xyboox on GitHub (Apr 28, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Proxmox Backup Server ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/proxmox-backup-server.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. Tried both, default settings and also advanced settings. Below are the logs for both trials: DEFAULT settings: ` ⚙️ Using Default Settings on node brix 🖥️ Operating System: debian 🌟 Version: 12 📦 Container Type: Unprivileged 💾 Disk Size: 10 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 2048 MiB 🆔 Container ID: 101 🚀 Creating a Proxmox-Backup-Server LXC using the above default settings ✔️ Using local for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ✔️ LXC Template is ready to use. ✔️ LXC Container 101 was successfully created. ✔️ Started LXC Container ✔️ Set up Container OS ✔️ Network Connected: 10.12.0.28 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ DNS Resolved github.com to 140.82.121.3 ✔️ Updated Container OS ⠸/dev/stdin: line 71: curl: command not found [ERROR] in line 50: exit code 0: while executing command "$@" > /dev/null 2>&1 The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output. /dev/stdin: line 81: post_update_to_api: command not found /dev/stdin: line 217: pop_var_context: head of shell_variables not a function context /dev/stdin: line 14: pop_var_context: head of shell_variables not a function context /dev/fd/63: line 72: SPINNER_PID: unbound variable``` ADVANCED Settings: ` 🧩 Using Advanced Settings on node brix 🖥️ Operating System: debian 🌟 Version: 12 📦 Container Type: Unprivileged 🔐 Root Password: ******** 🆔 Container ID: 101 🏠 Hostname: proxmox-backup-server 💾 Disk Size: 10 GB 🧠 CPU Cores: 2 🛠️ RAM Size: 2048 MiB 🌉 Bridge: vmbr0 📡 IP Address: dhcp 🌐 Gateway IP Address: Default 📡 APT-Cacher IP Address: Default 🚫 Disable IPv6: yes ⚙️ Interface MTU Size: Default 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🏷️ Vlan: Default 📡 Tags: community-script;backup 🔑 Root SSH Access: yes Warning: No SSH key provided. 🔍 Verbose Mode: yes 🚀 Creating a Proxmox-Backup-Server LXC using the above advanced settings ✔️ Using local for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ✔️ LXC Template is ready to use. ✔️ LXC Container 101 was successfully created. ✔️ Started LXC Container net.ipv6.conf.all.disable_ipv6 = 1 ✔️ Set up Container OS ✔️ Network Connected: 10.12.0.30 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ DNS Resolved github.com to 140.82.121.4 Ign:1 http://security.debian.org bookworm-security InRelease Ign:2 http://deb.debian.org/debian bookworm InRelease Ign:3 http://deb.debian.org/debian bookworm-updates InRelease Ign:1 http://security.debian.org bookworm-security InRelease Ign:2 http://deb.debian.org/debian bookworm InRelease Ign:1 http://security.debian.org bookworm-security InRelease Ign:3 http://deb.debian.org/debian bookworm-updates InRelease Err:1 http://security.debian.org bookworm-security InRelease Could not resolve 'security.debian.org' Ign:2 http://deb.debian.org/debian bookworm InRelease Ign:3 http://deb.debian.org/debian bookworm-updates InRelease Err:2 http://deb.debian.org/debian bookworm InRelease Could not resolve 'deb.debian.org' Err:3 http://deb.debian.org/debian bookworm-updates InRelease Could not resolve 'deb.debian.org' Reading package lists... Done W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease Could not resolve 'deb.debian.org' W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease Could not resolve 'deb.debian.org' W: Failed to fetch http://security.debian.org/dists/bookworm-security/InRelease Could not resolve 'security.debian.org' W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree... Done Calculating upgrade... Done ⠙0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ✔️ Updated Container OS Ign:1 http://security.debian.org bookworm-security InRelease Ign:2 http://deb.debian.org/debian bookworm InRelease Ign:3 http://deb.debian.org/debian bookworm-updates InRelease Ign:1 http://security.debian.org bookworm-security InRelease Ign:2 http://deb.debian.org/debian bookworm InRelease Ign:1 http://security.debian.org bookworm-security InRelease Ign:3 http://deb.debian.org/debian bookworm-updates InRelease Err:1 http://security.debian.org bookworm-security InRelease Could not resolve 'security.debian.org' Ign:2 http://deb.debian.org/debian bookworm InRelease Ign:3 http://deb.debian.org/debian bookworm-updates InRelease Err:2 http://deb.debian.org/debian bookworm InRelease Could not resolve 'deb.debian.org' Err:3 http://deb.debian.org/debian bookworm-updates InRelease Could not resolve 'deb.debian.org' Reading package lists... Done W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease Could not resolve 'deb.debian.org' W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease Could not resolve 'deb.debian.org' W: Failed to fetch http://security.debian.org/dists/bookworm-security/InRelease Could not resolve 'security.debian.org' W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Done Building dependency tree... Done ⠇The following additional packages will be installed: libcurl4 libglib2.0-0 libglib2.0-data libgpm2 mc-data shared-mime-info unzip xdg-user-dirs Suggested packages: low-memory-monitor gpm arj catdvi | texlive-binaries dbview djvulibre-bin epub-utils genisoimage gv imagemagick libaspell-dev links | w3m | lynx odt2txt poppler-utils python python-boto python-tz unar wimtools xpdf | pdf-viewer zip ⠏The following NEW packages will be installed: curl libcurl4 libglib2.0-0 libglib2.0-data libgpm2 mc mc-data shared-mime-info sudo unzip xdg-user-dirs 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Need to get 8,035 kB of archives. After this operation, 35.3 MB of additional disk space will be used. Ign:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1 Ign:2 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u7 Ign:3 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u7 Ign:4 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u3 Ign:5 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u3 Ign:6 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 Ign:7 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2 Ign:8 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2 Ign:9 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1 Ign:10 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 Ign:11 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1 Ign:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1 Ign:2 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u7 Ign:3 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u7 Ign:4 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u3 Ign:5 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u3 Ign:6 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 Ign:7 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2 Ign:8 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2 Ign:9 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1 Ign:10 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 Ign:11 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1 Ign:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1 Ign:2 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u7 Ign:3 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u7 Ign:4 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u3 Ign:5 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u3 Ign:6 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 Ign:7 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2 Ign:8 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2 Ign:9 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1 Ign:10 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 Ign:11 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1 Err:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1 Could not resolve 'deb.debian.org' Err:2 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u7 Could not resolve 'deb.debian.org' Err:3 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u7 Could not resolve 'deb.debian.org' Err:4 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u3 Could not resolve 'deb.debian.org' Err:5 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u3 Could not resolve 'deb.debian.org' Err:6 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 Could not resolve 'deb.debian.org' Err:7 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2 Could not resolve 'deb.debian.org' Err:8 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2 Could not resolve 'deb.debian.org' Err:9 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1 Could not resolve 'deb.debian.org' Err:10 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 Could not resolve 'deb.debian.org' Err:11 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1 Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/s/sudo/sudo_1.9.13p3-1%2bdeb12u1_amd64.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/libcurl4_7.88.1-10%2bdeb12u7_amd64.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/curl_7.88.1-10%2bdeb12u7_amd64.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glib2.0/libglib2.0-0_2.74.6-2%2bdeb12u3_amd64.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glib2.0/libglib2.0-data_2.74.6-2%2bdeb12u3_all.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/g/gpm/libgpm2_1.20.7-10%2bb1_amd64.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/m/mc/mc-data_4.8.29-2_all.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/m/mc/mc_4.8.29-2_amd64.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/s/shared-mime-info/shared-mime-info_2.2-1_amd64.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/u/unzip/unzip_6.0-28_amd64.deb Could not resolve 'deb.debian.org' E: Failed to fetch http://deb.debian.org/debian/pool/main/x/xdg-user-dirs/xdg-user-dirs_0.18-1_amd64.deb Could not resolve 'deb.debian.org' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? /dev/stdin: line 71: curl: command not found [ERROR] in line 217: exit code 0: while executing command $STD apt-get install -y sudo curl mc /dev/stdin: line 83: post_update_to_api: command not found /dev/stdin: line 14: pop_var_context: head of shell_variables not a function context /dev/fd/63: line 72: SPINNER_PID: unbound variable` ### 🔄 Steps to reproduce the issue. run `bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/proxmox-backup-server.sh)"` ### ❌ Paste the full error output (if available). dig result for deb.debian.org: `root@brix:~# dig deb.debian.org ; <<>> DiG 9.18.33-1~deb12u2-Debian <<>> deb.debian.org ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2752 ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;deb.debian.org. IN A ;; ANSWER SECTION: deb.debian.org. 858 IN CNAME debian.map.fastlydns.net. debian.map.fastlydns.net. 16 IN A 151.101.130.132 debian.map.fastlydns.net. 16 IN A 151.101.194.132 debian.map.fastlydns.net. 16 IN A 151.101.66.132 debian.map.fastlydns.net. 16 IN A 151.101.2.132 ;; Query time: 36 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP) ;; WHEN: Mon Apr 28 09:45:47 EEST 2025 ;; MSG SIZE rcvd: 145` ping for deb.debian.org: `root@brix:~# ping deb.debian.org PING debian.map.fastlydns.net (151.101.194.132) 56(84) bytes of data. 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=1 ttl=56 time=23.7 ms 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=2 ttl=56 time=23.9 ms 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=3 ttl=56 time=30.2 ms 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=4 ttl=56 time=22.4 ms 64 bytes from 151.101.194.132 (151.101.194.132): icmp_seq=5 ttl=56 time=23.4 ms ^C --- debian.map.fastlydns.net ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 22.446/24.736/30.220/2.786 ms` ### 🖼️ Additional context (optional). _No response_
OVERLORD added the not a script issue label 2026-02-04 21:57:15 +03:00
Author
Owner

@MickLesk commented on GitHub (Apr 28, 2025):

Your network block every call to debian repo. "Could not resolve 'deb.debian.org'", so the system never can install sudo, curl, mc.

@MickLesk commented on GitHub (Apr 28, 2025): Your network block every call to debian repo. "Could not resolve 'deb.debian.org'", so the system never can install sudo, curl, mc.
Author
Owner

@xyboox commented on GitHub (Apr 28, 2025):

That much is clear to me also, but please, see the ping and dig responses. The node is able to use internet, I can do apt update without errors.

@xyboox commented on GitHub (Apr 28, 2025): That much is clear to me also, but please, see the ping and dig responses. The node is able to use internet, I can do `apt update` without errors.
Author
Owner

@MickLesk commented on GitHub (Apr 28, 2025):

you need to ping out of the lxc, not from the node. the lxc has this issue.

@MickLesk commented on GitHub (Apr 28, 2025): you need to ping out of the lxc, not from the node. the lxc has this issue.
Author
Owner

@xyboox commented on GitHub (Apr 28, 2025):

Alright, ping from lxc is not working. Trying to find out why, especially since is a container created by the script...
Other containers of same node can communicate with the outside.

Probably something misconfigured on my side. I'll keep digging but for now I'll close this. Thanks!

@xyboox commented on GitHub (Apr 28, 2025): Alright, ping from lxc is not working. Trying to find out why, especially since is a container created by the script... Other containers of same node can communicate with the outside. Probably something misconfigured on my side. I'll keep digging but for now I'll close this. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#864