I'm new to the debian forum and relatively new to debian itself and my first question here is about understanding how to resolve unment dependencies.
I've never had the need before but now I have to install an old version of Apache and PHP in order to conduct some tests.
From my understanding, http://snapshot.debian.org contains packages coming from old snapshots of the repository. I've looked for the package I need, (apache2 for starting) and I included in my source.list.d/source.list the following:
Code: Select all
deb http://snapshot.debian.org/archive/debian/20130304T213347Z/ squeeze main
and I checked whether I could see the new version with apt-cache madinson apache2, which output shows:
Code: Select all
apache2 | 2.4.10-10+deb8u8 | http://security.debian.org/ jessie/updates/main amd64 Packages
apache2 | 2.4.10-10+deb8u7 | http://ftp.it.debian.org/debian/ jessie/main amd64 Packages
apache2 | 2.2.16-6+squeeze10 | http://snapshot.debian.org/archive/debian/20130304T213347Z/ squeeze/main amd64 Packages
apache2 | 2.4.10-10+deb8u7 | http://ftp.it.debian.org/debian/ jessie/main Sources
apache2 | 2.4.10-10+deb8u8 | http://security.debian.org/ jessie/updates/main Sources
Code: Select all
The following NEW packages will be installed:
apache2{b}
0 packages upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
Need to get 1,398 B of archives. After unpacking 36.9 kB will be used.
The following packages have unmet dependencies:
apache2 : Depends: apache2-mpm-worker (= 2.2.16-6+squeeze10) but it is not going to be installed. or
apache2-mpm-prefork (= 2.2.16-6+squeeze10) but it is not going to be installed. or
apache2-mpm-event (= 2.2.16-6+squeeze10) but it is not going to be installed. or
apache2-mpm-itk (= 2.2.16-6+squeeze10) but it is not going to be installed.
Depends: apache2.2-common (= 2.2.16-6+squeeze10) but it is not going to be installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) apache2 [Not Installed]
Any suggestion on what I'm doing wrong?
EDIT: I forgot to mention that I'm running a fresh install of Debian 8 Jessie without any previous Apache2 installed