For the record in an Trusty LXC I attempted to install php5-cgi and then
afterwards install awstats and had no issues:

root@trusty:~# sudo apt install php5-cgi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libxml2 lsof php5-common php5-json psmisc sgml-base xml-core
Suggested packages:
  php-pear php5-user-cache sgml-base-doc debhelper
The following NEW packages will be installed:
  libxml2 lsof php5-cgi php5-common php5-json psmisc sgml-base xml-core
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 5685 kB of archives.
After this operation, 22.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libxml2 amd64 
2.9.1+dfsg1-3ubuntu4.8 [573 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main sgml-base all 
1.26+nmu4ubuntu1 [12.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main lsof amd64 
4.86+dfsg-1ubuntu2 [257 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main psmisc amd64 22.20-1ubuntu2 
[53.2 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main xml-core all 0.13+nmu2 
[23.3 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main php5-json amd64 
1.3.2-2build1 [34.4 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-common amd64 
5.5.9+dfsg-1ubuntu4.20 [447 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/main php5-cgi amd64 
5.5.9+dfsg-1ubuntu4.20 [4285 kB]
Fetched 5685 kB in 4s (1174 kB/s)   
Selecting previously unselected package libxml2:amd64.
(Reading database ... 14740 files and directories currently installed.)
Preparing to unpack .../libxml2_2.9.1+dfsg1-3ubuntu4.8_amd64.deb ...
Unpacking libxml2:amd64 (2.9.1+dfsg1-3ubuntu4.8) ...
Selecting previously unselected package sgml-base.
Preparing to unpack .../sgml-base_1.26+nmu4ubuntu1_all.deb ...
Unpacking sgml-base (1.26+nmu4ubuntu1) ...
Selecting previously unselected package lsof.
Preparing to unpack .../lsof_4.86+dfsg-1ubuntu2_amd64.deb ...
Unpacking lsof (4.86+dfsg-1ubuntu2) ...
Selecting previously unselected package psmisc.
Preparing to unpack .../psmisc_22.20-1ubuntu2_amd64.deb ...
Unpacking psmisc (22.20-1ubuntu2) ...
Selecting previously unselected package xml-core.
Preparing to unpack .../xml-core_0.13+nmu2_all.deb ...
Unpacking xml-core (0.13+nmu2) ...
Selecting previously unselected package php5-json.
Preparing to unpack .../php5-json_1.3.2-2build1_amd64.deb ...
Unpacking php5-json (1.3.2-2build1) ...
Selecting previously unselected package php5-common.
Preparing to unpack .../php5-common_5.5.9+dfsg-1ubuntu4.20_amd64.deb ...
Unpacking php5-common (5.5.9+dfsg-1ubuntu4.20) ...
Selecting previously unselected package php5-cgi.
Preparing to unpack .../php5-cgi_5.5.9+dfsg-1ubuntu4.20_amd64.deb ...
Unpacking php5-cgi (5.5.9+dfsg-1ubuntu4.20) ...
Setting up libxml2:amd64 (2.9.1+dfsg1-3ubuntu4.8) ...
Setting up sgml-base (1.26+nmu4ubuntu1) ...
Setting up lsof (4.86+dfsg-1ubuntu2) ...
Setting up psmisc (22.20-1ubuntu2) ...
Setting up xml-core (0.13+nmu2) ...
Setting up php5-common (5.5.9+dfsg-1ubuntu4.20) ...

Creating config file /etc/php5/mods-available/pdo.ini with new version
php5_invoke: Enable module pdo for cgi SAPI

Creating config file /etc/php5/mods-available/opcache.ini with new version
php5_invoke: Enable module opcache for cgi SAPI
Setting up php5-cgi (5.5.9+dfsg-1ubuntu4.20) ...
update-alternatives: using /usr/bin/php5-cgi to provide /usr/bin/php-cgi 
(php-cgi) in auto mode
update-alternatives: using /usr/lib/cgi-bin/php5 to provide 
/usr/lib/cgi-bin/php (php-cgi-bin) in auto mode

Creating config file /etc/php5/cgi/php.ini with new version
php5_invoke pdo: already enabled for cgi SAPI
php5_invoke opcache: already enabled for cgi SAPI
Setting up php5-json (1.3.2-2build1) ...
php5_invoke: Enable module json for cgi SAPI
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
root@trusty:~# 
root@trusty:~# 
root@trusty:~# sudo apt install awstats
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libnet-xwhois-perl
Suggested packages:
  apache2 httpd libnet-dns-perl libnet-ip-perl libgeo-ipfree-perl liburi-perl
The following NEW packages will be installed:
  awstats libnet-xwhois-perl
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 799 kB of archives.
After this operation, 3311 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main awstats all 7.2+dfsg-1 [778 
kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main libnet-xwhois-perl all 
0.90-4 [21.0 kB]
Fetched 799 kB in 1s (562 kB/s)              
Selecting previously unselected package awstats.
(Reading database ... 14929 files and directories currently installed.)
Preparing to unpack .../awstats_7.2+dfsg-1_all.deb ...
Unpacking awstats (7.2+dfsg-1) ...
Selecting previously unselected package libnet-xwhois-perl.
Preparing to unpack .../libnet-xwhois-perl_0.90-4_all.deb ...
Unpacking libnet-xwhois-perl (0.90-4) ...
Setting up awstats (7.2+dfsg-1) ...
Setting up libnet-xwhois-perl (0.90-4) ...
root@trusty:~#

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1525568

Title:
  package awstats (not installed) failed to install/upgrade: trying to
  overwrite '/usr/lib/cgi-bin', which is also in package php5-cgi 5.5.9
  +dfsg-1ubuntu4.14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/awstats/+bug/1525568/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to