Closed
Description
Description
Some debian:stretch
apt packages are not available on php:7.1-fpm-stretch
even though it is based of the same image.
Repro steps
docker run --name php --rm -d php:7.1-fpm-stretch
docker exec -it php bash
apt update -y
apt install php-mysql -y
php:7.1-fpm-stretch
root@87497eb5fa06:/var/www/html# apt install php-mysql -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php-mysql 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
E: Package 'php-mysql' has no installation candidate
root@87497eb5fa06:/var/www/html# apt show php-mysql
Package: php-mysql
State: not a real package (virtual)
N: Can't select candidate version from package php-mysql as it has no candidate
N: There is 1 additional record. Please use the '-a' switch to see it
N: No packages found
debian:stretch
root@e2b7318432d6:/# apt show php-mysql
Package: php-mysql
Version: 1:7.0+49
Priority: optional
Section: php
Source: php-defaults (49)
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Installed-Size: 12.3 kB
Depends: php-common, php7.0-mysql
Download-Size: 5052 B
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian stretch/main amd64 Packages
Description: MySQL module for PHP [default]
Is this expected behavior?