Skip to content
This repository has been archived by the owner on Nov 2, 2024. It is now read-only.

Frigate LXC creation fails #3901

Closed
FredericMa opened this issue Oct 15, 2024 · 3 comments
Closed

Frigate LXC creation fails #3901

FredericMa opened this issue Oct 15, 2024 · 3 comments
Labels
🛑 Failure to comply with the guidelines Failure to comply with the guidelines

Comments

@FredericMa
Copy link

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

I tried to create a Frigate LXC but I get this error:

E: Package 'libtbb2' has no installation candidate
E: Unable to locate package libdc1394-22-dev

More info can be found in the code block below.
It works fine when using the default settings.
I guess the use of debian 12 causes the issue.

What settings are you currently utilizing?

Advanced Settings

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

    ______     _             __
   / ____/____(_)___ _____ _/ /____
  / /_  / ___/ / __ `/ __ `/ __/ _ \
 / __/ / /  / / /_/ / /_/ / /_/  __/
/_/   /_/  /_/\__, /\__,_/\__/\___/
             /____/

Using Advanced Settings
Using Distribution: debian
Using debian Version: 12
Using Container Type: 0
Using Root Password: Automatic Login
Container ID: 135
Using Hostname: frigate
Using Disk Size: 10
Allocated Cores: 4
Allocated RAM: 4096
Using Bridge: vmbr0
Using IP Address: dhcp
Using Gateway IP Address: Default
Using APT-Cacher IP Address: Default
Disable IPv6: no
Using Interface MTU Size: Default
Using DNS Search Domain: Host
Using DNS Server IP Address: Host
Using Vlan: Default
Enable Root SSH Access: no
Enable Verbose Mode: yes
Creating a Frigate LXC using the above advanced settings
 ✓ Using local for Template Storage.
 ✓ Using local-lvm for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 135 was successfully created.
 ✓ Started LXC Container
 ✓ Set up Container OS
 ✓ Network Connected: 192.168.50.211 
 ✓ 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://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 http://security.debian.org bookworm-security/main amd64 Packages [188 kB]
Get:5 http://security.debian.org bookworm-security/main Translation-en [115 kB]
Get:6 http://security.debian.org bookworm-security/contrib Translation-en [372 B]
Get:7 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:8 http://deb.debian.org/debian bookworm/contrib Translation-en [48.8 kB]
Get:9 http://deb.debian.org/debian bookworm-updates/main Translation-en [2,928 B]
Get:10 http://deb.debian.org/debian bookworm-updates/contrib Translation-en [408 B]
Fetched 6,720 kB in 1s (5,421 kB/s)                                  
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
 \The following packages will be upgraded:
  libexpat1
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 98.9 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://security.debian.org bookworm-security/main amd64 libexpat1 amd64 2.5.0-1+deb12u1 [98.9 kB]
Fetched 98.9 kB in 0s (1,037 kB/s) 
 |apt-listchanges: Reading changelogs...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../libexpat1_2.5.0-1+deb12u1_amd64.deb ...
Unpacking libexpat1:amd64 (2.5.0-1+deb12u1) over (2.5.0-1) ...
 |Setting up libexpat1:amd64 (2.5.0-1+deb12u1) ...
 /Processing triggers for libc-bin (2.36-9+deb12u8) ...
 ✓ Updated Container OS
Reading package lists... Doneatience)   
Building dependency tree... Done
Reading state information... Done
Package libtbb2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libtbbmalloc2

E: Package 'libtbb2' has no installation candidate
E: Unable to locate package libdc1394-22-dev

[ERROR] in line 18: exit code 0: while executing command $STD apt-get install -y {curl,sudo,mc,git,gpg,automake,build-essential,xz-utils,libtool,ccache,pkg-config,libgtk-3-dev,libavcodec-dev,libavformat-dev,libswscale-dev,libv4l-dev,libxvidcore-dev,libx264-dev,libjpeg-dev,libpng-dev,libtiff-dev,gfortran,openexr,libatlas-base-dev,libssl-dev,libtbb2,libtbb-dev,libdc1394-22-dev,libopenexr-dev,libgstreamer-plugins-base1.0-dev,libgstreamer1.0-dev,gcc,gfortran,libopenblas-dev,liblapack-dev,libusb-1.0-0-dev,jq,moreutils}

Please provide detailed steps to reproduce the issue.

Create a Frigate LXC with the settings as seen in the code block above.

@tteck
Copy link
Owner

tteck commented Oct 15, 2024

🛑 Failure to comply with the following guideline.

  • If the default Linux distribution is not adhered to, script support will be discontinued.

@tteck tteck closed this as completed Oct 15, 2024
@tteck tteck added the 🛑 Failure to comply with the guidelines Failure to comply with the guidelines label Oct 15, 2024
@FredericMa
Copy link
Author

Shouldn't debian 12 be removed from the options if it is not supposed to be used and fails to install?

@tteck
Copy link
Owner

tteck commented Oct 15, 2024

Nope, It's an option for all LXC's, as is the Ubuntu's. Frigate only works with Debian 11, the default Linux distribution.

The real question is, why not just follow the guidelines? If you want to experiment, great, but don't create an issue when it doesn't work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🛑 Failure to comply with the guidelines Failure to comply with the guidelines
Projects
None yet
Development

No branches or pull requests

2 participants