#51 Le 17/02/2023, à 14:16
- ollivier
Re : [Résolu] passage de version 20.04 lts à 22.04 lts
Mise à niveau terminée avec succès, merci beaucoup à vous 4, xubu1957, ylag, fred-cavernedufond et nany !
Hors ligne
#52 Le 17/02/2023, à 14:51
- ylag
Re : [Résolu] passage de version 20.04 lts à 22.04 lts
Bonjour,
Tant mieux pour la mise à niveau réussie.
Pour fins de vérification, donne si possible le résultat de :
apt list ?obsolete
À noter que le PPA sane-release ne semble pas fournir de paquets pour la 22.04, les fichiers Packages.xz et Packages.gz sont vides :
http://ppa.launchpad.net/sane-project/s … ary-amd64/
Déjà que ça ne semblait plus fonctionner correctement sur la 20.04 ...
Si tu as besoin des bibliothèques libsane issues du PPA, il faudra utiliser le dépôt sane-git sur la 22.04 ; mais je crois que ça ne devrait pas s'avérer nécessaire, à toi de voir ...
A+
Dernière modification par ylag (Le 17/02/2023, à 14:51)
Hors ligne
#53 Le 17/02/2023, à 15:41
- ollivier
Re : [Résolu] passage de version 20.04 lts à 22.04 lts
Le résultat de cette commande est :
ollivier@ollivier-Aspire-A515-54:~$ apt list ?obsolete
En train de lister... Fait
boot-info/now 4ppa203 all [installé, local]
boot-sav-extra/now 4ppa203 all [installé, local]
boot-sav/now 4ppa203 all [installé, local]
clipgrab/now 3.9.7-1~xtradeb1 amd64 [installé, local]
glade2script-python3/now 3.2.4~ppa23 all [installé, local]
glade2script/now 3.2.4~ppa23 all [installé, local]
libarmadillo9/now 1:9.800.4+dfsg-1build1 amd64 [installé, local]
libcfitsio8/now 3.470-3 amd64 [installé, local]
libdap25/now 3.20.5-1 amd64 [installé, local]
libepsilon1/now 0.9.2+dfsg-4 amd64 [installé, local]
libgdal26/now 3.0.4+dfsg-1build3 amd64 [installé, local]
libilmbase24/now 2.3.0-6build1 amd64 [installé, local]
libjson-c4/now 0.13.1+dfsg-7ubuntu0.3 amd64 [installé, local]
libnetcdf15/now 1:4.7.3-1 amd64 [installé, local]
libopencv-core4.2/now 4.2.0+dfsg-5 amd64 [installé, local]
libopencv-imgcodecs4.2/now 4.2.0+dfsg-5 amd64 [installé, local]
libopencv-imgproc4.2/now 4.2.0+dfsg-5 amd64 [installé, local]
libopenexr24/now 2.3.0-6ubuntu0.5 amd64 [installé, local]
libpoppler97/now 0.86.1-0ubuntu1.1 amd64 [installé, local]
libproj15/now 6.3.1-1 amd64 [installé, local]
libqhull7/now 2015.2-4 amd64 [installé, local]
libruby2.7/now 2.7.0-5ubuntu1.7 amd64 [installé, local]
libssl1.1/now 1.1.1f-1ubuntu2.17 amd64 [installé, local]
libvkd3d-shader1/now 1.3~focal-1 i386 [installé, local]
libwebp6/now 0.6.1-2ubuntu0.20.04.1 amd64 [installé, local]
net.downloadhelper.coapp/now 1.6.3 amd64 [installé, local]
vkd3d-compiler/now 1.3~focal-1 i386 [installé, local]
Encore merci !
Hors ligne
#54 Le 17/02/2023, à 17:21
- nany
Re : [Résolu] passage de version 20.04 lts à 22.04 lts
En fait, l’idéal serait de réactiver les ppa avant de faire cette commande.
Donc, donne le retour de :
sudo sed -ri "/cdrom/! s/(ubuntu\/* ) *[a-z]*/\1$(lsb_release -sc)/" /etc/apt/sources.list && find /etc/apt -type f -regex ".*\(list\|sources\).*" -exec bash -c 'echo -e "\n\t$1\n" ; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;
Hors ligne
#55 Le 17/02/2023, à 17:24
- ollivier
Re : [Résolu] passage de version 20.04 lts à 22.04 lts
ça donne ceci :
ollivier@ollivier-Aspire-A515-54:~$ sudo sed -ri "/cdrom/! s/(ubuntu\/* ) *[a-z]*/\1$(lsb_release -sc)/" /etc/apt/sources.list && find /etc/apt -type f -regex ".*\(list\|sources\).*" -exec bash -c 'echo -e "\n\t$1\n" ; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;
[sudo] Mot de passe de ollivier :
/etc/apt/sources.list.d/xtradeb-ubuntu-apps-focal.list.save
/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-focal.list
1 # deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu jammy main # désactivé pour la mise à niveau vers jammy
2 # deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
/etc/apt/sources.list.d/alexis_bienvenue-ubuntu-amc-stable-focal.list.distUpgrade
/etc/apt/sources.list.d/alexis_bienvenue-ubuntu-amc-stable-focal.list.save
/etc/apt/sources.list.d/xtradeb-ubuntu-apps-focal.list
1 # deb http://ppa.launchpad.net/xtradeb/apps/ubuntu jammy main # désactivé pour la mise à niveau vers jammy
2 # deb-src http://ppa.launchpad.net/xtradeb/apps/ubuntu focal main
/etc/apt/sources.list.d/xtradeb-ubuntu-apps-focal.list.distUpgrade
/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-focal.list.distUpgrade
/etc/apt/sources.list.d/alexis_bienvenue-ubuntu-amc-stable-focal.list
1 # deb http://ppa.launchpad.net/alexis.bienvenue/amc-stable/ubuntu jammy main # désactivé pour la mise à niveau vers jammy
2 # deb-src http://ppa.launchpad.net/alexis.bienvenue/amc-stable/ubuntu focal main
/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-focal.list.save
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1)]/ focal main restricted
2
3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
4 # newer versions of the distribution.
5 deb http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted
6 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
11 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://fr.archive.ubuntu.com/ubuntu/ jammy universe
17 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy universe
18 deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates universe
19 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-updates universe
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://fr.archive.ubuntu.com/ubuntu/ jammy multiverse
27 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy multiverse
28 deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
29 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
37 # deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
38
39
40 deb http://security.ubuntu.com/ubuntu jammy-security main restricted
41 # deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted
42 deb http://security.ubuntu.com/ubuntu jammy-security universe
43 # deb-src http://security.ubuntu.com/ubuntu jammy-security universe
44 deb http://security.ubuntu.com/ubuntu jammy-security multiverse
45 # deb-src http://security.ubuntu.com/ubuntu jammy-security multiverse
46
47 # This system was installed using small removable media
48 # (e.g. netinst, live or single CD). The matching "deb cdrom"
49 # entries were disabled at the end of the installation process.
50 # For information about how to configure apt package sources,
51 # see the sources.list(5) manual.
/etc/apt/sources.list.distUpgrade
/etc/apt/sources.list.save
Hors ligne
#56 Le 17/02/2023, à 17:40
- nany
Re : [Résolu] passage de version 20.04 lts à 22.04 lts
Maintenant donne les retours de :
cd /etc/apt && sudo rm -v *.{save,distUpgrade} ; cd /etc/apt/sources.list.d && sudo rm -v *.{save,distUpgrade} ; cd
cd /etc/apt/sources.list.d && sudo mv -v alexis_bienvenue-ubuntu-amc-stable-{focal,jammy}.list ; sudo mv -v xtradeb-ubuntu-apps-{focal,jammy}.list ; sudo mv -v yannubuntu-ubuntu-boot-repair-{focal,jammy}.list ; cd
sudo sed -i 's/^# deb /deb /;s/ # désactivé .*//;s/focal/jammy/' /etc/apt/sources.list.d/*.list
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo apt clean && sudo apt update
apt list ?obsolete
Dernière modification par nany (Le 17/02/2023, à 17:56)
Hors ligne
#57 Le 17/02/2023, à 18:47
- ollivier
Re : [Résolu] passage de version 20.04 lts à 22.04 lts
voici les résultats :
ollivier@ollivier-Aspire-A515-54:~$ cd /etc/apt && sudo rm -v *.{save,distUpgrade} ; cd /etc/apt/sources.list.d && sudo rm -v *.{save,distUpgrade} ; cd
[sudo] Mot de passe de ollivier :
'sources.list.save' supprimé
'sources.list.distUpgrade' supprimé
'alexis_bienvenue-ubuntu-amc-stable-focal.list.save' supprimé
'xtradeb-ubuntu-apps-focal.list.save' supprimé
'yannubuntu-ubuntu-boot-repair-focal.list.save' supprimé
'alexis_bienvenue-ubuntu-amc-stable-focal.list.distUpgrade' supprimé
'xtradeb-ubuntu-apps-focal.list.distUpgrade' supprimé
'yannubuntu-ubuntu-boot-repair-focal.list.distUpgrade' supprimé
ollivier@ollivier-Aspire-A515-54:~$ cd /etc/apt/sources.list.d && sudo mv -v alexis_bienvenue-ubuntu-amc-stable-{focal,jammy}.list ; sudo mv -v xtradeb-ubuntu-apps-{focal,jammy}.list ; sudo mv -v yannubuntu-ubuntu-boot-repair-{focal,jammy}.list ; cd
renommé 'alexis_bienvenue-ubuntu-amc-stable-focal.list' -> 'alexis_bienvenue-ubuntu-amc-stable-jammy.list'
renommé 'xtradeb-ubuntu-apps-focal.list' -> 'xtradeb-ubuntu-apps-jammy.list'
renommé 'yannubuntu-ubuntu-boot-repair-focal.list' -> 'yannubuntu-ubuntu-boot-repair-jammy.list'
ollivier@ollivier-Aspire-A515-54:~$ sudo sed -i 's/^# deb /deb /;s/ # désactivé .*//;s/focal/jammy/' /etc/apt/sources.list.d/*.list
ollivier@ollivier-Aspire-A515-54:~$ sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
--2023-02-17 18:44:30-- https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
Résolution de dl.winehq.org (dl.winehq.org)… 151.101.122.217
Connexion à dl.winehq.org (dl.winehq.org)|151.101.122.217|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 163
Enregistre : ‘/etc/apt/sources.list.d/winehq-jammy.sources’
winehq-jammy.sources 100%[===============================================================================================================>] 163 --.-KB/s ds 0s
2023-02-17 18:44:30 (2,55 MB/s) - ‘/etc/apt/sources.list.d/winehq-jammy.sources’ enregistré [163/163]
ollivier@ollivier-Aspire-A515-54:~$ sudo apt clean && sudo apt update
Réception de :1 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease [8041 B]
Atteint :2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Atteint :3 http://fr.archive.ubuntu.com/ubuntu jammy InRelease
Réception de :4 http://ppa.launchpad.net/alexis.bienvenue/amc-stable/ubuntu jammy InRelease [17,6 kB]
Réception de :5 http://fr.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Réception de :6 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages [88,8 kB]
Réception de :7 http://ppa.launchpad.net/xtradeb/apps/ubuntu jammy InRelease [18,1 kB]
Réception de :8 https://dl.winehq.org/wine-builds/ubuntu jammy/main all Packages [928 B]
Réception de :9 https://dl.winehq.org/wine-builds/ubuntu jammy/main i386 Packages [88,5 kB]
Réception de :10 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu jammy InRelease [17,5 kB]
Réception de :11 http://fr.archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB]
Réception de :12 http://ppa.launchpad.net/alexis.bienvenue/amc-stable/ubuntu jammy/main amd64 Packages [1492 B]
Réception de :13 http://ppa.launchpad.net/alexis.bienvenue/amc-stable/ubuntu jammy/main i386 Packages [1164 B]
Réception de :14 http://ppa.launchpad.net/alexis.bienvenue/amc-stable/ubuntu jammy/main Translation-en [516 B]
Réception de :15 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [898 kB]
Réception de :16 http://ppa.launchpad.net/xtradeb/apps/ubuntu jammy/main amd64 Packages [41,0 kB]
Réception de :17 http://ppa.launchpad.net/xtradeb/apps/ubuntu jammy/main i386 Packages [8172 B]
Réception de :18 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [441 kB]
Réception de :19 http://ppa.launchpad.net/xtradeb/apps/ubuntu jammy/main Translation-en [27,7 kB]
Réception de :20 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu jammy/main i386 Packages [1828 B]
Réception de :21 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu jammy/main amd64 Packages [1828 B]
Réception de :22 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu jammy/main Translation-en [1596 B]
1890 ko réceptionnés en 1s (2045 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
13 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.
ollivier@ollivier-Aspire-A515-54:~$ apt list ?obsolete
En train de lister... Fait
libarmadillo9/now 1:9.800.4+dfsg-1build1 amd64 [installé, local]
libcfitsio8/now 3.470-3 amd64 [installé, local]
libdap25/now 3.20.5-1 amd64 [installé, local]
libepsilon1/now 0.9.2+dfsg-4 amd64 [installé, local]
libgdal26/now 3.0.4+dfsg-1build3 amd64 [installé, local]
libilmbase24/now 2.3.0-6build1 amd64 [installé, local]
libjson-c4/now 0.13.1+dfsg-7ubuntu0.3 amd64 [installé, local]
libnetcdf15/now 1:4.7.3-1 amd64 [installé, local]
libopencv-core4.2/now 4.2.0+dfsg-5 amd64 [installé, local]
libopencv-imgcodecs4.2/now 4.2.0+dfsg-5 amd64 [installé, local]
libopencv-imgproc4.2/now 4.2.0+dfsg-5 amd64 [installé, local]
libopenexr24/now 2.3.0-6ubuntu0.5 amd64 [installé, local]
libpoppler97/now 0.86.1-0ubuntu1.1 amd64 [installé, local]
libproj15/now 6.3.1-1 amd64 [installé, local]
libqhull7/now 2015.2-4 amd64 [installé, local]
libruby2.7/now 2.7.0-5ubuntu1.7 amd64 [installé, local]
libssl1.1/now 1.1.1f-1ubuntu2.17 amd64 [installé, local]
libwebp6/now 0.6.1-2ubuntu0.20.04.1 amd64 [installé, local]
net.downloadhelper.coapp/now 1.6.3 amd64 [installé, local]
Hors ligne
#58 Le 17/02/2023, à 19:12
- nany
Re : [Résolu] passage de version 20.04 lts à 22.04 lts
Ne sachant pas d’où viennent ces paquets, je préfère ne pas y toucher. On va les laisser dans leur coin tant qu’ils ne font pas de mal.
En revanche, si tu le souhaites, tu peux installer winehq-stable :
sudo apt install --install-recommends winehq-stable
Hors ligne
#59 Le 17/02/2023, à 22:44
- ollivier
Re : [Résolu] passage de version 20.04 lts à 22.04 lts
ok, c'est installé, merci (si ça peut pas aider pour installer mon scanner Epson perfection 2480, ça sera parfait ...)
Hors ligne