# Soucis avec mes sources de logiciels

**URL:** <https://www.debian-fr.org/t/soucis-avec-mes-sources-de-logiciels/77397>\
**Category:** Support Debian\
**Created:** [Août 24, 2018, 2:20 UTC](https://www.debian-fr.org/t/soucis-avec-mes-sources-de-logiciels/77397 "2018-08-24T14:20:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![madiba](https://www.debian-fr.org/user_avatar/www.debian-fr.org/madiba/32/4204_2.png) [@madiba](https://www.debian-fr.org/u/madiba)\
**Post date:** [Août 24, 2018, 2:20 UTC](https://www.debian-fr.org/t/soucis-avec-mes-sources-de-logiciels/77397/1 "2018-08-24T14:20:44Z")

</div>

Hello,  
J’ai touché à mes sources et maintenant c’est le bordel.  
Voilà ce que j’ai en console :

```nohighlight
Atteint:1 http://security.debian.org stable/updates InRelease
Ign:2 http://deb.debian.org/debian stable InRelease
Atteint:3 http://deb.debian.org/debian stable-updates InRelease
Atteint:4 http://deb.debian.org/debian stable-proposed-updates InRelease
Atteint:5 http://deb.debian.org/debian stable Release
Ign:6 http://repo.vivaldi.com/snapshot/deb stable InRelease
Ign:7 http://repo.vivaldi.com/stable/deb stable InRelease
Réception de:8 http://repo.vivaldi.com/snapshot/deb stable Release [3 829 B]
Réception de:9 http://repo.vivaldi.com/stable/deb stable Release [3 829 B]
Réception de:10 http://repo.vivaldi.com/snapshot/deb stable Release.gpg [819 B]
Réception de:11 http://repo.vivaldi.com/stable/deb stable Release.gpg [819 B]
Ign:10 http://repo.vivaldi.com/snapshot/deb stable Release.gpg
Réception de:13 http://repo.vivaldi.com/snapshot/deb stable/main amd64 Packages [1 343 B]
Ign:11 http://repo.vivaldi.com/stable/deb stable Release.gpg
Réception de:14 http://repo.vivaldi.com/stable/deb stable/main amd64 Packages [1 343 B]
12,0 ko réceptionnés en 1s (8 035 o/s)
Lecture des listes de paquets... Fait
W: http://security.debian.org/dists/stable/updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/stable-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/stable-proposed-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: Distribution en conflit : http://deb.debian.org/debian stable-proposed-updates InRelease (stable-proposed-updates attendu, mais stretch-proposed-updates obtenu)
W: http://deb.debian.org/debian/dists/stable/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://repo.vivaldi.com/snapshot/deb/dists/stable/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: Erreur de GPG : http://repo.vivaldi.com/snapshot/deb stable Release : Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 6D3789EDC3401E12
W: The repository 'http://repo.vivaldi.com/snapshot/deb stable Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://repo.vivaldi.com/stable/deb/dists/stable/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: Erreur de GPG : http://repo.vivaldi.com/stable/deb stable Release : Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 6D3789EDC3401E12
W: The repository 'http://repo.vivaldi.com/stable/deb stable Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
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."

```

Qui peut m’éclairer SVP ?

Voilà mes sources :

```nohighlight
deb http://deb.debian.org/debian/ stable non-free contrib main 

deb http://deb.debian.org/debian/ stable-updates non-free contrib main 

deb http://security.debian.org/ stable/updates non-free contrib main 

deb http://deb.debian.org/debian/ stable-proposed-updates non-freee contrib main

```

Merci d’avance 😉

---

<div class="post-metadata">

**Author:** ![Mimoza](https://www.debian-fr.org/user_avatar/www.debian-fr.org/mimoza/32/3858_2.png) [@Mimoza](https://www.debian-fr.org/u/Mimoza)\
**Post date:** [Août 24, 2018, 3:18 UTC](https://www.debian-fr.org/t/soucis-avec-mes-sources-de-logiciels/77397/2 "2018-08-24T15:18:49Z")

</div>

[https://wiki.debian-fr.xyz/Sources.list](https://wiki.debian-fr.xyz/Sources.list)

[https://www.debian-fr.xyz/debgen/](https://www.debian-fr.xyz/debgen/)

---

<div class="post-metadata">

**Author:** ![mattotop](https://www.debian-fr.org/user_avatar/www.debian-fr.org/mattotop/32/3942_2.png) [@mattotop](https://www.debian-fr.org/u/mattotop)\
**Post date:** [Août 24, 2018, 3:24 UTC](https://www.debian-fr.org/t/soucis-avec-mes-sources-de-logiciels/77397/3 "2018-08-24T15:24:33Z")

</div>

Pour le NO\_PUBKEY: [Erreur lors d'un update: NO\_PUBKEY](https://www.debian-fr.org/t/erreur-lors-dun-update-no-pubkey/3145)  
Sinon, tes pb de apt-key sauteront peut être tous seuls.  
Mets toi en shell root, et refais un **apt update**

---

<div class="post-metadata">

**Author:** ![mattotop](https://www.debian-fr.org/user_avatar/www.debian-fr.org/mattotop/32/3942_2.png) [@mattotop](https://www.debian-fr.org/u/mattotop)\
**Post date:** [Août 24, 2018, 3:25 UTC](https://www.debian-fr.org/t/soucis-avec-mes-sources-de-logiciels/77397/4 "2018-08-24T15:25:27Z")

</div>

Et si ça ne passe pas, commentes toutes les lignes avec un # au départ, et réintroduits les unes à unes jusqu’à ce que l’erreur apparaisse.

---

<div class="post-metadata">

**Author:** ![anon29980398](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/f4b2a3/32.png) [@anon29980398](https://www.debian-fr.org/u/anon29980398)\
**Post date:** [Août 24, 2018, 4:20 UTC](https://www.debian-fr.org/t/soucis-avec-mes-sources-de-logiciels/77397/5 "2018-08-24T16:20:12Z")

</div>

Bonjour

Il y a un **e** en trop au mot **non-free** à la dernière ligne de ton fichier **/etc/apt/sources.list**

* * *

Je me suis permis de remettre en forme la présentation de ton message,  
tu pourras voir ce que j’y ai fait en cliquant sur l’icône représentant un crayon en bas à droite de ton message,  
ce qui te fera passer en mode édition et donc voir comment il a été rédigé.

---

<div class="post-metadata">

**Author:** ![Verner](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/v/34f0e0/32.png) [@Verner](https://www.debian-fr.org/u/Verner)\
**Post date:** [Août 24, 2018, 4:49 UTC](https://www.debian-fr.org/t/soucis-avec-mes-sources-de-logiciels/77397/6 "2018-08-24T16:49:48Z")

</div>

@madiba  
Essaie ça:

```
wget http://repo.vivaldi.com/stable/linux_signing_key.pub
sudo gpg --import linux_signing_key.pub
sudo apt-key add linux_signing_key.pub
sudo apt update
```

---

<div class="post-metadata">

**Author:** ![madiba](https://www.debian-fr.org/user_avatar/www.debian-fr.org/madiba/32/4204_2.png) [@madiba](https://www.debian-fr.org/u/madiba)\
**Post date:** [Août 27, 2018, 4:09 UTC](https://www.debian-fr.org/t/soucis-avec-mes-sources-de-logiciels/77397/7 "2018-08-27T16:09:42Z")

</div>

Salut tout le monde,  
J’avais vu l’erreur du e en trop, merci 😉  
Verner, voilà ce que donnent les manips que tu m’indique :

```nohighlight
root@Host-002:/home/jocelyn# wget http://repo.vivaldi.com/stable/linux_signing_key.pub
--2018-08-27 18:03:38-- http://repo.vivaldi.com/stable/linux_signing_key.pub
Résolution de repo.vivaldi.com (repo.vivaldi.com)… 23.111.9.47
Connexion à repo.vivaldi.com (repo.vivaldi.com)|23.111.9.47|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 3132 (3,1K) [application/octet-stream]
Sauvegarde en : « linux_signing_key.pub »

linux_signing_key.pub 100%[=====================================>] 3,06K --.-KB/s in 0,03s

2018-08-27 18:03:39 (107 KB/s) — « linux_signing_key.pub » sauvegardé [3132/3132]
root@Host-002:/home/jocelyn#

```

```nohighlight
root@Host-002:/home/jocelyn# sudo gpg --import linux_signing_key.pub
gpg: directory '/root/.gnupg' created
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 6D3789EDC3401E12: public key "Vivaldi Package Composer KEY03 <packager@vivaldi.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
root@Host-002:/home/jocelyn#

```

```nohighlight
root@Host-002:/home/jocelyn# sudo apt-key add linux_signing_key.pub
gpg: WARNING: nothing exported
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
root@Host-002:/home/jocelyn#

```

```nohighlight
root@Host-002:/home/jocelyn# sudo apt update
Ign:1 http://repo.vivaldi.com/snapshot/deb stable InRelease                                            
Ign:2 http://repo.vivaldi.com/stable/deb stable InRelease                                              
Ign:3 http://deb.debian.org/debian stable InRelease                                                    
Réception de:4 http://repo.vivaldi.com/snapshot/deb stable Release [3 829 B]
Atteint:5 http://deb.debian.org/debian stable-updates InRelease                                  
Atteint:6 http://security.debian.org stable/updates InRelease                                          
Atteint:7 http://deb.debian.org/debian stable-proposed-updates InRelease                         
Atteint:8 http://deb.debian.org/debian stable Release                                     
Réception de:10 http://repo.vivaldi.com/stable/deb stable Release [3 829 B]                            
Réception de:11 http://repo.vivaldi.com/snapshot/deb stable Release.gpg [819 B]                        
Ign:11 http://repo.vivaldi.com/snapshot/deb stable Release.gpg                                         
Réception de:12 http://repo.vivaldi.com/stable/deb stable Release.gpg [819 B]                          
Ign:12 http://repo.vivaldi.com/stable/deb stable Release.gpg                                           
Lecture des listes de paquets... Fait                                                                  
W: http://deb.debian.org/debian/dists/stable-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.                        
W: http://security.debian.org/dists/stable/updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.                          
W: http://deb.debian.org/debian/dists/stable-proposed-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.               
W: Distribution en conflit : http://deb.debian.org/debian stable-proposed-updates InRelease (stable-proposed-updates attendu, mais stretch-proposed-updates obtenu)
W: http://deb.debian.org/debian/dists/stable/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://repo.vivaldi.com/snapshot/deb/dists/stable/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: Erreur de GPG : http://repo.vivaldi.com/snapshot/deb stable Release : Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 6D3789EDC3401E12
E: The repository 'http://repo.vivaldi.com/snapshot/deb stable Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://repo.vivaldi.com/stable/deb/dists/stable/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: Erreur de GPG : http://repo.vivaldi.com/stable/deb stable Release : Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 6D3789EDC3401E12
E: The repository 'http://repo.vivaldi.com/stable/deb stable Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details."
root@Host-002:/home/jocelyn#

```

Pas de changement.

---

<div class="post-metadata">

**Author:** ![Verner](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/v/34f0e0/32.png) [@Verner](https://www.debian-fr.org/u/Verner)\
**Post date:** [Août 27, 2018, 4:31 UTC](https://www.debian-fr.org/t/soucis-avec-mes-sources-de-logiciels/77397/8 "2018-08-27T16:31:17Z")

</div>

Et ça dit quoi ?

```
sudo apt-get install --allow-unauthenticated vivaldi-stable
```

---

<div class="post-metadata">

**Author:** ![littlejohn75](https://www.debian-fr.org/user_avatar/www.debian-fr.org/littlejohn75/32/3840_2.png) [@littlejohn75](https://www.debian-fr.org/u/littlejohn75)\
**Post date:** [Août 28, 2018, 10:20 UTC](https://www.debian-fr.org/t/soucis-avec-mes-sources-de-logiciels/77397/9 "2018-08-28T10:20:09Z")

</div>

> [@madiba](#):
>
> root@Host-002:/home/jocelyn# wget [http://repo.vivaldi.com/stable/linux\_signing\_key.pub](http://repo.vivaldi.com/stable/linux_signing_key.pub)

D’après cette ligne de commandes

- Vous êtes identifié comme `root`

- Le répertoire courant est /home/jocelyn

- Vous lancer une commande `wget` qui va télécharger un fichier depuis le domaine `vivaldi.com` ou un autre car le protocole utilisé est `http`

Du point de vue sécurité élémentaire, on a déjà vu mieux 😄

De plus, vous polluez `/home/jocelyn` avec un fichier `linux_signing_key.pub`qui appartient à `root`.

```auto
ls -l linux_signing_key.pub
file linux_signing_key.pub
less linux_signing_key.pub

```

> [@madiba](#):
>
> root@Host-002:/home/jocelyn# sudo gpg --import linux\_signing\_key.pub

Comme vous lancez la commande avec le compte `root` utiliser `sudo` me paraît contradictoire.

> [@madiba](#):
>
> root@Host-002:/home/jocelyn# sudo apt-key add linux\_signing\_key.pub  
> gpg: WARNING: nothing exported  
> gpg: no valid OpenPGP data found.  
> gpg: Total number processed: 0  
> root@Host-002:/home/jocelyn#

Il n’est pas interdit de lire ce qui s’affiche quand on a lancé une commande, surtout si c’est une commande privilégiée.

```auto
gpg: no valid OpenPGP data found.

```

Semblerait que vous n’ayez pas le bon fichier de clé.

> [@madiba](#):
>
> Pas de changement.

Voir l’échec de l’addition de la clé  
En attendant

```auto
sudo apt-key list | less

```

Cordialement,  
Regards,  
Mit freundlichen Grüßen,  
مع تحياتي الخالصة

* * *

F. Petitjean  
Ingénieur civil du Génie Maritime.

« Moi, lorsque je n’ai rien à dire, je veux qu’on le sache. » (R. Devos)
