Skip to content

Instantly share code, notes, and snippets.

@metaperl
Created July 9, 2017 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metaperl/5f881d7b8e1ee854745450d35cd5a3cb to your computer and use it in GitHub Desktop.
Save metaperl/5f881d7b8e1ee854745450d35cd5a3cb to your computer and use it in GitHub Desktop.
Error installing apache when upgrading from jessie to stretch
schemelab@metta:/etc/apt$ sudo 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:
libasprintf0c2 libassuan0 libbind9-80 libboost-dev libboost1.55-dev
libc-ares2 libclass-method-modifiers-perl libcpan-changes-perl libdns88
libdrm-amdgpu1 libdrm-nouveau2 libegl1-mesa libelfg0 libepoxy0
libfile-slurp-perl libgbm1 libgd2-xpm libgnutls-dane0 libgraphite2-dev
libidn11-dev libisc84 libisccc80 libisccfg82 libksba8 liblua5.3-0 liblwres80
libopenjp2-7 libpcre16-3 libpcre32-3 libpod-markdown-perl libpython2.6
librole-tiny-perl librtmp0 libstemmer0d libsystemd-login0 libtcl8.6
libtext-unidecode-perl libtk8.6 libtxc-dxtn-s2tc libtypes-serialiser-perl
libunbound2 libuuid-perl libwayland-egl1-mesa libwayland-server0
libxcb-xfixes0 libxss1 lockfile-progs m17n-contrib mongodb-dev
openssh-blacklist openssh-blacklist-extra postgresql-9.1
postgresql-client-9.1 python-defusedxml python-fpconst python-soappy
python-wstools tex-common
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 110 not upgraded.
616 not fully installed or removed.
Need to get 0 B/1181 kB of archives.
After this operation, 4167 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 121606 files and directories currently installed.)
Preparing to unpack .../apache2-bin_2.4.25-3+deb9u1_amd64.deb ...
Unpacking apache2-bin (2.4.25-3+deb9u1) ...
dpkg: error processing archive /var/cache/apt/archives/apache2-bin_2.4.25-3+deb9u1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/apache2/modules/httpd.exp', which is also in package apache2.2-bin 2.2.22-13+deb7u4
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/apache2-bin_2.4.25-3+deb9u1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
schemelab@metta:/etc/apt$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment