#1 Le 15/10/2020, à 22:06
- BK@Gnome
[Resolu]Probléme de mise à jour
Bonsoir , j'ai un probléme de mise à jour .
Si je fais sudo apt-get update , j'ai le message d'erreur suivant
ahmadou@ahmadou-GF63-Thin-9RCX:~$ sudo apt-get update
[sudo] Mot de passe de ahmadou :
Atteint :1 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Atteint :2 http://ppa.launchpad.net/linuxuprising/java/ubuntu focal InRelease
Atteint :3 http://archive.ubuntu.com/ubuntu focal InRelease
Atteint :4 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease
Atteint :5 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease
Atteint :6 http://packages.microsoft.com/repos/vscode stable InRelease
Atteint :7 http://fr.archive.ubuntu.com/ubuntu focal-security InRelease
Atteint :8 https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic InRelease
Atteint :9 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease
Atteint :10 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease
Ign :11 http://ppa.launchpad.net/webupd8team/java/ubuntu focal InRelease
Err :12 http://ppa.launchpad.net/webupd8team/java/ubuntu focal Release
404 Not Found [IP : 91.189.95.83 80]
Atteint :13 http://dl.google.com/linux/chrome/deb stable InRelease
Lecture des listes de paquets... Fait
E: Le dépôt http://ppa.launchpad.net/webupd8team/java/ubuntu focal Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.
ahmadou@ahmadou-GF63-Thin-9RCX:~$
Et en exécutant les commandes :
cat /etc/apt/sources.list
ls /etc/apt/sources.list.d -1
Voilà ce que j'ai :
ahmadou@ahmadou-GF63-Thin-9RCX:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)]/ focal main restricted
deb-src http://archive.ubuntu.com/ubuntu focal main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ focal main multiverse universe restricted #Added by software-properties
# deb-src http://tn.archive.ubuntu.com/ubuntu/ focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates main multiverse universe restricted #Added by software-properties
# deb-src http://tn.archive.ubuntu.com/ubuntu/ focal-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/ focal universe
# deb-src http://tn.archive.ubuntu.com/ubuntu/ focal universe
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://tn.archive.ubuntu.com/ubuntu/ focal-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/ focal multiverse
# deb-src http://tn.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://tn.archive.ubuntu.com/ubuntu/ focal-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/ focal-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse #Added by software-properties
# deb-src http://tn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner
deb http://fr.archive.ubuntu.com/ubuntu/ focal-security main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-security main multiverse universe restricted #Added by software-properties
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://fr.archive.ubuntu.com/ubuntu/ focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-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.
deb [arch=amd64,armhf,arm64] https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic main
# deb-src [arch=amd64,armhf,arm64] https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic main
ahmadou@ahmadou-GF63-Thin-9RCX:~$ ls /etc/apt/sources.list.d -1
crass-ubuntu-ufraw-focal.list
crass-ubuntu-ufraw-focal.list.save
google-chrome.list
linuxuprising-ubuntu-java-focal.list
linuxuprising-ubuntu-java-focal.list.save
microsoft-prod.list
microsoft-prod.list.save
msprod.list
msprod.list.save
vscode.list
vscode.list.save
webupd8team-ubuntu-java-focal.list
webupd8team-ubuntu-java-focal.list.save
ahmadou@ahmadou-GF63-Thin-9RCX:~$
Quelqu'un pour m'expliquer comment faire la mise à jour ?
Dernière modification par BK@Gnome (Le 15/10/2020, à 23:18)
Hors ligne
#2 Le 15/10/2020, à 22:21
- abelthorne
Re : [Resolu]Probléme de mise à jour
Tu as un dépôt tiers qui est mal configuré (et qui de toute façon ne sert plus à rien). Donne le contenu de tes fichiers tiers :
cat /etc/apt/sources.list.d/*.list
Je remarque au passage que tu as un dépôt Microsoft (mssql-server) qui est configuré pour les archis amd64, armhf et arm64, c'est normal ? Tu es sur une machine avec quel genre d'archi ? un PC "normal" avec un CPU x86 (Intel/AMD) ou une machine à base d'ARM ?
Accessoirement, le dépôt en question est pour Ubuntu 18.04, il faudrait éventuellement vérifier s'il est dispo pour la 20.04 que tu utilises.
Dernière modification par abelthorne (Le 15/10/2020, à 22:22)
Hors ligne
#3 Le 15/10/2020, à 22:21
- nany
Re : [Resolu]Probléme de mise à jour
Bonjour,
Le ppa webupd8team/java est obsolète.
Supprime ses fichiers de sources :
cd /etc/apt/sources.list.d && sudo rm -v webupd8team* ; cd
Puis donne le retour de :
sudo apt clean && sudo apt update
Hors ligne
#4 Le 15/10/2020, à 22:33
- inbox
Re : [Resolu]Probléme de mise à jour
Salut,
Le dépôt "http://ppa.launchpad.net/webupd8team/java/ubuntu" n'a pas de version pour Focal. Il est devenu inutile. Il faut le supprimer.
Lance le logiciel "logiciels et mises à jour". Dans l'onglet "autres logiciels", tu supprimes les lignes correspondant à "http://ppa.launchpad.net/webupd8team/java/ubuntu". Tu acceptes la mise à jour.
Ensuite, tu peux relancer :
sudo apt-get update
Ou son équivalent :
sudo apt update
A+
[Edit] Mégo-over-grillé par Nany...
Dernière modification par inbox (Le 15/10/2020, à 23:16)
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#5 Le 15/10/2020, à 23:07
- BK@Gnome
Re : [Resolu]Probléme de mise à jour
@Nany Merci bien ça marche , les mises à jours sont effectués
Hors ligne
#6 Le 15/10/2020, à 23:17
- BK@Gnome
Re : [Resolu]Probléme de mise à jour
@abelthorne voici le contenu des fichiers tiers
ahmadou@ahmadou-GF63-Thin-9RCX:~$ cat /etc/apt/sources.list.d/*.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/linuxuprising/java/ubuntu focal main
# deb-src http://ppa.launchpad.net/linuxuprising/java/ubuntu focal main
deb [arch=amd64] https://packages.microsoft.com/ubuntu/20.04/prod focal main
deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/prod bionic main
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
ahmadou@ahmadou-GF63-Thin-9RCX:~$
C'est un PC nomale (MSI Intel Core i5 )
Hors ligne
#7 Le 15/10/2020, à 23:21
- nany
Re : [Resolu]Probléme de mise à jour
deb [arch=amd64] https://packages.microsoft.com/ubuntu/20.04/prod focal main deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/prod bionic main
Bionic est en trop.
Pour y voir plus clair, donne le retour de :
find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;
Hors ligne
#8 Le 15/10/2020, à 23:28
- nany
Re : [Resolu]Probléme de mise à jour
Accessoirement, le dépôt en question est pour Ubuntu 18.04, il faudrait éventuellement vérifier s'il est dispo pour la 20.04 que tu utilises.
[edit]
Mais je doute que mssql soit correctement installé.
En fait l’arborescence est bizarre dans les dépôts Microsoft.
[/edit]
Dernière modification par nany (Le 16/10/2020, à 00:09)
Hors ligne
#9 Le 15/10/2020, à 23:56
- abelthorne
Re : [Resolu]Probléme de mise à jour
Pour le bionic en trop, je pense que c'est parce qu'il y a deux dépôts identiques : microsoft-prod.list (focal) et msprod.list (bionic).
Et le PPA crass (ufraw) a l'air vide. Après vérification, le PPA est complètement obsolète.
BK@Gnome : on va faire un peu de ménage :
cd /etc/apt/sources.list.d
sudo rm *.save msprod.list crass-ubuntu-ufraw-focal.list
Ensuite, édite le fichier suivant :
sudo nano /etc/apt/sources.list.d/microsoft-prod.list
Vérifie qu'il ne contient que la liste suivante (modifie son contenu pour la mettre à la place si ce n'est pas le cas) :
deb [arch=amd64] https://packages.microsoft.com/ubuntu/20.04/prod focal main
Si tu as fait un changement, enregistre le fichier avec ctrl + O et valide le nom. Ensuite, ctrl + X pour fermer Nano (directement ctrl + X si le fichier était correct).
Puis édite ton sources.list :
sudo nano /etc/apt/sources.list
Supprime tout son contenu (tu peux utiliser ctrl + K pour effacer des lignes entières) et remplace-le par ça :
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal universe
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner
deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
Enregistre de la même façon (ctrl + O, validation du nom de fichier) et ferme Nano avec ctrl + X.
Enfin, on va créer un fichier dédié pour mssql-server :
sudo nano /etc/apt/sources.list.d/mssql-server.list
Dedans, colle ces deux lignes :
deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic main
# deb-src [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic main
Enregistre et ferme Nano : ctrl + O, validation du nom, ctrl + X.
Une fois que c'est fait, redonne le retour de :
sudo apt-get update
Pour le dépôt mssql-server, il n'y a apparemment qu'une branche bionic. En 20.04, il n'y a qu'un dépôt "prod" qui n'a pas l'air de contenir les mêmes paquets.
Hors ligne
#10 Le 16/10/2020, à 00:15
- nany
Re : [Resolu]Probléme de mise à jour
Pour le dépôt mssql-server, il n'y a apparemment qu'une branche bionic.
Oui, mssql-server s’installe depuis ce dépôt.
En 20.04, il n'y a qu'un dépôt "prod" qui n'a pas l'air de contenir les mêmes paquets.
Ce dépôt pour 20.04 sert pour mssql-tools et unixodbc-dev.
Hors ligne
#11 Le 16/10/2020, à 13:40
- BK@Gnome
Re : [Resolu]Probléme de mise à jour
BK@Gnome a écrit :deb [arch=amd64] https://packages.microsoft.com/ubuntu/20.04/prod focal main deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/prod bionic main
Bionic est en trop.
Pour y voir plus clair, donne le retour de :find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;
@nany voici le retour de la commande :
ahmadou@ahmadou-GF63-Thin-9RCX:~$ find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;
/etc/apt/sources.list.save
/etc/apt/sources.list.d/linuxuprising-ubuntu-java-focal.list
1 deb http://ppa.launchpad.net/linuxuprising/java/ubuntu focal main
2 # deb-src http://ppa.launchpad.net/linuxuprising/java/ubuntu focal main
/etc/apt/sources.list.d/crass-ubuntu-ufraw-focal.list.save
/etc/apt/sources.list.d/google-chrome.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] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/linuxuprising-ubuntu-java-focal.list.save
/etc/apt/sources.list.d/crass-ubuntu-ufraw-focal.list
/etc/apt/sources.list.d/vscode.list.save
/etc/apt/sources.list.d/vscode.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] http://packages.microsoft.com/repos/vscode stable main
/etc/apt/sources.list.d/msprod.list
1 deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/prod bionic main
/etc/apt/sources.list.d/microsoft-prod.list.save
/etc/apt/sources.list.d/msprod.list.save
/etc/apt/sources.list.d/microsoft-prod.list
1 deb [arch=amd64] https://packages.microsoft.com/ubuntu/20.04/prod focal main
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)]/ focal main restricted
2 deb-src http://archive.ubuntu.com/ubuntu focal main restricted #Added by software-properties
3
4 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
5 # newer versions of the distribution.
6 deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
7 deb-src http://fr.archive.ubuntu.com/ubuntu/ focal main multiverse universe restricted #Added by software-properties
8 # deb-src http://tn.archive.ubuntu.com/ubuntu/ focal main restricted
9
10 ## Major bug fix updates produced after the final release of the
11 ## distribution.
12 deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
13 deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates main multiverse universe restricted #Added by software-properties
14 # deb-src http://tn.archive.ubuntu.com/ubuntu/ focal-updates main restricted
15
16 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
17 ## team. Also, please note that software in universe WILL NOT receive any
18 ## review or updates from the Ubuntu security team.
19 deb http://fr.archive.ubuntu.com/ubuntu/ focal universe
20 # deb-src http://tn.archive.ubuntu.com/ubuntu/ focal universe
21 deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
22 # deb-src http://tn.archive.ubuntu.com/ubuntu/ focal-updates universe
23
24 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
25 ## team, and may not be under a free licence. Please satisfy yourself as to
26 ## your rights to use the software. Also, please note that software in
27 ## multiverse WILL NOT receive any review or updates from the Ubuntu
28 ## security team.
29 deb http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
30 # deb-src http://tn.archive.ubuntu.com/ubuntu/ focal multiverse
31 deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
32 # deb-src http://tn.archive.ubuntu.com/ubuntu/ focal-updates multiverse
33
34 ## N.B. software from this repository may not have been tested as
35 ## extensively as that contained in the main release, although it includes
36 ## newer versions of some applications which may provide useful features.
37 ## Also, please note that software in backports WILL NOT receive any review
38 ## or updates from the Ubuntu security team.
39 deb http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
40 deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse #Added by software-properties
41 # deb-src http://tn.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
42
43 ## Uncomment the following two lines to add software from Canonical's
44 ## 'partner' repository.
45 ## This software is not part of Ubuntu, but is offered by Canonical and the
46 ## respective vendors as a service to Ubuntu users.
47 # deb http://archive.canonical.com/ubuntu focal partner
48 # deb-src http://archive.canonical.com/ubuntu focal partner
49
50 deb http://fr.archive.ubuntu.com/ubuntu/ focal-security main restricted
51 deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-security main multiverse universe restricted #Added by software-properties
52 # deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
53 deb http://fr.archive.ubuntu.com/ubuntu/ focal-security universe
54 # deb-src http://security.ubuntu.com/ubuntu focal-security universe
55 deb http://fr.archive.ubuntu.com/ubuntu/ focal-security multiverse
56 # deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
57
58 # This system was installed using small removable media
59 # (e.g. netinst, live or single CD). The matching "deb cdrom"
60 # entries were disabled at the end of the installation process.
61 # For information about how to configure apt package sources,
62 # see the sources.list(5) manual.
63 deb [arch=amd64,armhf,arm64] https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic main
64 # deb-src [arch=amd64,armhf,arm64] https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic main
ahmadou@ahmadou-GF63-Thin-9RCX:~$
Hors ligne
#12 Le 16/10/2020, à 13:49
- BK@Gnome
Re : [Resolu]Probléme de mise à jour
Pour le bionic en trop, je pense que c'est parce qu'il y a deux dépôts identiques : microsoft-prod.list (focal) et msprod.list (bionic).
Et le PPA crass (ufraw) a l'air vide. Après vérification, le PPA est complètement obsolète.BK@Gnome : on va faire un peu de ménage :
cd /etc/apt/sources.list.d sudo rm *.save msprod.list crass-ubuntu-ufraw-focal.list
Ensuite, édite le fichier suivant :
sudo nano /etc/apt/sources.list.d/microsoft-prod.list
Vérifie qu'il ne contient que la liste suivante (modifie son contenu pour la mettre à la place si ce n'est pas le cas) :
deb [arch=amd64] https://packages.microsoft.com/ubuntu/20.04/prod focal main
Si tu as fait un changement, enregistre le fichier avec ctrl + O et valide le nom. Ensuite, ctrl + X pour fermer Nano (directement ctrl + X si le fichier était correct).
Puis édite ton sources.list :
sudo nano /etc/apt/sources.list
Supprime tout son contenu (tu peux utiliser ctrl + K pour effacer des lignes entières) et remplace-le par ça :
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal universe # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal universe deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal multiverse # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal multiverse deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-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/ focal-backports main restricted universe multiverse # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu focal partner # deb-src http://archive.canonical.com/ubuntu focal partner deb http://security.ubuntu.com/ubuntu focal-security main restricted # deb-src http://security.ubuntu.com/ubuntu focal-security main restricted deb http://security.ubuntu.com/ubuntu focal-security universe # deb-src http://security.ubuntu.com/ubuntu focal-security universe deb http://security.ubuntu.com/ubuntu focal-security multiverse # deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
Enregistre de la même façon (ctrl + O, validation du nom de fichier) et ferme Nano avec ctrl + X.
Enfin, on va créer un fichier dédié pour mssql-server :
sudo nano /etc/apt/sources.list.d/mssql-server.list
Dedans, colle ces deux lignes :
deb [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic main # deb-src [arch=amd64] https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic main
Enregistre et ferme Nano : ctrl + O, validation du nom, ctrl + X.
Une fois que c'est fait, redonne le retour de :
sudo apt-get update
Pour le dépôt mssql-server, il n'y a apparemment qu'une branche bionic. En 20.04, il n'y a qu'un dépôt "prod" qui n'a pas l'air de contenir les mêmes paquets.
@abelthorne ça à marcher voici le retour :
ahmadou@ahmadou-GF63-Thin-9RCX:/etc/apt/sources.list.d$ sudo apt-get update
Réception de :1 http://archive.canonical.com/ubuntu focal InRelease [12,1 kB]
Réception de :2 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Atteint :3 http://ppa.launchpad.net/linuxuprising/java/ubuntu focal InRelease
Réception de :4 http://packages.microsoft.com/repos/vscode stable InRelease [3959 B]
Réception de :5 http://archive.canonical.com/ubuntu focal/partner i386 Packages [1620 B]
Réception de :6 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [138 kB]
Réception de :7 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease [10,5 kB]
Réception de :8 http://archive.canonical.com/ubuntu focal/partner amd64 Packages [1600 B]
Réception de :9 http://archive.canonical.com/ubuntu focal/partner Translation-en [804 B]
Atteint :10 https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic InRelease
Réception de :11 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages [204 kB]
Réception de :12 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [338 kB]
Atteint :13 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Réception de :14 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Réception de :15 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 Packages [32,5 kB]
Réception de :16 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [77,3 kB]
Réception de :17 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24,3 kB]
Réception de :18 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 48x48 Icons [11,0 kB]
Réception de :19 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 64x64 Icons [16,5 kB]
Réception de :20 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 64x64@2 Icons [29 B]
Réception de :21 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [4992 B]
Réception de :22 http://security.ubuntu.com/ubuntu focal-security/restricted i386 Packages [8920 B]
Réception de :23 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [63,6 kB]
Réception de :24 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [10,5 kB]
Réception de :25 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [324 B]
Réception de :26 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [406 kB]
Réception de :27 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease [98,3 kB]
Réception de :28 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [507 kB]
Atteint :29 http://dl.google.com/linux/chrome/deb stable InRelease
Réception de :30 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [63,4 kB]
Réception de :31 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [55,7 kB]
Réception de :32 http://security.ubuntu.com/ubuntu focal-security/universe DEP-11 48x48 Icons [21,4 kB]
Réception de :33 http://security.ubuntu.com/ubuntu focal-security/universe DEP-11 64x64 Icons [32,5 kB]
Réception de :34 http://security.ubuntu.com/ubuntu focal-security/universe DEP-11 64x64@2 Icons [29 B]
Réception de :35 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [8500 B]
Réception de :36 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [1252 B]
Réception de :37 http://security.ubuntu.com/ubuntu focal-security/multiverse Translation-en [540 B]
Réception de :38 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [116 B]
Réception de :39 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [610 kB]
Réception de :40 http://fr.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [351 kB]
Réception de :41 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [229 kB]
Réception de :42 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [10,3 kB]
Réception de :43 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [669 kB]
Réception de :44 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [504 kB]
Réception de :45 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [202 kB]
Réception de :46 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [12,0 kB]
Réception de :47 http://fr.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2468 B]
Réception de :48 http://fr.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1768 B]
4964 ko réceptionnés en 9s (580 ko/s)
Lecture des listes de paquets... Fait
ahmadou@ahmadou-GF63-Thin-9RCX:/etc/apt/sources.list.d$
Hors ligne
#13 Le 16/10/2020, à 14:07
- abelthorne
Re : [Resolu]Probléme de mise à jour
Ensuite, vérifie s'il y a des mises à jour :
sudo apt-get dist-upgrade
puis s'il y a des paquets orphelins :
apt list | grep "installé, local"
Hors ligne
#14 Le 16/10/2020, à 15:02
- BK@Gnome
Re : [Resolu]Probléme de mise à jour
Ensuite, vérifie s'il y a des mises à jour :
sudo apt-get dist-upgrade
puis s'il y a des paquets orphelins :
apt list | grep "installé, local"
Voila ce que ça donne :
ahmadou@ahmadou-GF63-Thin-9RCX:~$ sudo apt-get dist-upgrade
[sudo] Mot de passe de ahmadou :
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
Les paquets suivants seront mis à jour :
firefox firefox-locale-en firefox-locale-fr python3-distupgrade ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk
6 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 57,0 Mo dans les archives.
Après cette opération, 23,6 ko d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Réception de :1 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-release-upgrader-gtk all 1:20.04.28 [9364 B]
Réception de :2 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-release-upgrader-core all 1:20.04.28 [23,7 kB]
Réception de :3 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-distupgrade all 1:20.04.28 [104 kB]
Réception de :4 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 firefox amd64 81.0.2+build1-0ubuntu0.20.04.1 [55,8 MB]
Réception de :5 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 firefox-locale-en amd64 81.0.2+build1-0ubuntu0.20.04.1 [654 kB]
Réception de :6 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 firefox-locale-fr amd64 81.0.2+build1-0ubuntu0.20.04.1 [466 kB]
57,0 Mo réceptionnés en 1min 10s (811 ko/s)
(Lecture de la base de données... 219224 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../0-ubuntu-release-upgrader-gtk_1%3a20.04.28_all.deb ...
Dépaquetage de ubuntu-release-upgrader-gtk (1:20.04.28) sur (1:20.04.25) ...
Préparation du dépaquetage de .../1-ubuntu-release-upgrader-core_1%3a20.04.28_all.deb ...
Dépaquetage de ubuntu-release-upgrader-core (1:20.04.28) sur (1:20.04.25) ...
Préparation du dépaquetage de .../2-python3-distupgrade_1%3a20.04.28_all.deb ...
Dépaquetage de python3-distupgrade (1:20.04.28) sur (1:20.04.25) ...
Préparation du dépaquetage de .../3-firefox_81.0.2+build1-0ubuntu0.20.04.1_amd64.deb ...
Dépaquetage de firefox (81.0.2+build1-0ubuntu0.20.04.1) sur (81.0+build2-0ubuntu0.20.04.1) ...
Préparation du dépaquetage de .../4-firefox-locale-en_81.0.2+build1-0ubuntu0.20.04.1_amd64.deb ...
Dépaquetage de firefox-locale-en (81.0.2+build1-0ubuntu0.20.04.1) sur (81.0+build2-0ubuntu0.20.04.1) ...
Préparation du dépaquetage de .../5-firefox-locale-fr_81.0.2+build1-0ubuntu0.20.04.1_amd64.deb ...
Dépaquetage de firefox-locale-fr (81.0.2+build1-0ubuntu0.20.04.1) sur (81.0+build2-0ubuntu0.20.04.1) ...
Paramétrage de firefox-locale-fr (81.0.2+build1-0ubuntu0.20.04.1) ...
Paramétrage de firefox (81.0.2+build1-0ubuntu0.20.04.1) ...
Please restart all running instances of firefox, or you will experience problems.
Paramétrage de python3-distupgrade (1:20.04.28) ...
Paramétrage de firefox-locale-en (81.0.2+build1-0ubuntu0.20.04.1) ...
Paramétrage de ubuntu-release-upgrader-core (1:20.04.28) ...
Paramétrage de ubuntu-release-upgrader-gtk (1:20.04.28) ...
Traitement des actions différées (« triggers ») pour mime-support (3.64ubuntu1) ...
Traitement des actions différées (« triggers ») pour hicolor-icon-theme (0.17-2) ...
Traitement des actions différées (« triggers ») pour gnome-menus (3.36.0-1ubuntu1) ...
Traitement des actions différées (« triggers ») pour man-db (2.9.1-1) ...
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.24-1ubuntu3) ...
ahmadou@ahmadou-GF63-Thin-9RCX:~$ apt list | grep "installé, local"
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
azuredatastudio/now 1.23.0-1602631083 amd64 [installé, local]
oracle-java8-jdk/now 8u261 amd64 [installé, local]
Hors ligne
#15 Le 16/10/2020, à 15:26
- abelthorne
Re : [Resolu]Probléme de mise à jour
Normalement, tu devrais pouvoir supprimer oracle-java8-jdk, ça doit être le paquet du dépôt WebUpd8 obsolète qui a été supprimé.
Tu as une idée de ce qu'est azuredatastudio et notamment si tu l'as installé manuellement en deb (sans passer par un dépôt) ?
Au cas où, donne le retour de :
atp-cache policy azuredatastudio oracle-java8-jdk
Hors ligne
#16 Le 16/10/2020, à 15:32
- BK@Gnome
Re : [Resolu]Probléme de mise à jour
Normalement, tu devrais pouvoir supprimer oracle-java8-jdk, ça doit être le paquet du dépôt WebUpd8 obsolète qui a été supprimé.
Tu as une idée de ce qu'est azuredatastudio et notamment si tu l'as installé manuellement en deb (sans passer par un dépôt) ?Au cas où, donne le retour de :
atp-cache policy azuredatastudio oracle-java8-jdk
Azure Data Studio est un outil de base de données multiplateforme , c'est en quelque sorte l'equivalent du microsoft sql server management de windows
Dernière modification par BK@Gnome (Le 16/10/2020, à 15:32)
Hors ligne
#17 Le 16/10/2020, à 15:37
- abelthorne
Re : [Resolu]Probléme de mise à jour
Ok, mais est-ce que tu l'as installé manuellement via un paquet deb ou est-ce qu'il l'a été depuis un dépôt qui ne serait plus là ?
Et donne quand même le retour de la commande.
Hors ligne
#18 Le 16/10/2020, à 16:01
- BK@Gnome
Re : [Resolu]Probléme de mise à jour
@abelthorne j'ai installé ça en ligne de commande
voilà le retour de la commande :
ahmadou@ahmadou-GF63-Thin-9RCX:~$ apt-cache policy azuredatastudio oracle-java8-jdk
azuredatastudio:
Installé : 1.23.0-1602631083
Candidat : 1.23.0-1602631083
Table de version :
*** 1.23.0-1602631083 100
100 /var/lib/dpkg/status
oracle-java8-jdk:
Installé : 8u261
Candidat : 8u261
Table de version :
*** 8u261 100
100 /var/lib/dpkg/status
Dernière modification par BK@Gnome (Le 16/10/2020, à 16:07)
Hors ligne
#19 Le 16/10/2020, à 16:22
- abelthorne
Re : [Resolu]Probléme de mise à jour
Ok, tu peux supprimer oracle-java8-jdk :
sudo apt-get remove --purge oracle-java8-jdk
sudo apt-get autoremove --purge
Tu as un autre PPA pour Java d'actif (celui de LinuxUprising), je ne sais pas si tu avais installé Java 8 en plus avec ou si tu l'avais juste ajouté, auquel cas il faudra peut-être le réinstaller depuis ce PPA.
Hors ligne