#1 Le 02/05/2022, à 01:09
- zarakione
effacer trace ancien linux 21.10 dans le nouveau sourcelist 22.04
bonjour j ai effectué la mise a jour par migration de 21.10 a 22.04 , je m'appercois que j ai des trace de 21.10 est t il possible de les effacé afin de garder au propre le sourcelist 100%100 ubuntu 22.04 ,mon sourcelist actuel puis je faire un nettoyage si oui lequel supprimez sans risqué des dommage ,depuis l interace de mise ajour dans l'onglet autre mise logiciel j ai beaucoup de choix non coché si je peu les supprimez sans dommage
A62:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 21.10 _Impish Indri_ - Release amd64 (20211012)]/ impish main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ jammy restricted main
# deb-src http://fr.archive.ubuntu.com/ubuntu/ impish main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates restricted main
# deb-src http://fr.archive.ubuntu.com/ubuntu/ impish-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ jammy universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ impish universe
deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ impish-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ jammy multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ impish multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ impish-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ jammy-backports restricted universe multiverse main
# deb-src http://fr.archive.ubuntu.com/ubuntu/ impish-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu jammy-security restricted main
# deb-src http://security.ubuntu.com/ubuntu impish-security main restricted
deb http://security.ubuntu.com/ubuntu jammy-security universe
# deb-src http://security.ubuntu.com/ubuntu impish-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu impish-security multiverse
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
Dernière modification par zarakione (Le 02/05/2022, à 01:25)
Hors ligne
#2 Le 02/05/2022, à 05:38
- nany
Re : effacer trace ancien linux 21.10 dans le nouveau sourcelist 22.04
Bonjour,
sudo sed -ri "s/(ubuntu\/* ) *[a-z]+/\1$(lsb_release -sc)/" /etc/apt/sources.list
Puis donne le retour de :
find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n\t$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;
Dernière modification par nany (Le 02/05/2022, à 06:33)
En ligne
#3 Le 03/05/2022, à 00:29
- zarakione
Re : effacer trace ancien linux 21.10 dans le nouveau sourcelist 22.04
-7A62:~$ find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n\t$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;
/etc/apt/sources.list.save
/etc/apt/sources.list.distUpgrade
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 21.10 _Impish Indri_ - Release amd64 (20211012)]/ impish 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 restricted main
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 restricted main
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 restricted universe multiverse main
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 restricted main
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.d/nilarimogard-ubuntu-webupd8-impish.list
/etc/apt/sources.list.d/gezakovacs-ubuntu-ppa-impish.list
/etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-impish.list.save
/etc/apt/sources.list.d/gezakovacs-ubuntu-ppa-impish.list.save
/etc/apt/sources.list.d/atareao-ubuntu-telegram-impish.list.save
/etc/apt/sources.list.d/atareao-ubuntu-telegram-impish.list
Dernière modification par zarakione (Le 03/05/2022, à 00:30)
Hors ligne
#4 Le 03/05/2022, à 00:39
- nany
Re : effacer trace ancien linux 21.10 dans le nouveau sourcelist 22.04
Bon eh bien ton sources.list est maintenant correct.
Si tu veux parfaire le nettoyage, tu peux lancer :
cd /etc/apt && sudo rm -v sources.list.distUpgrade ; cd
cd /etc/apt/sources.list.d && sudo rm -v * ; cd
En ligne
#5 Le 03/05/2022, à 00:49
- zarakione
Re : effacer trace ancien linux 21.10 dans le nouveau sourcelist 22.04
nickel merci le source liste est propre
-MS-7A62:~$ cd /etc/apt/sources.list.d && sudo rm -v * ; cd
'atareao-ubuntu-telegram-impish.list' supprimé
'atareao-ubuntu-telegram-impish.list.save' supprimé
'gezakovacs-ubuntu-ppa-impish.list' supprimé
'gezakovacs-ubuntu-ppa-impish.list.save' supprimé
'nilarimogard-ubuntu-webupd8-impish.list' supprimé
'nilarimogard-ubuntu-webupd8-impish.list.save' supprimé
interface mise a jour onglet autre logiciel celui qui reste na pas été supprimé 21.10 est ce normal
Dernière modification par zarakione (Le 03/05/2022, à 00:52)
Hors ligne
#6 Le 03/05/2022, à 01:03
- nany
Re : effacer trace ancien linux 21.10 dans le nouveau sourcelist 22.04
celui qui reste na pas été supprimé 21.10 est ce normal
Avec ce que je t’ai donné comme commandes, oui, c’est normal. Je trouve que c’est un bon indicateur d’où a été faite l’installation initiale.
Ceci étant, tu peux parfaitement le supprimer en cliquant sur sa ligne puis en cliquant sur Enlever.
En ligne
#7 Le 03/05/2022, à 01:19
- zarakione
Re : effacer trace ancien linux 21.10 dans le nouveau sourcelist 22.04
mise a jour faite de la migration de 21.10 a 22.04 , merci je vais le supprimez directement depuis l’interface si pas ne souci avec
Dernière modification par zarakione (Le 03/05/2022, à 01:21)
Hors ligne