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.

#1 Le 18/06/2019, à 15:04

PdiamantA

[RÉSOLU] Problème lié à sources.list

Bonjour !

Depuis le passage effectué sur mon ordinateur à la version 18.04.2 LTS il y a quelques temps je rencontre un problème lors des tentations de mises à jour. Je me suis donc renseigné où je le pouvais, cependant je pense n'avoir fait qu'aggraver les choses.

Voici quelques commandes que j'ai pu essayer :

apt-get update -o Acquire::AllowInsecureRepositories=true
apt-key list
apt policy debianutils gnupg
man apt-secure
apt-get install debian-archive-keyring
apt-get autoclean
du -h /var/cache/apt/archives
apt-get install apt-listbugs
apt-key net update

J'ai donc essayé tout un tas de choses, allant même jusqu'à supprimer le contenu de sources.list et de coller une liste fournie par un générateur, ce qui donne maintenant :

#------------------------------------------------------------------------------#
#                            OFFICIAL UBUNTU REPOS                    #
#------------------------------------------------------------------------------#


###### Ubuntu Main Repos
deb http://fr.archive.ubuntu.com/ubuntu/ bionic main universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main universe

###### Ubuntu Update Repos
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-security main universe
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main universe
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-proposed main universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-security main universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main universe
deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-proposed main universe

Pourtant j'obtiens toujours ceci via Tilix :

pdiamanta@PdiamantA:~$ sudo apt update
Atteint :1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease       
Ign :2 http://ppa.launchpad.net/plexydesk/plexydesk/ubuntu bionic InRelease
Réception de :3 http://fr.archive.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Ign :4 http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu bionic InRelease   
Réception de :5 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Err :6 http://ppa.launchpad.net/plexydesk/plexydesk/ubuntu bionic Release      
  404  Not Found [IP : 91.189.95.83 80]
Réception de :7 http://fr.archive.ubuntu.com/ubuntu bionic-proposed InRelease [242 kB]
Err :8 http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu bionic Release     
  404  Not Found [IP : 91.189.95.83 80]
Réception de :9 http://fr.archive.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [17,9 kB]
Réception de :10 http://fr.archive.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [10,4 kB]
Réception de :11 http://fr.archive.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [25,6 kB]
Réception de :12 http://fr.archive.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [36,1 kB]
Réception de :13 http://fr.archive.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16,4 kB]
Réception de :14 http://fr.archive.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [99,2 kB]
Réception de :15 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [542 kB]
Réception de :16 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [656 kB]
Réception de :17 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [278 kB]
Réception de :18 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [66,7 kB]
Réception de :19 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [127 kB]
Réception de :20 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [941 kB]
Réception de :21 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [955 kB]
Réception de :22 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [239 kB]
Réception de :23 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [193 kB]
Réception de :24 http://fr.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [404 kB]
Réception de :25 http://fr.archive.ubuntu.com/ubuntu bionic-proposed/main Sources [33,5 kB]
Réception de :26 http://fr.archive.ubuntu.com/ubuntu bionic-proposed/main i386 Packages [53,8 kB]
Réception de :27 http://fr.archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages [72,3 kB]
Réception de :28 http://fr.archive.ubuntu.com/ubuntu bionic-proposed/main Translation-en [28,6 kB]
Réception de :29 http://fr.archive.ubuntu.com/ubuntu bionic-proposed/main amd64 DEP-11 Metadata [8460 B]
Réception de :30 http://fr.archive.ubuntu.com/ubuntu bionic-proposed/main DEP-11 48x48 Icons [3483 B]
Réception de :31 http://fr.archive.ubuntu.com/ubuntu bionic-proposed/main DEP-11 64x64 Icons [4846 B]
Réception de :32 http://fr.archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 Packages [47,2 kB]
Réception de :33 http://fr.archive.ubuntu.com/ubuntu bionic-proposed/universe i386 Packages [43,4 kB]
Réception de :34 http://fr.archive.ubuntu.com/ubuntu bionic-proposed/universe Translation-en [19,9 kB]
Réception de :35 http://fr.archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 DEP-11 Metadata [11,9 kB]
Réception de :36 http://fr.archive.ubuntu.com/ubuntu bionic-proposed/universe DEP-11 48x48 Icons [3120 B]
Réception de :37 http://fr.archive.ubuntu.com/ubuntu bionic-proposed/universe DEP-11 64x64 Icons [20,9 kB]
Lecture des listes de paquets... Fait                                          
E: Le dépôt http://ppa.launchpad.net/plexydesk/plexydesk/ubuntu bionic 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.
E: Le dépôt http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu bionic 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.

Quelqu'un aurait-il déjà rencontré ce problème ? (J'ai lu beaucoup de cas similaires mais pas sur la même version). Sinon faut-il comme je le pense, réinstaller Ubuntu avec la même version ? Merci d'avance.


Modération : merci d'utiliser les balises code (explications ici).

Dernière modification par PdiamantA (Le 18/06/2019, à 16:06)

Hors ligne

#2 Le 18/06/2019, à 15:16

Qid

Re : [RÉSOLU] Problème lié à sources.list

pour te réorienter dans tes recherche je te soupçonne de n'avoir pas vu que les sources de logiciels ne sont plus seulement centralisées dans le fichier sources.list : d'autres sources sont cachées dans le dossier sources.list.d et en l’occurrence il y a des chances que certaines n'existent plus...


"GNU/Linux c'est que du bon mais M$ Windows ce n'est pas si mal"
Référent technique Ubuntu d'un Groupe d'Utilisateur du Libre
plus d'info sur mon profil

Hors ligne

#3 Le 18/06/2019, à 15:20

PdiamantA

Re : [RÉSOLU] Problème lié à sources.list

Effectivement je ne le savais pas, que dois faire alors ? Avez vous une documentation concernant ce nouvel usage ? Dois-je supprimer le contenu du dossier ? Merci de me renseigner car cela me met encore plus dans le flou

Hors ligne

#4 Le 18/06/2019, à 15:32

nany

Re : [RÉSOLU] Problème lié à sources.list

Bonjour,

Pour virer les deux PPAs qui ne proposent rien pour bionic :

sudo add-apt-repository -ry ppa:plexydesk/plexydesk
sudo add-apt-repository -ry ppa:ubuntu-audio-dev/ppa

Pour virer les dépôts proposed (depots, §2.3) :

sudo sed -i '/proposed/d' /etc/apt/sources.list

 

De plus, ton sources.list ne contient pas les dépôts multiverse, restricted et backport. Tu ferais mieux de le remplacer par ça :

# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic 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/ bionic main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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 bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse

En ligne

#5 Le 18/06/2019, à 16:03

PdiamantA

Re : [RÉSOLU] Problème lié à sources.list

nany a écrit :

Bonjour,

Pour virer les deux PPAs qui ne proposent rien pour bionic :

sudo add-apt-repository -ry ppa:plexydesk/plexydesk
sudo add-apt-repository -ry ppa:ubuntu-audio-dev/ppa

Pour virer les dépôts proposed (depots, §2.3) :

sudo sed -i '/proposed/d' /etc/apt/sources.list

 

De plus, ton sources.list ne contient pas les dépôts multiverse, restricted et backport. Tu ferais mieux de le remplacer par ça :

# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic 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/ bionic main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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/ bionic-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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 bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse

Parfait ! Tout est réglé. Merci beaucoup à vous pour cette entraide, aussi rapide

Hors ligne