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 07/01/2017, à 19:56

margotw

mise à jour et "connexion internet"

Bonjour et meilleurs voeux !

Je ne peux pas mettre à jour ce qui semble conseillé ; j'obtiens toujours le message "vérifiez votre connexion internet", or elle fonctionne bien.
Ci dessous le détail ... mais pour moi c'est de l'hébreu.
Pouvez-vous m'aider ?



W:Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4, W:Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4, W:Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4, W:Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4, W:Target Translations (partner/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4, W:Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4, W:Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4, W:The repository 'http://ppa.launchpad.net/mc3man/nauty-open/ubuntu xenial Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:The repository 'http://fr.archive.ubuntu.com/ubuntu dapper Release' does not have a Release file., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:http://download.ebz.epson.net/dsc/op/stable/debian/dists/lsb3.2/Release.gpg: Signature by key E5220FB7014D0FBDA50DFC2BE5E86C008AA65D56 uses weak digest algorithm (SHA1), E:Failed to fetch http://ppa.launchpad.net/mc3man/nauty-o … ce/Sources  404  Not Found, E:Failed to fetch http://fr.archive.ubuntu.com/ubuntu/dis … ce/Sources  404  Not Found [IP: 2001:860:f70a:100::2 80], E:Some index files failed to download. They have been ignored, or old ones used instead.

Hors ligne

#2 Le 07/01/2017, à 20:43

abelthorne

Re : mise à jour et "connexion internet"

C'est illisible : mets à jour ton message pour mettre le retour entre balises code (bouton "<>" dans la barre d'outils). Si c'est un gros bloc de messages d'erreurs non mis en forme que tu obtiens via le gestionnaire de mise à jour, lance un sudo apt-get update dans un terminal, il sera un peu plus lisible.

Néanmoins, on peut voir qu'il y a des problèmes de sources dupliquées et de dépôts qui n'existent apparemment plus, donc commence par donner le retour de :

cat /etc/apt/sources.list
ls /etc/apt/sources.list.d

(Entre balises code aussi.)

Dernière modification par abelthorne (Le 07/01/2017, à 20:45)

Hors ligne

#3 Le 08/01/2017, à 00:20

margotw

Re : mise à jour et "connexion internet"

Merci . Cela donne :

<margot@margot-Satellite-C650:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu xenial main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu xenial universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb http://archive.ubuntu.com/ubuntu xenial-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-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://archive.ubuntu.com/ubuntu xenial multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-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://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-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 xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://archive.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://archive.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://archive.ubuntu.com/ubuntu xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
deb http://fr.archive.ubuntu.com/ubuntu dapper multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu dapper multiverse
deb http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3.2 main
# deb-src http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3.2 main
margot@margot-Satellite-C650:~$ ls /etc/apt/sources.list.d
mc3man-ubuntu-nauty-open-xenial.list       xenial-partner.list
mc3man-ubuntu-nauty-open-xenial.list.save  xenial-partner.list.save
margot@margot-Satellite-C650:~$ ^C
margot@margot-Satellite-C650:~$ >

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

Dernière modification par cqfd93 (Le 08/01/2017, à 00:26)

Hors ligne

#4 Le 08/01/2017, à 00:51

abelthorne

Re : mise à jour et "connexion internet"

Pour commencer, tu vas modifier ton sources.list pour virer les dépôts en double et celui qui est obsolète depuis dix ans. Ouvre-le avec les droits admin :

sudo gedit /etc/apt/sources.list

et remplace son contenu par ça :

# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu xenial main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu xenial universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb http://archive.ubuntu.com/ubuntu xenial-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-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://archive.ubuntu.com/ubuntu xenial multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-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://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-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 xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner

(C'est le même contenu mais en supprimant les dix dernières lignes.)

Ensuite, donne le contenu des dépôts tiers :

cat /etc/apt/sources.list.d/mc3man-ubuntu-nauty-open-xenial.list /etc/apt/sources.list.d/xenial-partner.list

Enfin, dans les dépôts que je t'ai fait enlever de ton sources.list, il y en a un qui vient de chez Epson. Comme à la base il est pour Debian, est-ce que tu pourrais me dire à quoi il sert et où tu l'as trouvé ? C'est un pilote pour une imprimante ?
C'est pour vérifier s'il est bien valide pour Ubuntu, auquel cas on le remettra dans un fichier .list à part, ce sera plus propre.

Hors ligne

#5 Le 08/01/2017, à 01:20

cqfd93

Re : mise à jour et "connexion internet"

Bonjour,

abelthorne a écrit :
sudo gedit /etc/apt/sources.list

gksudo… avec les applications graphiques !


cqfd93

Hors ligne

#6 Le 08/01/2017, à 03:07

abelthorne

Re : mise à jour et "connexion internet"

Bah, c'est seulement un front-end qui détermine si le soft doit ensuite être lancé via su ou sudo.

Hors ligne

#7 Le 08/01/2017, à 15:55

margotw

Re : mise à jour et "connexion internet"

Merci Abelthorne et cqfd93
donc j'ai fait je crois ce que Abelthorne m'indique.

J'obtiens un rapport de plantage "Software updater a quitté de façon inattendue" que je ne peux pas copier coller, je recopie à la main (clavier !) une partie des détails :

update-manager crashed with SystemError in open ():E:Le type "cat" est inconnu su la ligne 47 dans la liste des sources/etc/apt/sources.list, E:La liste des sources ne peut être lue.

J'ai besoin du driver pour l'imprimante Epson XP-435. J'ai trouvé sur le site Epson de quoi la faire fonctionner. Cela marche avec le câble, pas par la wi-fi, mais je peux m'en passer.

Hors ligne

#8 Le 08/01/2017, à 16:04

abelthorne

Re : mise à jour et "connexion internet"

update-manager crashed with SystemError in open ():E:Le type "cat" est inconnu su la ligne 47 dans la liste des sources/etc/apt/sources.list, E:La liste des sources ne peut être lue.

Qu'est-ce que tu as fait exactement ? La commande cat que j'ai donnée est à taper dans le terminal, pas du tout à rajouter dans le fichier sources.list. Si c'est ce que tu as fait, édite à nouveau le fichier pour supprimer la ligne.

J'ai trouvé sur le site Epson de quoi la faire fonctionner.

Mais est-ce que tu aurais le lien vers la page sur le site Epson qui donne les instructions pour ce dépôt ?

Dernière modification par abelthorne (Le 08/01/2017, à 16:05)

Hors ligne

#9 Le 08/01/2017, à 16:42

margotw

Re : mise à jour et "connexion internet"

OK j'ai corrigé la ligne collée dans la mauvaise fenêtre.

Je ne suis plus trop sûre pour l'imprimante, cela fait un moment que je l'ai fait.
Je crois que c'était à partir de là :
http://download.ebz.epson.net/dsc/searc … archModule

Hors ligne

#10 Le 08/01/2017, à 16:45

margotw

Re : mise à jour et "connexion internet"

oui, c'est ça, j'avais suivi cette page
https://forum.ubuntu-fr.org/viewtopic.php?id=1986272

Hors ligne

#11 Le 08/01/2017, à 16:50

abelthorne

Re : mise à jour et "connexion internet"

J'attends toujours le retour de cette commande :

cat /etc/apt/sources.list.d/mc3man-ubuntu-nauty-open-xenial.list /etc/apt/sources.list.d/xenial-partner.list

Pour l'imprimante, est-ce que tu te souviens si tu as ajouté le dépôt toi-même ou si tu as juste installé des paquets deb (qui auraient ensuite ajouté le dépôt) ?

Dernière modification par abelthorne (Le 08/01/2017, à 16:52)

Hors ligne

#12 Le 08/01/2017, à 16:57

margotw

Re : mise à jour et "connexion internet"

voici

<
deb http://ppa.launchpad.net/mc3man/nauty-open/ubuntu xenial main
deb-src http://ppa.launchpad.net/mc3man/nauty-open/ubuntu xenial main
# channel for the xenial (16.04) partner channel
#
#:description:This channel contains the partner software for xenial
deb http://archive.canonical.com/ubuntu xenial partner
>


(je ne sais toujours pas comment fonctionnent ces crochets bleus cela fait            et alors !!?? )

Hors ligne

#13 Le 08/01/2017, à 17:01

margotw

Re : mise à jour et "connexion internet"

Je crois avoir seulement installé des paquets mais personne d'autre que moi n'utilise cet ordinateur. Je ne me souviens plus.

Hors ligne

#14 Le 08/01/2017, à 17:25

abelthorne

Re : mise à jour et "connexion internet"

Pour les balises, il faut sélectionner le bout de texte concerné et cliquer sur le bouton qui représente des chevrons dans l'interface. Ou rajouter les balises code manuellement :

[code]mon texte entre balises code[/code]

Le dépôt "nauty-open" que tu utilises n'existe plus pour ta version d'Ubuntu ; la dernière supportée est Vivid (15.04). Comme ça touche à Nautilus, qui est le gestionnaire de fichiers du bureau et dont dépendent d'autres paquets, je pense que ce serait une meilleure idée de le supprimer que d'essayer d'utiliser la vieille version sur ton Ubuntu actuelle. Pour ce qui est du dépôt partner, je ne comprends pas bien ce qu'il fout là, sa place est dans le sources.list principal (où il est déjà). Bref, tu vas supprimer ces dépôts tiers :

sudo rm /etc/apt/sources.list.d/mc3man-ubuntu-nauty-open-xenial.list /etc/apt/sources.list.d/mc3man-ubuntu-nauty-open-xenial.list.save /etc/apt/sources.list.d/xenial-partner.list /etc/apt/sources.list.d/xenial-partner.list.save

Pour ton imprimante, on va supposer que le dépôt est ok, donc on va le remettre dans son propre fichier .list :

sudo gedit /etc/apt/sources.list.d/epson.list

Dans l'éditeur, tu colles ça et tu enregistres :

deb http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3.2 main
# deb-src http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3.2 main

Une fois que tout ça est fait, recharge les sources et donne le retour :

sudo apt-get update

Dernière modification par abelthorne (Le 08/01/2017, à 17:26)

Hors ligne

#15 Le 08/01/2017, à 17:58

margotw

Re : mise à jour et "connexion internet"

cela donne

Atteint:1 http://archive.canonical.com/ubuntu xenial InRelease
Atteint:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Réception de:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Réception de:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Réception de:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [445 kB]
Réception de:6 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [438 kB]
Ign:7 http://download.ebz.epson.net/dsc/op/stable/debian lsb3.2 InRelease      
Réception de:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [303 kB]
Atteint:9 http://download.ebz.epson.net/dsc/op/stable/debian lsb3.2 Release    
Réception de:10 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [188 kB]
Réception de:11 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [373 kB]
Réception de:12 http://download.ebz.epson.net/dsc/op/stable/debian lsb3.2 Release.gpg [198 B]
Réception de:13 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [370 kB]
Réception de:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [121 kB]
Réception de:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [145 kB]
Réception de:16 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2 516 B]
Réception de:17 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [208 B]
Réception de:18 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [212 B]
Réception de:19 http://archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 DEP-11 Metadata [212 B]
2 591 ko réceptionnés en 2s (896 ko/s)                               
AppStream cache update completed, but some metadata was ignored due to errors.
Lecture des listes de paquets... Fait
W: http://download.ebz.epson.net/dsc/op/stable/debian/dists/lsb3.2/Release.gpg: Signature by key E5220FB7014D0FBDA50DFC2BE5E86C008AA65D56 uses weak digest algorithm (SHA1)

Hors ligne

#16 Le 08/01/2017, à 18:07

abelthorne

Re : mise à jour et "connexion internet"

Ok, il reste deux problèmes mineurs :

1) le dépôt Epson utilise une clé d'authentification faible mais c'est quelque chose qui doit être corrigé par le mainteneur du dépôt, tu ne peux rien y faire (je le précise juste pour dire que tu auras toujours ce message à propos d'une clé SHA1 faible)

2) le message "Appstream cache update completed..." qui vient d'un bug dans un paquet corrigé dans les backports. Tu peux essayer la solution donnée ici, à savoir :

sudo apt install appstream/xenial-backports

Ensuite tu vérifies que tu es bien en 0.10.1 avec la commande suivante :

appstreamcli --version

Si c'est bon, tu peux rafraîchir les données en cache pour te débarrasser du message d'avertissement :

sudo appstreamcli refresh --force

Hors ligne

#17 Le 08/01/2017, à 18:55

margotw

Re : mise à jour et "connexion internet"

margot@margot-Satellite-C650:~$ sudo appstreamcli refresh --force
La mise à jour du cache AppStream a été réalisé avec succès.

que du bonheur ! MERCI

Hors ligne