I'm running a Docker container and having trouble installing packages. I have tried various methods of fixing the issue after a few hours of Googling but nothing seems to be working. I don't understand enough about Linux to figure out what is going wrong.
Specifically I am trying to install the package
php-common with apt-get and I keep getting
E: Package 'php-common' has no installation candidate response. This response happens for a lot of packages I try to install though and I don't know why.
The Docker image I am using the official php image
php7.1-apache, based on Debian 10 (Buster).
uname -a prints:
Linux 1fa97a139193 4.9.184-linuxkit #1 SMP Tue Jul 2 22:58:16 UTC 2019 x86_64 GNU/Linux
This is the contents of my
# deb http://snapshot.debian.org/archive/debian/20190910T000000Z buster main deb http://deb.debian.org/debian buster main # deb http://snapshot.debian.org/archive/debian-security/20190910T000000Z buster/updates main deb http://security.debian.org/debian-security buster/updates main # deb http://snapshot.debian.org/archive/debian/20190910T000000Z buster-updates main deb http://deb.debian.org/debian buster-updates main
PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
Debian GNU/Linux 10 \n \l