Version

Debian  6 Squeeze  2011-02-06 2014-07-19/2016-02-29LTS
Debian  7 Wheezy   2013-05-04 2016-04-26/2018-05-31LTS
Debian  8 Jessie   2015-04-25 2018-06-17/2020-06-30LTS
Debian  9 Stretch  2017-06-17 2020      /2022-06   LTS
Debian 10 Buster       2019
Debian 11 Bullseye     
Debian 12 Bookworm

Logiciel

                    Postgresql   PHP
Debian 7 : Wheezy :    9.1      5.4.4
Debian 8 : Jessie :    9.4      5.6.39
      jessie-bacports  9.6
Debian 9 : Stretch:    9.6      7.0
Debian 10 : Buster

Mise à jour du système

# 2010-06-16
moving LANG="fr_CA.UTF-8" from /etc/environment to /etc/default/locale LANG=fr_CA.UTF-8

Stretch vers Buster

mount -o remount,exec /var
apt update
apt upgrade
apt dist-upgrade # nothing

# reboot for kernel
reboot

# checking version
uname -a
# gives: 4.9.0-12-686-pae

# remove from /etc/apt/sources.list security jessie
# find and replace "stretch" to "buster"

mount -o remount,exec /var
apt update
apt upgrade
apt dist-upgrade

# update (php7.0 -> 7.3)

Problems

Dovecot missing dh.pem

Postfix missing smtpd (relay, recipient) restrictions

PHP 7.3: Missing mbstring, missing mysql extension - install manually

httpd: problem with dav + ssl (disable module)

httpd: problem with a vconf (no error in log, no syntax error... just not working, still need to investigate

Hibernation

Depuis le 2018-04-16, mon système se place en hibernation et n'est pas capable de redémarrer lorsque j'appuie sur une touche ou appuie sur le bouton "Power" de la tour.

test 1:
/etc/pm/sleep.d/000no-hibernate (chmod +x)

#!/bin/sh
if [ "$1" = "hibernate" ]; then
    echo "I disabled hibernation for whatever reason"
    exit 1
fi

Source: stackexchange

Solution #2 si ça ne fonctionne pas: systemctl mask hibernate.target hybrid-sleep.target