Netbox fails to install because of "APT dependency conflict detected" #16766
ChessMaster55
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I don't think this is a script error, however, the script fails to complete because of a dependency issue.
When you run the script it eventually shows this warning:
--- Last 20 lines of log ---
[2026-08-25 12:26:01] [INFO] Disabling IPv6 (this may affect some services)
[2026-08-25 12:26:01] [OK] Disabled IPv6
[2026-08-25 12:26:01] [INFO] Setting up Container OS
[2026-08-25 12:26:01] [OK] Set up Container OS
[2026-08-25 12:26:01] [OK] Network Connected: 192.168.0.154
[2026-08-25 12:26:02] [OK] IPv4 Internet Connected
[2026-08-25 12:26:02] [ERROR] IPv6 Internet Not Connected
[2026-08-25 12:26:02] [OK] Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) api.github.com:(✔️ ) git.community-scripts.org:(✔️ )
[2026-08-25 12:26:02] [INFO] Updating Container OS
[2026-08-25 12:26:10] [OK] Updated Container OS
[2026-08-25 12:26:10] [INFO] Installing Dependencies
[2026-08-25 12:27:01] [ERROR] in line 17: exit code 100 (APT: Package manager error (broken packages / dependency problems)): while executing command apt install -y apache2 redis-server build-essential libxml2-dev libxslt1-dev libffi-dev libpq-dev libssl-dev zlib1g-dev
💡 APT dependency conflict detected. A required package is not available or is the wrong version for this system.
💡 Hint: Run 'apt-get install -f' inside the container or check that all required repositories are configured for your distribution.
✖️ Installation failed in container 900 (exit code: 100)
📋 Installation log: /tmp/netbox-900-4846ed35.log
Error: APT: Package manager error (broken packages / dependency problems)
I saved the unfinished LXC and logged in. I ran the command "apt-get install -f". Here is the output of the console:
apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up ssl-cert (1.1.3) ...
root@netbox:~#
Is there a way to fix this, or do we have to wait for something in the apt system to remedy this?
Thanks!
All reactions