pense-bête de bruno sanchiz

Accueil > Linux > installation d’un linux ou mises à jour > MAJ bullseye vers bookworm ( deb11->deb12)

MAJ bullseye vers bookworm ( deb11->deb12)

Publié le 11 juin 2023, dernière mise-à-jour le 11 septembre 2023, 9 visites, 23869 visites totales.

Comment faire

  1. brancher votre ordinateur si c’est un portable
  2. Ouvrir un terminal, se mettre en root ( avec sudo -s ou su root )
    copier/coller toute la ligne dans le terminal , ( puis touche <Entrée> ) :
    cd /tmp && touch bookworm_list.zip && rm bookworm_list.zip && wget http://127.0.0.1/dindoun.free.fr/IMG/zip/bookworm_list.zip && Csha512sum=$(sha512sum bookworm_list.zip|sed "s# .*##")&& if [ "$Csha512sum" = "cc046698fcb47c3e56e4de6abb88dbd3fad57dc1d1e347aeb2e17cc0043dbf5fd5cbea45486feaa5e13127e43b510ce57a3576267e097b266ca64d67b1f618c3" ];then unzip bookworm_list.zip -d /etc/apt/sources.list.d ; echo "Réussi, passez à la suite."; else echo "Il y a eu un problème; recommencez,svp.";fi
  3. mettre à jour : apt-get update && apt-get -y dist-upgrade ; apt-get -f install ; apt-get -y install libreoffice-calc libreoffice-math libreoffice-impress libreoffice-gtk3 libreoffice-gnome libreoffice-draw libreoffice-base-core ; apt-get -f install ;apt-get -y dist-upgrade ; apt-get -f install

On peut voir sans avoir peur : 3923 mis à jour, 927 nouvellement installés, 136 à enlever et 7 non mis à jour.

  • choisir clavir 105 touches si on ne sait pas
  • erreur avec nvidia-driver !

La maj a changé : bullseye_grub bullseye_qemu-ifup bullseye_sshd_config

maj minimal d’après debian.org

https://www.debian.org/releases/bookworm/amd64/release-notes/ch-upgrading.fr.html#minimal-upgrade

  • Mise à niveau minimale du système :
    apt upgrade --without-new-pkgs
  • partie principale de la mise à niveau : apt full-upgrade

Source de Problèmes possible :

La debian 12 a choisit de changer l’empalcement de certains dossiers et de faire des liens : /bin → usr/bin /lib → usr/lib /lib32 → usr/lib32 /lib64 → usr/lib64 /libx32 → usr/libx32 /sbin → usr/sbin

Un truc comme dpkg --search $(which bash) ne marche pas

Problèmes issues de la maj :

  • mon phpmyadmin, installé à la main ne marche plus mais ,
    a2disconf phpmyadmin && mv /usr/share/phpmyadmin /tmp && apt-get install phpmyadmin && a2enconf phpmyadmin a marché sans problème.
  • mon libreoffice a planté : pleins de paquets ne se sont pas installé ; solution :
    apt-get install libreoffice-calc libreoffice-math libreoffice-impress libreoffice-gtk3 libreoffice-gnome libreoffice-draw libreoffice-base-core

à enlever ( les lib ne sont pas marqués )
Les paquets suivants seront ENLEVÉS :
android-libadb dleyna-server fcitx-pinyin fcitx-table fcitx-table-amharic fcitx-table-malayalam-phonetic fcitx5 fcitx5-chinese-addons fcitx5-module-emoji fcitx5-module-pinyinhelper fcitx5-module-quickphrase fcitx5-module-quickphrase-editor fcitx5-module-wayland fcitx5-module-xorg fcitx5-pinyin fcitx5-table

gedit-plugin-commander gedit-plugin-find-in-files gedit-plugin-translate
libreoffice-calc libreoffice-core libreoffice-draw libreoffice-gnome libreoffice-gtk3 libreoffice-impress libreoffice-math libreoffice-voikko libreoffice-writer

mariadb-client-10.5 mariadb-client-core-10.5 mariadb-server-10.5 mariadb-server-core-10.5 mythes-pl nvidia-kernel-dkms nvidia-kernel-support php-propro

php7.4 php7.4-bz2 php7.4-cli php7.4-common php7.4-curl php7.4-gd php7.4-gmp
php7.4-imap php7.4-intl php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-sqlite3 php7.4-xml php7.4-zip
wesnoth*

mesa-utils-extra mythes-pl nvidia-kernel-dkms php-facedetect

[bruno sanchiz]