install fails: 'trying to overwrite '/etc/php'

Bug #1871254 reported by Harry Coin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php-imagick (Ubuntu)
New
Undecided
Unassigned

Bug Description

apt install php-imagick fails complaining about overwriting /etc/php.

This is the work-around:

dpkg -i --force-overwrite ./php-php-imagick_3.4.3~rc2-2ubuntu7_amd64.deb
dpkg: error: cannot access archive './php-php-imagick_3.4.3~rc2-2ubuntu7_amd64.deb': No such file or directory
root@www1:~# dpkg -i --force-overwrite ./php-imagick_3.4.3~rc2-2ubuntu7_amd64.deb
(Reading database ... 302485 files and directories currently installed.)
Preparing to unpack .../php-imagick_3.4.3~rc2-2ubuntu7_amd64.deb ...
Unpacking php-imagick (3.4.3~rc2-2ubuntu7) ...
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-common 7.3.11-0ubuntu0.19.10.3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-gd 7.3.11-0ubuntu0.19.10.3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-curl 7.3.11-0ubuntu0.19.10.3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-ldap 7.3.11-0ubuntu0.19.10.3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-zip 7.3.11-0ubuntu0.19.10.3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-opcache 7.3.11-0ubuntu0.19.10.3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-cli 7.3.11-0ubuntu0.19.10.3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-xml 7.3.11-0ubuntu0.19.10.3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-mysql 7.3.11-0ubuntu0.19.10.3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-bz2 7.3.11-0ubuntu0.19.10.3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-readline 7.3.11-0ubuntu0.19.10.3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-json 7.3.11-0ubuntu0.19.10.3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-fpm 7.3.11-0ubuntu0.19.10.3
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite '/etc/php', which is also in package php7.3-mbstring 7.3.11-0ubuntu0.19.10.3

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.