Error: UniFi Network Server LXC: MongoDB #314

Closed
opened 2026-02-04 17:55:45 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @milandzuris on GitHub (Jan 11, 2025).

Have you read and understood the above guidelines?

yes

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

UniFi Network Server LXC

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

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/unifi.sh)"

📝 Provide a clear and concise description of the issue.

Proxmox: Bersion: 8.3.2

-bash: -y: command not found
root@dzurisserver:~# pct enter 103
root@unifinetworkapplication:~# python3 --version
Python 3.9.2
root@unifinetworkapplication:~# apt update && apt upgrade -y
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease                           
Hit:4 http://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 InRelease                           
Get:5 https://packages.adoptium.net/artifactory/deb bookworm InRelease [7,517 B]
Fetched 7,517 B in 1s (7,706 B/s)    
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@unifinetworkapplication:~# python3 --version
Python 3.9.2

image

image

image

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 11

🔄 Steps to reproduce the issue.

Paste the full error output (if available).

 ⠏Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ⠙ mongodb-org-mongos : Depends: libc6 (>= 2.34) but 2.31-13+deb11u11 is to be installed
                      Depends: libssl3 (>= 3.0.0) but it is not installable
 mongodb-org-server : Depends: libc6 (>= 2.34) but 2.31-13+deb11u11 is to be installed
                      Depends: libssl3 (>= 3.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

[ERROR] in line 47: exit code 0: while executing command $STD apt-get install -y mongodb-org

🖼️ Additional context (optional).

No response

Originally created by @milandzuris on GitHub (Jan 11, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? UniFi Network Server LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/unifi.sh)" ### 📝 Provide a clear and concise description of the issue. Proxmox: Bersion: 8.3.2 ``` -bash: -y: command not found root@dzurisserver:~# pct enter 103 root@unifinetworkapplication:~# python3 --version Python 3.9.2 root@unifinetworkapplication:~# apt update && apt upgrade -y Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://security.debian.org bullseye-security InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 http://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 InRelease Get:5 https://packages.adoptium.net/artifactory/deb bookworm InRelease [7,517 B] Fetched 7,517 B in 1s (7,706 B/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@unifinetworkapplication:~# python3 --version Python 3.9.2 ``` ![image](https://github.com/user-attachments/assets/e7466463-06f5-4d6b-9b49-25c66082a839) ![image](https://github.com/user-attachments/assets/40c3b477-3682-46ac-a1ad-f98bb49ddc7b) ![image](https://github.com/user-attachments/assets/17743abb-dd8f-455a-8aea-8f34423409e3) ### ⚙️ What settings are you using? - [ ] Default Settings - [X] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 11 ### 🔄 Steps to reproduce the issue. * ### ❌ Paste the full error output (if available). ``` ⠏Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: ⠙ mongodb-org-mongos : Depends: libc6 (>= 2.34) but 2.31-13+deb11u11 is to be installed Depends: libssl3 (>= 3.0.0) but it is not installable mongodb-org-server : Depends: libc6 (>= 2.34) but 2.31-13+deb11u11 is to be installed Depends: libssl3 (>= 3.0.0) but it is not installable E: Unable to correct problems, you have held broken packages. [ERROR] in line 47: exit code 0: while executing command $STD apt-get install -y mongodb-org ``` ### 🖼️ Additional context (optional). _No response_
OVERLORD added the not a script issue🛑 Failure to comply with the guidelines labels 2026-02-04 17:55:45 +03:00
Author
Owner

@milandzuris commented on GitHub (Jan 11, 2025):

with default settings i dont have problems its look like problem is in Debian 11

image

@milandzuris commented on GitHub (Jan 11, 2025): with default settings i dont have problems its look like problem is in Debian 11 ![image](https://github.com/user-attachments/assets/4ccf6f1e-636c-4789-acf4-cfbb80e701dd)
Author
Owner

@milandzuris commented on GitHub (Jan 11, 2025):

there is problem in Debian 11

image

image

@milandzuris commented on GitHub (Jan 11, 2025): there is problem in Debian 11 ![image](https://github.com/user-attachments/assets/6b90d085-c3e6-4220-8dbd-f2e5f61bb066) ![image](https://github.com/user-attachments/assets/46a9a0aa-8207-4801-9e5c-a0e5c1252143)
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 11, 2025):

Maybee. we only support issues with debian 12. why use it anyway?

@michelroegl-brunner commented on GitHub (Jan 11, 2025): Maybee. we only support issues with debian 12. why use it anyway?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#314