Cannot install Glance #732

Closed
opened 2026-02-04 21:08:36 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @Tux92 on GitHub (Apr 1, 2025).

Have you read and understood the above guidelines?

yes

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

Glance

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

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

📝 Provide a clear and concise description of the issue.

Installing Glance I have error during apt update.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

Execute script, container is initializated and apt update start, failed with the errore provide.

Paste the full error output (if available).

/ / / _____ ________
/ / / / __ `/ __ / / _
/ /
/ / / /
/ / / / / /
/ /
_
/
/_,// //_/_/

⚙️ Using Default Settings on node pve ( 🔍 Verbose)
🖥️ Operating System: debian
🌟 Version: 12
📦 Container Type: Unprivileged
💾 Disk Size: 2 GB
🧠 CPU Cores: 1
🛠️ RAM Size: 512 MiB
🆔 Container ID: 110
🔍 Verbose Mode: Enabled
🚀 Creating a Glance 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 110 was successfully created.
✔️ Started LXC Container
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
✔️ Set up Container OS
✔️ Network Connected: 10.0.0.115
✔️ IPv4 Internet Connected
✖️ IPv6 Internet Not Connected
✔️ DNS Resolved github.com to 140.82.121.4
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://security.debian.org bookworm-security InRelease [48.0 kB]
Get:3 http://security.debian.org bookworm-security/main amd64 Packages [250 kB]
Get:4 http://security.debian.org bookworm-security/main Translation-en [150 kB]
Get:5 http://security.debian.org bookworm-security/contrib amd64 Packages [896 B]
Get:6 http://security.debian.org bookworm-security/contrib Translation-en [652 B]
Get:7 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 Packages [8,792 kB]
Get:9 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:10 http://deb.debian.org/debian bookworm/contrib amd64 Packages [54.1 kB]
Get:11 http://deb.debian.org/debian bookworm/contrib Translation-en [48.8 kB]
Ign:12 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
Get:13 http://deb.debian.org/debian bookworm-updates/main Translation-en [16.0 kB]
Ign:14 http://deb.debian.org/debian bookworm-updates/contrib Translation-en
Get:12 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [15.1 kB]
Ign:12 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
Get:14 http://deb.debian.org/debian bookworm-updates/contrib Translation-en [408 B]
Err:14 http://deb.debian.org/debian bookworm-updates/contrib Translation-en
File has unexpected size (32 != 408). Mirror sync in progress? [IP: 151.101.242.132 80]
Hashes of expected file:

  • Filesize:408 [weak]
  • SHA256:07db351b0d2c0e7f7b1f8bc48f0731ee751c8126b235dd889c77dda272b5a724
    Release file created at: Tue, 25 Mar 2025 20:12:56 +0000
    Get:15 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [13.5 kB]
    Fetched 15.7 MB in 5s (2,946 kB/s)
    Reading package lists... Done
    N: Repository 'http://deb.debian.org/debian bookworm InRelease' changed its 'Version' value from '12.7' to '12.10'
    E: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/contrib/i18n/Translation-en.xz File has unexpected size (32 != 408). Mirror sync in progress? [IP: 151.101.242.132 80]
    Hashes of expected file:
    - Filesize:408 [weak]
    - SHA256:07db351b0d2c0e7f7b1f8bc48f0731ee751c8126b235dd889c77dda272b5a724
    Release file created at: Tue, 25 Mar 2025 20:12:56 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    /dev/stdin: line 71: curl: command not found

[ERROR] in line 210: exit code 0: while executing command $STD apt-get update
/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

🖼️ Additional context (optional).

No response

Originally created by @Tux92 on GitHub (Apr 1, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Glance ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/glance.sh)" ### 📝 Provide a clear and concise description of the issue. Installing Glance I have error during apt update. ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. Execute script, container is initializated and apt update start, failed with the errore provide. ### ❌ Paste the full error output (if available). / ____/ /___ _____ ________ / / __/ / __ `/ __ \/ ___/ _ \ / /_/ / / /_/ / / / / /__/ __/ \____/_/\__,_/_/ /_/\___/\___/ ⚙️ Using Default Settings on node pve ( 🔍 Verbose) 🖥️ Operating System: debian 🌟 Version: 12 📦 Container Type: Unprivileged 💾 Disk Size: 2 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 512 MiB 🆔 Container ID: 110 🔍 Verbose Mode: Enabled 🚀 Creating a Glance 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 110 was successfully created. ✔️ Started LXC Container bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) ✔️ Set up Container OS ✔️ Network Connected: 10.0.0.115 ✔️ IPv4 Internet Connected ✖️ IPv6 Internet Not Connected ✔️ DNS Resolved github.com to 140.82.121.4 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] Get:2 http://security.debian.org bookworm-security InRelease [48.0 kB] Get:3 http://security.debian.org bookworm-security/main amd64 Packages [250 kB] Get:4 http://security.debian.org bookworm-security/main Translation-en [150 kB] Get:5 http://security.debian.org bookworm-security/contrib amd64 Packages [896 B] Get:6 http://security.debian.org bookworm-security/contrib Translation-en [652 B] Get:7 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Get:8 http://deb.debian.org/debian bookworm/main amd64 Packages [8,792 kB] Get:9 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB] Get:10 http://deb.debian.org/debian bookworm/contrib amd64 Packages [54.1 kB] Get:11 http://deb.debian.org/debian bookworm/contrib Translation-en [48.8 kB] Ign:12 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index Get:13 http://deb.debian.org/debian bookworm-updates/main Translation-en [16.0 kB] Ign:14 http://deb.debian.org/debian bookworm-updates/contrib Translation-en Get:12 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [15.1 kB] Ign:12 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index Get:14 http://deb.debian.org/debian bookworm-updates/contrib Translation-en [408 B] Err:14 http://deb.debian.org/debian bookworm-updates/contrib Translation-en File has unexpected size (32 != 408). Mirror sync in progress? [IP: 151.101.242.132 80] Hashes of expected file: - Filesize:408 [weak] - SHA256:07db351b0d2c0e7f7b1f8bc48f0731ee751c8126b235dd889c77dda272b5a724 Release file created at: Tue, 25 Mar 2025 20:12:56 +0000 Get:15 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [13.5 kB] Fetched 15.7 MB in 5s (2,946 kB/s) Reading package lists... Done N: Repository 'http://deb.debian.org/debian bookworm InRelease' changed its 'Version' value from '12.7' to '12.10' E: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/contrib/i18n/Translation-en.xz File has unexpected size (32 != 408). Mirror sync in progress? [IP: 151.101.242.132 80] Hashes of expected file: - Filesize:408 [weak] - SHA256:07db351b0d2c0e7f7b1f8bc48f0731ee751c8126b235dd889c77dda272b5a724 Release file created at: Tue, 25 Mar 2025 20:12:56 +0000 E: Some index files failed to download. They have been ignored, or old ones used instead. /dev/stdin: line 71: curl: command not found [ERROR] in line 210: exit code 0: while executing command $STD apt-get update /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 ### 🖼️ Additional context (optional). _No response_
OVERLORD added the not a script issue label 2026-02-04 21:08:36 +03:00
Author
Owner

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

Issue on your system. Maybe time or something

@MickLesk commented on GitHub (Apr 1, 2025): Issue on your system. Maybe time or something
Author
Owner

@CrazyWolf13 commented on GitHub (Apr 2, 2025):

Works fine for me, this seems like an issue at the debian repo, according to the error message, seems like they were performing mirros.

Maybe it already works again in the meantime.

@CrazyWolf13 commented on GitHub (Apr 2, 2025): Works fine for me, this seems like an issue at the debian repo, according to the error message, seems like they were performing mirros. Maybe it already works again in the meantime.
Author
Owner

@Tux92 commented on GitHub (Apr 2, 2025):

I see also a problem on locale: bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

So i run: dpkg-reconfigure locales

Then reboot and it works fine.

@Tux92 commented on GitHub (Apr 2, 2025): I see also a problem on locale: `bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)` So i run: `dpkg-reconfigure locales` Then reboot and it works fine.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#732