2FAuth - still issues with install script #2181

Closed
opened 2026-02-05 04:07:43 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @MadScienzzz on GitHub (Dec 17, 2025).

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

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

2FAuth

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

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

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

9.1.2

📝 Provide a clear and concise description of the issue.

Thank you for resolving the PHP issue in the script - this now installs the correct version.

The failure now is with MariaDB

🔄 Steps to reproduce the issue.

Used script with defaults and observed / captured output

Paste the full error output (if available).

✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
✔️ Updated Container OS
✔️ Installed Dependencies
✔️ Setup PHP 8.4
✔️ Setup Composer
💡 MariaDB mirror not reachable - trying mariadb_repo_setup fallback
💡 mariadb_repo_setup failed - using hardcoded fallback version
→ apt install -y mariadb-server mariadb-client
--- Last 10 lines of silent log ---
mariadb-server-core : Depends: libaio1 (>= 0.3.93) but it is not installable
Error: Unable to correct problems, you have held broken packages.
Error: The following information from --solver 3.0 may provide additional context:
Unable to satisfy dependencies. Reached two conflicting decisions:

  1. mariadb-server-core:amd64=1:12.2.1+maria~deb12 is selected for install because:
    1. mariadb-server:amd64=1:12.2.1+maria~deb12 is selected for install
    2. mariadb-server:amd64=1:12.2.1+mariadeb12 Depends mariadb-server-core (>= 1:12.2.1+mariadeb12)
  2. mariadb-server-core:amd64=1:12.2.1+maria~deb12 Depends libaio1 (>= 0.3.93)
    but none of the choices are installable:
    [no choices]

📋 View full log (711 lines): /root/.install-f435229a.log
✖️ Installation failed in container 148 (exit code: 100)

✔ Installation log: /tmp/install-lxc-148-f435229a.log

Remove broken container 148? (Y/n) [auto-remove in 60s]:

🖼️ Additional context (optional).

No response

Originally created by @MadScienzzz on GitHub (Dec 17, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? 2FAuth ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/2fauth.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? 9.1.2 ### 📝 Provide a clear and concise description of the issue. Thank you for resolving the PHP issue in the script - this now installs the correct version. The failure now is with MariaDB ### 🔄 Steps to reproduce the issue. Used script with defaults and observed / captured output ### ❌ Paste the full error output (if available). ✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ ) ✔️ Updated Container OS ✔️ Installed Dependencies ✔️ Setup PHP 8.4 ✔️ Setup Composer 💡 MariaDB mirror not reachable - trying mariadb_repo_setup fallback 💡 mariadb_repo_setup failed - using hardcoded fallback version → apt install -y mariadb-server mariadb-client --- Last 10 lines of silent log --- mariadb-server-core : Depends: libaio1 (>= 0.3.93) but it is not installable Error: Unable to correct problems, you have held broken packages. Error: The following information from --solver 3.0 may provide additional context: Unable to satisfy dependencies. Reached two conflicting decisions: 1. mariadb-server-core:amd64=1:12.2.1+maria~deb12 is selected for install because: 1. mariadb-server:amd64=1:12.2.1+maria~deb12 is selected for install 2. mariadb-server:amd64=1:12.2.1+maria~deb12 Depends mariadb-server-core (>= 1:12.2.1+maria~deb12) 2. mariadb-server-core:amd64=1:12.2.1+maria~deb12 Depends libaio1 (>= 0.3.93) but none of the choices are installable: [no choices] ----------------------------------- 📋 View full log (711 lines): /root/.install-f435229a.log ✖️ Installation failed in container 148 (exit code: 100) ✔ Installation log: /tmp/install-lxc-148-f435229a.log Remove broken container 148? (Y/n) [auto-remove in 60s]: ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 04:07:43 +03:00
Author
Owner

@MadScienzzz commented on GitHub (Dec 17, 2025):

I believe this is also an issue with using trixie instead of bookwork CT's - think MariaDB apt source is needing a trixie entry

@MadScienzzz commented on GitHub (Dec 17, 2025): I believe this is also an issue with using trixie instead of bookwork CT's - think MariaDB apt source is needing a trixie entry
Author
Owner

@MickLesk commented on GitHub (Dec 17, 2025):

Mariadb working fine, but your ISP dont allow mariadb. The official MariaDB Fallback failed too. There are 3 Steps -> Our Func > Latest Release > Last Fallback. All Failed.

Image

Check your Network first.

@MickLesk commented on GitHub (Dec 17, 2025): Mariadb working fine, but your ISP dont allow mariadb. The official MariaDB Fallback failed too. There are 3 Steps -> Our Func > Latest Release > Last Fallback. All Failed. <img width="324" height="108" alt="Image" src="https://github.com/user-attachments/assets/f98dc422-3d61-40be-889a-0eceda3d29cb" /> Check your Network first.
Author
Owner

@MadScienzzz commented on GitHub (Dec 17, 2025):

I entered the created CT and looked at /etc/apt/sources.list.d/mariadb.sources

Contents:
Types: deb
URIs: http://mirror.mariadb.org/repo/12.2.1/debian
Suites: bookworm
Components: main
Signed-By: /etc/apt/keyrings/mariadb.gpg

Should it not be trixie, not bookworm?

I also did nslookup from within the container for mirror.mariadb.org:

root@2fauth:/etc/apt/sources.list.d# nslookup mirror.mariadb.org
Server: 8.8.8.8
Address: 8.8.8.8#53

Non-authoritative answer:
Name: mirror.mariadb.org
Address: 162.55.42.214
Name: mirror.mariadb.org
Address: 2a01:4f8:1c17:e53d::1

lookup works as expected?

@MadScienzzz commented on GitHub (Dec 17, 2025): I entered the created CT and looked at /etc/apt/sources.list.d/mariadb.sources Contents: Types: deb URIs: http://mirror.mariadb.org/repo/12.2.1/debian Suites: bookworm Components: main Signed-By: /etc/apt/keyrings/mariadb.gpg Should it not be trixie, not bookworm? I also did nslookup from within the container for mirror.mariadb.org: root@2fauth:/etc/apt/sources.list.d# nslookup mirror.mariadb.org Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: mirror.mariadb.org Address: 162.55.42.214 Name: mirror.mariadb.org Address: 2a01:4f8:1c17:e53d::1 lookup works as expected?
Author
Owner

@MickLesk commented on GitHub (Dec 17, 2025):

Thats the Last Fallback to bookworm. All 3 systems failed

@MickLesk commented on GitHub (Dec 17, 2025): Thats the Last Fallback to bookworm. All 3 systems failed
Author
Owner

@MadScienzzz commented on GitHub (Dec 17, 2025):

Ah, right... Strange....

@MadScienzzz commented on GitHub (Dec 17, 2025): Ah, right... Strange....
Author
Owner

@MadScienzzz commented on GitHub (Dec 18, 2025):

I did some additional things to make MariaDB work

  1. Entered the broken CT (pct enter 148)
  2. Edited /etc/apt/sources.list.d/mariadb.sources
  3. Changed Suites: bookworm to Suites: trixie
  4. Ran apt update
  5. Ran apt install -y mariadb-server mariadb-client
  6. Install works as expected - no errors - all dependencies satisfied

Can you confirm which version of proxmox you are running? I'm using 9.1.2 and wondering if there is an issue with the version

I'd like to run the rest of the script manually to confirm everything else works - which script is responsible for just running the install commands? I'm still learning how the scripts interact with each other.

BTW - this is an amazing project - creating containers and installing services is time consuming and this takes all the guesswork out and makes life so much easier! Thank you very much for your work!

@MadScienzzz commented on GitHub (Dec 18, 2025): I did some additional things to make MariaDB work 1. Entered the broken CT (pct enter 148) 2. Edited /etc/apt/sources.list.d/mariadb.sources 3. Changed Suites: bookworm to Suites: trixie 4. Ran apt update 5. Ran apt install -y mariadb-server mariadb-client 6. Install works as expected - no errors - all dependencies satisfied Can you confirm which version of proxmox you are running? I'm using 9.1.2 and wondering if there is an issue with the version I'd like to run the rest of the script manually to confirm everything else works - which script is responsible for just running the install commands? I'm still learning how the scripts interact with each other. BTW - this is an amazing project - creating containers and installing services is time consuming and this takes all the guesswork out and makes life so much easier! Thank you very much for your work!
Author
Owner

@MickLesk commented on GitHub (Dec 18, 2025):

8.4 and latest 9.1.x

tools.func setup_mariadb. There are 3 different methods. And you hit 2 and the 3th (bookworm) worked but failed with deps

💡 MariaDB mirror not reachable - trying mariadb_repo_setup fallback
💡 mariadb_repo_setup failed - using hardcoded fallback version

mariadb_repo_setup is the official mariadb installer, and this doesnt work too

@MickLesk commented on GitHub (Dec 18, 2025): 8.4 and latest 9.1.x tools.func setup_mariadb. There are 3 different methods. And you hit 2 and the 3th (bookworm) worked but failed with deps 💡 MariaDB mirror not reachable - trying mariadb_repo_setup fallback 💡 mariadb_repo_setup failed - using hardcoded fallback version mariadb_repo_setup is the official mariadb installer, and this doesnt work too
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2181