CDOGamer
CDOGamer

Reputation: 33

Debian 11 LXC Container - Not all packages from "apt" avaible

I have a proxmox installation and created a Debian 11 lxc container to install an LDAP server.

I want to install "phpldapadmin" with "apt install phpldapadmin". Error: Could not find the package.

In a normal Debian 11 VM, I can install it via "apt install phpladpadmin" without an error.

Have anywhere a clue?

Upvotes: 0

Views: 646

Answers (1)

Christian Fritz
Christian Fritz

Reputation: 21364

At first, in a new lxc container, you need to run apt update to get the package lists before you can install any packages.

sudo apt update && sudo apt install phpldapadmin

seems to work.

Upvotes: 1

Related Questions