J'essaie d'installer la dernière version d'Apache 2.4. Cependant :
$ sudo apt-get install apache2=2.4.*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '2.4.10-1ubuntu1.1~ubuntu14.04.1' (Ubuntu:14.04/trusty-backports [i386]) for 'apache2'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
apache2 : Depends: apache2-bin (= 2.4.10-1ubuntu1.1~ubuntu14.04.1) but 2.4.7-1ubuntu4.10 is to be installed
Depends: apache2-data (= 2.4.10-1ubuntu1.1~ubuntu14.04.1) but 2.4.7-1ubuntu4.10 is to be installed
E: Unable to correct problems, you have held broken packages.
Il existe en effet des paquets pour les deux 2.4.7
et pour 2.4.10
dans différents référentiels :
$ apt-cache policy apache2-data
apache2-data:
Installed: (none)
Candidate: 2.4.7-1ubuntu4.10
Version table:
2.4.10-1ubuntu1.1~ubuntu14.04.1 0
100 http://archive.ubuntu.com/ubuntu/ trusty-backports/main i386 Packages
2.4.7-1ubuntu4.10 0
500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
2.4.7-1ubuntu4.5 0
500 http://security.ubuntu.com/ubuntu/ trusty-security/main i386 Packages
2.4.7-1ubuntu4 0
500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
Cependant, je ne sais pas comment leurs dépendances se mélangent pour que j'obtienne l'erreur ci-dessus.