×
Inicio Galería Aleatorio Contacto

Upgrade debian 8 jessie

Sección: Administración de sistemas

Creado: 23-05-21 (Actualizado: 21-02-22)

Pasos a seguir para actualizar un servidor debian 8 a 9.

Instalamos aptitude y byobu

apt install aptitude
apt install byobu

Buscamos paquetes obsoletos

aptitude search '~o'

Jessie Full Upgrade

apt-get update
apt-get upgrade
apt-get dist-upgrade

If everything went smoothly, perform database sanity and consistency checks for partially installed, missing and obsolete packages:

# dpkg -C
The following packages are missing the md5sums control file in the
database, they need to be reinstalled:
 module-init-tools    transitional dummy package (module-init-tools to kmod)

Para solucionarlo

apt-get install --reinstall module-init-tools 

If no issues are reported, check what packages are held back:

# apt-mark showhold

Packages On Hold will not be upgraded, which may cause inconsistencies after Stretch upgrade. Before you move to the next part, it is recommended to fix all issues produced by both above commands.

Update Package Repository to Debian Stretch

sed -i 's/jessie/stretch/g' /etc/apt/sources.list
apt update
apt list --upgradable
apt upgrade
apt dist-upgrade

De nuevo buscamos paquetes obsoletos

aptitude search '~o'

Upgrade to buster

sed -i 's/stretch/buster/g' /etc/apt/sources.list
apt update
apt list --upgradable
apt upgrade
apt dist-upgrade

Si da error

apt --fix-broken install

Siguiente Publicación

Últimas Publicaciones Sugeridas