Aktualizacja Apache2 do wersji 2.4.12

650_1000_apache-server

Aktualizacja Apache2 z wersji 2.4.10 na wersje 2.4.12 [ unstabe ]

Aktualny changelog znajduje sie tutaj: changelog

Poradnik na systemie Debian 8 na domowym serwerze.

Dodajemy odpowiednie źródła pakietów do systemu:

nano /etc/apt/sources.list
# Testing repository - main, contrib and non-free branches
deb http://http.us.debian.org/debian testing main non-free contrib
deb-src http://http.us.debian.org/debian testing main non-free contrib


# Testing security updates repository
deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free


# Unstable repo main, contrib and non-free branches, no security updates here
deb http://http.us.debian.org/debian unstable main non-free contrib
deb-src http://http.us.debian.org/debian unstable main non-free contrib

Definiujemy preferencje pakietów:

nano /etc/apt/preferences.d/my_preferences
Package: *
Pin: release a=stable
Pin-Priority: 650

Package: *
Pin: release a=testing
Pin-Priority: 600

Package: *
Pin: release a=unstable
Pin-Priority: 700

Aktualizujemy liste pakietów:

apt-get update

Sprawdzamy czy zadziałało. U mnie efektu już po aktualizacji, ale powinna być tam możliwa najwyzsza wersja aplikacji pokazana:

apt-cache policy apache2
root@home:~# apt-cache policy apache2
apache2:
  Installed: 2.4.12-1
  Candidate: 2.4.12-1
  Version table:
 *** 2.4.12-1 0
        700 http://http.us.debian.org/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status
     2.4.10-11 0
        600 http://http.us.debian.org/debian/ testing/main amd64 Packages
     2.4.10-10 0
        650 http://ftp.pl.debian.org/debian/ jessie/main amd64 Packages
     2.2.22-13+deb7u4 0
        500 http://http.debian.net/debian/ wheezy/main amd64 Packages

Aktualizacja Apache2

apt-get install apache2/unstable -y

To wszystko, po pomyślnej aktualizacji serwer się przeładuje, efekt:
apache