depends on php5 packages even though php7 alternatives exist
Bug #1562046 reported by
Alex
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tcpdf (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In Xenial, if one installs php-tcpdf then it also installs php5 packages, namely
php5-common, php5-gd, php5-mcrypt, libphp5.6-embed
regardless of whether the php7.0 alternatives for the above packages exist. This shouldn't be the case. The package should detect the php7.0 dependencies and not install any php5 ones.
phpmyadmin (which depends on php-tcpdf) also gives rise to this issue.
To post a comment you must log in.
This is the problem:
# apt-cache pkg php-tcpdf/xenial
[..snip..]
Recommends: php5-gd, php5-mcrypt
Suggests: php5-imagick
Should read:
Recommends: php7.0-gd | php5-gd, php7.0-mcrypt | php5-mcrypt
Suggests: php-imagick | php5-imagick