depends on php5 packages even though php7 alternatives exist

Bug #1562046 reported by Alex
This bug report is a duplicate of:  Bug #1565891: Update to PHP7.0 dependencies. Edit Remove
6
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.

Revision history for this message
Alex (normadize) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.