Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#51 Le 11/02/2022, à 11:18

gycath

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

toujours pareil!!!

Hors ligne

#52 Le 11/02/2022, à 11:53

gycath

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

voilà ce que j'ai
20220111-122649.jpg

Dernière modification par gycath (Le 11/02/2022, à 11:54)

Hors ligne

#53 Le 11/02/2022, à 12:49

cqfd93

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

Oui, c'est pas très pratique… sad

Je ne sais pas quoi te suggérer d'autre que de changer de thème.


cqfd93

Hors ligne

#54 Le 11/02/2022, à 13:05

gycath

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

Qu'entends tu par là? installer correctement la 20 04 LTS via la version officielle pour écraser cette mise à niveau?

Hors ligne

#55 Le 11/02/2022, à 13:34

gycath

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

c'est qd même fort que les mises à niveau provoquent autant de désagréments!!!!

Hors ligne

#56 Le 11/02/2022, à 13:41

cqfd93

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

gycath a écrit :

Qu'entends tu par là? installer correctement la 20 04 LTS via la version officielle pour écraser cette mise à niveau?

Juste changer l'apparence en choisissant un des thèmes disponibles.


cqfd93

Hors ligne

#57 Le 11/02/2022, à 13:53

gycath

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

comment faire cela? je ne comprends pas

Hors ligne

#58 Le 11/02/2022, à 13:54

xubu1957

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

@cqfd93

Ton avis pour la commande de Roschan ?


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

Hors ligne

#59 Le 11/02/2022, à 13:57

cqfd93

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

xubu1957 a écrit :

@cqfd93

Ton avis pour la commande de Roschan ?

Ah oui, pourquoi pas.

sudo apt install --reinstall gnome-session

cqfd93

Hors ligne

#60 Le 11/02/2022, à 16:15

gycath

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

Bon désolé mais j'ai tout écrasé ....et là c’est ok
pb faut tout reconfigurer dans la joie

Hors ligne

#61 Le 12/02/2022, à 05:52

gycath

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

Bonjour,
Dois je modifier /etc/apt/sources.list selon les remarques suivantes en supprimant les lignes redondantes ?

lapbar@lapbar-W65-W67RZ1:~$ sudo apt update
[sudo] Mot de passe de lapbar : 
Atteint :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease         
Atteint :3 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease       
Atteint :4 http://security.ubuntu.com/ubuntu focal-security InRelease          
Ign :5 https://repo.vivaldi.com/archive/deb stable InRelease                   
Atteint :6 https://deb.opera.com/opera-stable stable InRelease        
Ign :7 https://repo.vivaldi.com/stable/deb stable InRelease           
Atteint :8 https://repo.vivaldi.com/archive/deb stable Release
Atteint :9 https://repo.vivaldi.com/stable/deb stable Release
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
W: La cible Packages (non-free/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Packages (non-free/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Packages (non-free/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Translations (non-free/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Translations (non-free/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Translations (non-free/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11 (non-free/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11 (non-free/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11-icons-small (non-free/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11-icons (non-free/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11-icons-hidpi (non-free/dep11/icons-64x64@2.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible CNF (non-free/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible CNF (non-free/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
N: Le fichier configuré « main/binary-i386/Packages » ne sera pas pris en compte car le dépôt « https://repo.vivaldi.com/archive/deb stable InRelease » ne prend pas en charge l'architecture « i386 »
W: La cible Packages (non-free/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Packages (non-free/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Packages (non-free/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Translations (non-free/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Translations (non-free/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Translations (non-free/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11 (non-free/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11 (non-free/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11-icons-small (non-free/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11-icons (non-free/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11-icons-hidpi (non-free/dep11/icons-64x64@2.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible CNF (non-free/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible CNF (non-free/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4

Hors ligne

#62 Le 12/02/2022, à 06:55

cqfd93

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

Bonjour,

gycath a écrit :

Bon désolé mais j'ai tout écrasé ....et là c’est ok
pb faut tout reconfigurer dans la joie

Tu veux dire réinstallé ubuntu ?


cqfd93

Hors ligne

#63 Le 12/02/2022, à 06:57

cqfd93

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

gycath a écrit :

Dois je modifier /etc/apt/sources.list selon les remarques suivantes en supprimant les lignes redondantes ?

Oui, montre tes sources pour qu'on voie ce qu'il faut faire :

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

cqfd93

Hors ligne

#64 Le 12/02/2022, à 13:37

gycath

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

oui j'ai tout réinstallé

lapbar@lapbar-W65-W67RZ1:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list

     1	# deb cdrom:[Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819)]/ 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/ focal main restricted
     6	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal 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/ focal-updates main restricted
    11	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal universe
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal universe
    18	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
    19	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal multiverse
    27	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
    28	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    29	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal-backports main restricted universe multiverse
    37	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    38	
    39	## Uncomment the following two lines to add software from Canonical's
    40	## 'partner' repository.
    41	## This software is not part of Ubuntu, but is offered by Canonical and the
    42	## respective vendors as a service to Ubuntu users.
    43	# deb http://archive.canonical.com/ubuntu focal partner
    44	# deb-src http://archive.canonical.com/ubuntu focal partner
    45	
    46	deb http://security.ubuntu.com/ubuntu focal-security main restricted
    47	# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
    48	deb http://security.ubuntu.com/ubuntu focal-security universe
    49	# deb-src http://security.ubuntu.com/ubuntu focal-security universe
    50	deb http://security.ubuntu.com/ubuntu focal-security multiverse
    51	# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
    52	
    53	# This system was installed using small removable media
    54	# (e.g. netinst, live or single CD). The matching "deb cdrom"
    55	# entries were disabled at the end of the installation process.
    56	# For information about how to configure apt package sources,
    57	# see the sources.list(5) manual.
    58	deb https://repo.vivaldi.com/archive/deb/ stable main
    59	# deb-src https://repo.vivaldi.com/archive/deb/ stable main
    60	deb https://deb.opera.com/opera-stable/ stable non-free
    61	# deb-src https://deb.opera.com/opera-stable/ stable non-free

/etc/apt/sources.list.d/vivaldi.list

     1	### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2	# You may comment out this entry, but any other modifications may be lost.
     3	deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main

/etc/apt/sources.list.d/opera-stable.list

     1	# This file makes sure that Opera Browser is kept up-to-date
     2	# as part of regular system upgrades
     3	
     4	deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
lapbar@lapbar-W65-W67RZ1:~$

Hors ligne

#65 Le 12/02/2022, à 13:41

cqfd93

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

On peut supprimer les 4 dernières lignes de sources.list.
Commande de suppression qui ne retourne rien si elle se passe bien :

sudo sed -i '58,61d' /etc/apt/sources.list

Mises à jour :

sudo apt update
sudo apt full-upgrade

cqfd93

Hors ligne

#66 Le 12/02/2022, à 15:23

gycath

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

lapbar@lapbar-W65-W67RZ1:~$ sudo sed -i '58,61d' /etc/apt/sources.list
[sudo] Mot de passe de lapbar : 
lapbar@lapbar-W65-W67RZ1:~$ sudo apt update
Atteint :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease         
Atteint :3 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease       
Ign :4 https://repo.vivaldi.com/stable/deb stable InRelease                    
Atteint :5 https://deb.opera.com/opera-stable stable InRelease                 
Atteint :6 http://security.ubuntu.com/ubuntu focal-security InRelease 
Atteint :7 https://repo.vivaldi.com/stable/deb stable Release         
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
lapbar@lapbar-W65-W67RZ1:~$ sudo apt full-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
lapbar@lapbar-W65-W67RZ1:~$ 

impeccable merci

Hors ligne

#67 Le 12/02/2022, à 15:30

gycath

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

sur un autre ordi équipé de ubuntu 20 04 dois je utiliser les mêmes  commandes pour régler ces "W"

lapartbar@lapartbar-W240EU-W250EUQ-W270EUQ:~$ sudo apt update
[sudo] Mot de passe de lapartbar : 
Atteint :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease         
Ign :3 https://repo.vivaldi.com/archive/deb stable InRelease                   
Atteint :4 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease       
Atteint :5 http://security.ubuntu.com/ubuntu focal-security InRelease          
Atteint :6 https://deb.opera.com/opera-stable stable InRelease                 
Ign :7 https://repo.vivaldi.com/stable/deb stable InRelease           
Atteint :8 https://repo.vivaldi.com/archive/deb stable Release
Atteint :9 https://repo.vivaldi.com/stable/deb stable Release
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
W: La cible Packages (non-free/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Packages (non-free/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Packages (non-free/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Translations (non-free/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Translations (non-free/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Translations (non-free/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11 (non-free/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11 (non-free/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11-icons-small (non-free/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11-icons (non-free/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11-icons-hidpi (non-free/dep11/icons-64x64@2.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible CNF (non-free/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible CNF (non-free/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
N: Le fichier configuré « main/binary-i386/Packages » ne sera pas pris en compte car le dépôt « https://repo.vivaldi.com/archive/deb stable InRelease » ne prend pas en charge l'architecture « i386 »
W: La cible Packages (non-free/binary-amd64/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Packages (non-free/binary-i386/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Packages (non-free/binary-all/Packages) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Translations (non-free/i18n/Translation-fr_FR) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Translations (non-free/i18n/Translation-fr) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible Translations (non-free/i18n/Translation-en) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11 (non-free/dep11/Components-amd64.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11 (non-free/dep11/Components-all.yml) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11-icons-small (non-free/dep11/icons-48x48.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11-icons (non-free/dep11/icons-64x64.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible DEP-11-icons-hidpi (non-free/dep11/icons-64x64@2.tar) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible CNF (non-free/cnf/Commands-amd64) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
W: La cible CNF (non-free/cnf/Commands-all) est spécifiée plusieurs fois dans /etc/apt/sources.list:60 et /etc/apt/sources.list.d/opera-stable.list:4
lapartbar@lapartbar-W240EU-W250EUQ-W270EUQ:~$ 

Dernière modification par gycath (Le 12/02/2022, à 15:31)

Hors ligne

#68 Le 12/02/2022, à 15:39

cqfd93

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

gycath a écrit :

sur un autre ordi équipé de ubuntu 20 04 dois je utiliser les mêmes  commandes pour régler ces "W"

Ah oui, tu obtiens les mêmes erreurs mais il faut commencer par voir les sources pour savoir quelles lignes supprimer dans sources.list, avec :

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

cqfd93

Hors ligne

#69 Le 12/02/2022, à 15:40

gycath

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

lapartbar@lapartbar-W240EU-W250EUQ-W270EUQ:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list

     1	# deb cdrom:[Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819)]/ 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/ focal main restricted
     6	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal 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/ focal-updates main restricted
    11	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal universe
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal universe
    18	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
    19	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal multiverse
    27	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
    28	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    29	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal-backports main restricted universe multiverse
    37	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    38	
    39	## Uncomment the following two lines to add software from Canonical's
    40	## 'partner' repository.
    41	## This software is not part of Ubuntu, but is offered by Canonical and the
    42	## respective vendors as a service to Ubuntu users.
    43	# deb http://archive.canonical.com/ubuntu focal partner
    44	# deb-src http://archive.canonical.com/ubuntu focal partner
    45	
    46	deb http://security.ubuntu.com/ubuntu focal-security main restricted
    47	# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
    48	deb http://security.ubuntu.com/ubuntu focal-security universe
    49	# deb-src http://security.ubuntu.com/ubuntu focal-security universe
    50	deb http://security.ubuntu.com/ubuntu focal-security multiverse
    51	# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
    52	
    53	# This system was installed using small removable media
    54	# (e.g. netinst, live or single CD). The matching "deb cdrom"
    55	# entries were disabled at the end of the installation process.
    56	# For information about how to configure apt package sources,
    57	# see the sources.list(5) manual.
    58	deb https://repo.vivaldi.com/archive/deb/ stable main
    59	# deb-src https://repo.vivaldi.com/archive/deb/ stable main
    60	deb [arch=amd64,i386] https://deb.opera.com/opera-stable/ stable non-free
    61	# deb-src [arch=amd64,i386] https://deb.opera.com/opera-stable/ stable non-free

/etc/apt/sources.list.d/opera-stable.list

     1	# This file makes sure that Opera Browser is kept up-to-date
     2	# as part of regular system upgrades
     3	
     4	deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)

/etc/apt/sources.list.d/vivaldi.list

     1	### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2	# You may comment out this entry, but any other modifications may be lost.
     3	deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
lapartbar@lapartbar-W240EU-W250EUQ-W270EUQ:~$ 

Hors ligne

#70 Le 12/02/2022, à 16:39

cqfd93

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

Tu peux utiliser exactement les 3 mêmes commandes que dans le message 65.


cqfd93

Hors ligne

#71 Le 12/02/2022, à 21:36

gycath

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

je vous remercie pour votre aide

Hors ligne

#72 Le 12/02/2022, à 21:39

cqfd93

Re : RESOLU mise à niveau ubuntu18LTS vers ubuntu 20LTS

Contente d'avoir pu t'aider.


cqfd93

Hors ligne