Last active
January 23, 2017 15:51
-
-
Save MwirabuaTimothy/d94d3e770fa2b7c34f3de61820356099 to your computer and use it in GitHub Desktop.
troubles installing/removing apache php mod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-!- apache2/sites-available » sudo apt-get remove libapache2-mod-php7.1 100 ↵ | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
You might want to run 'apt-get -f install' to correct these: | |
The following packages have unmet dependencies: | |
libapache2-mod-php : Depends: libapache2-mod-php7.1 but it is not going to be installed | |
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). | |
-!- apache2/sites-available » apt-get -f install 100 ↵ | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Correcting dependencies... Done | |
The following packages were automatically installed and are no longer required: | |
ruby1.8-dev rubygems passenger-dev passenger-doc ruby1.8 ruby-rack ruby passenger | |
Use 'apt-get autoremove' to remove them. | |
The following extra packages will be installed: | |
apache2-bin | |
Suggested packages: | |
apache2-doc apache2-suexec-pristine apache2-suexec-custom | |
The following NEW packages will be installed: | |
apache2-bin | |
0 upgraded, 1 newly installed, 0 to remove and 163 not upgraded. | |
2 not fully installed or removed. | |
Need to get 0 B/996 kB of archives. | |
After this operation, 3,717 kB of additional disk space will be used. | |
Do you want to continue [Y/n]? y | |
(Reading database ... 106479 files and directories currently installed.) | |
Unpacking apache2-bin (from .../apache2-bin_2.4.25-0.0+deb.sury.org~precise+1_amd64.deb) ... | |
dpkg: error processing /var/cache/apt/archives/apache2-bin_2.4.25-0.0+deb.sury.org~precise+1_amd64.deb (--unpack): | |
trying to overwrite '/usr/lib/apache2/modules/mod_imagemap.so', which is also in package apache2.2-bin 2.2.22-1ubuntu1.11 | |
dpkg-deb (subprocess): subprocess data was killed by signal (Broken pipe) | |
dpkg-deb: error: subprocess <decompress> returned error exit status 2 | |
Errors were encountered while processing: | |
/var/cache/apt/archives/apache2-bin_2.4.25-0.0+deb.sury.org~precise+1_amd64.deb | |
E: Sub-process /usr/bin/dpkg returned an error code (1) | |
-!- apache2/sites-available » ls /var/cache/apt/archives/ 100 ↵ | |
apache2-bin_2.4.25-0.0+deb.sury.org~precise+1_amd64.deb lock partial | |
-!- apache2/sites-available » apt-get clean 1 ↵ | |
-!- apache2/sites-available » apt-get -f install | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Correcting dependencies... Done | |
The following packages were automatically installed and are no longer required: | |
ruby1.8-dev rubygems passenger-dev passenger-doc ruby1.8 ruby-rack ruby passenger | |
Use 'apt-get autoremove' to remove them. | |
The following extra packages will be installed: | |
apache2-bin | |
Suggested packages: | |
apache2-doc apache2-suexec-pristine apache2-suexec-custom | |
The following NEW packages will be installed: | |
apache2-bin | |
0 upgraded, 1 newly installed, 0 to remove and 163 not upgraded. | |
2 not fully installed or removed. | |
Need to get 996 kB of archives. | |
After this operation, 3,717 kB of additional disk space will be used. | |
Do you want to continue [Y/n]? y | |
Get:1 http://ppa.launchpad.net/ondrej/apache2/ubuntu/ precise/main apache2-bin amd64 2.4.25-0.0+deb.sury.org~precise+1 [996 kB] | |
Fetched 996 kB in 0s (7,019 kB/s) | |
(Reading database ... 106479 files and directories currently installed.) | |
Unpacking apache2-bin (from .../apache2-bin_2.4.25-0.0+deb.sury.org~precise+1_amd64.deb) ... | |
dpkg: error processing /var/cache/apt/archives/apache2-bin_2.4.25-0.0+deb.sury.org~precise+1_amd64.deb (--unpack): | |
trying to overwrite '/usr/lib/apache2/modules/mod_imagemap.so', which is also in package apache2.2-bin 2.2.22-1ubuntu1.11 | |
dpkg-deb (subprocess): subprocess data was killed by signal (Broken pipe) | |
dpkg-deb: error: subprocess <decompress> returned error exit status 2 | |
Errors were encountered while processing: | |
/var/cache/apt/archives/apache2-bin_2.4.25-0.0+deb.sury.org~precise+1_amd64.deb | |
E: Sub-process /usr/bin/dpkg returned an error code (1) | |
-!- apache2/sites-available » dpkg --configure -a 100 ↵ | |
dpkg: dependency problems prevent configuration of libapache2-mod-php7.1: | |
libapache2-mod-php7.1 depends on apache2-api-20120211; however: | |
Package apache2-api-20120211 is not installed. | |
dpkg: error processing libapache2-mod-php7.1 (--configure): | |
dependency problems - leaving unconfigured | |
dpkg: dependency problems prevent configuration of libapache2-mod-php: | |
libapache2-mod-php depends on libapache2-mod-php7.1; however: | |
Package libapache2-mod-php7.1 is not configured yet. | |
dpkg: error processing libapache2-mod-php (--configure): | |
dependency problems - leaving unconfigured | |
Errors were encountered while processing: | |
libapache2-mod-php7.1 | |
libapache2-mod-php | |
-!- apache2/sites-available » apt-get -u dist-upgrade 1 ↵ | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
You might want to run 'apt-get -f install' to correct these. | |
The following packages have unmet dependencies: | |
libapache2-mod-php7.1 : Depends: apache2-api-20120211 | |
E: Unmet dependencies. Try using -f. | |
-!- apache2/sites-available » apt-get -u dist-upgrade 1 ↵ | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
You might want to run 'apt-get -f install' to correct these. | |
The following packages have unmet dependencies: | |
libapache2-mod-php7.1 : Depends: apache2-api-20120211 | |
E: Unmet dependencies. Try using -f. | |
-!- apache2/sites-available » apt-get -o Debug::pkgProblemResolver=yes dist-upgrade 100 ↵ | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
You might want to run 'apt-get -f install' to correct these. | |
The following packages have unmet dependencies: | |
libapache2-mod-php7.1 : Depends: apache2-api-20120211 | |
E: Unmet dependencies. Try using -f. | |
-!- apache2/sites-available » apt-get remove --dry-run apache2-api-20120211 100 ↵ | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Note, selecting 'apache2-bin' instead of 'apache2-api-20120211' | |
You might want to run 'apt-get -f install' to correct these: | |
The following packages have unmet dependencies: | |
libapache2-mod-php7.1 : Depends: apache2-api-20120211 | |
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). | |
-!- apache2/sites-available » apt-get remove --dry-run libapache2-mod-php7.1 100 ↵ | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
You might want to run 'apt-get -f install' to correct these: | |
The following packages have unmet dependencies: | |
libapache2-mod-php : Depends: libapache2-mod-php7.1 but it is not going to be installed | |
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). | |
-!- apache2/sites-available » |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment