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 11/02/2023, à 13:46

pettan14

Problème Wine avec la clé publique [RESOLU]

Bonjour,

J'ai un soucis de mise à jour quand je lance:

sudo apt update

J'obtiens :

Err :6 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 76F1A20FF987672F
Lecture des listes de paquets... Fait
W: Erreur de GPG : https://dl.winehq.org/wine-builds/ubuntu focal InRelease : Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 76F1A20FF987672F
E: Le dépôt https://dl.winehq.org/wine-builds/ubuntu focal InRelease n'est pas signé.
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.

J'ai essayé :

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 76F1A20FF987672F

J'obtiens:

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.ulXnPZXq1k/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-key 76F1A20FF987672F
gpg: clef 76F1A20FF987672F : « WineHQ packages <wine-devel@winehq.org> » n'est pas modifiée
gpg: Quantité totale traitée : 1
gpg:              non modifiées : 1

J'ai essayé:

wget -nc https://dl.winehq.org/wine-builds/winehq.key && sudo apt-key add winehq.key && sudo apt update

Ca revient au même.
Et là, je ne sais plus quoi faire

Dernière modification par pettan14 (Le 11/02/2023, à 14:50)


PC: CM MSI Z390-A Pro - Intel Core i5-8400 CPU 2.80gHz x 6 - Intel UHD Graphics 630 (Coffeelake 3x8 GT2) - 2 x DDR4 8Go 2400MHz CL17 Crucial SR - SSD 125.5 Go
Ubuntu 22.10
Débutant....

Hors ligne

#2 Le 11/02/2023, à 13:58

nany

Re : Problème Wine avec la clé publique [RESOLU]

Bonjour,



As-tu suivi la doc officielle de winhq ?
Donne s’il te plaît le retour de :

find /etc/apt -type f -regex ".*\(list\|sources\).*" -exec bash -c 'echo -e "\n\t$1\n" ; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;

Hors ligne

#3 Le 11/02/2023, à 14:05

pettan14

Re : Problème Wine avec la clé publique [RESOLU]

nany a écrit :

Bonjour,



As-tu suivi la doc officielle de winhq ?
Donne s’il te plaît le retour de :

find /etc/apt -type f -regex ".*\(list\|sources\).*" -exec bash -c 'echo -e "\n\t$1\n" ; [ "${1##*.}" = "list" -o "${1##*.}" = "sources" ] && cat -n "$1"' _ '{}' \;

Merci beaucoup Nany,

Voilà le retour demandé:

/etc/apt/sources.list.d/costales-ubuntu-folder-color-jammy.list.save


	/etc/apt/sources.list.d/lubomir-brindza-ubuntu-nautilus-typeahead-jammy.list

     1	deb https://ppa.launchpadcontent.net/lubomir-brindza/nautilus-typeahead/ubuntu/ jammy main
     2	# deb-src https://ppa.launchpadcontent.net/lubomir-brindza/nautilus-typeahead/ubuntu/ jammy main

	/etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list.save


	/etc/apt/sources.list.d/archive_uri-http_archive_canonical_com_ubuntu-jammy.list.save


	/etc/apt/sources.list.d/costales-ubuntu-folder-color-jammy.list

     1	deb https://ppa.launchpadcontent.net/costales/folder-color/ubuntu/ jammy main
     2	# deb-src https://ppa.launchpadcontent.net/costales/folder-color/ubuntu/ jammy main

	/etc/apt/sources.list.d/appimagelauncher-team-ubuntu-stable-jammy.list.save


	/etc/apt/sources.list.d/xtradeb-ubuntu-apps-jammy.list.save


	/etc/apt/sources.list.d/lubomir-brindza-ubuntu-nautilus-typeahead-jammy.list.save


	/etc/apt/sources.list.d/xtradeb-ubuntu-apps-jammy.list

     1	deb https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu/ jammy main
     2	# deb-src https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu/ jammy main

	/etc/apt/sources.list.d/google-chrome.list.save


	/etc/apt/sources.list.d/winehq-focal.sources

     1	Types: deb
     2	URIs: https://dl.winehq.org/wine-builds/ubuntu
     3	Suites: focal
     4	Components: main
     5	Architectures: amd64 i386
     6	Signed-By: /etc/apt/keyrings/winehq-archive.key

	/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] https://dl.google.com/linux/chrome/deb/ stable main

	/etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list


	/etc/apt/sources.list.d/ubuntu-esm-infra.list

     1	deb https://esm.ubuntu.com/infra/ubuntu jammy-infra-security main
     2	# deb-src https://esm.ubuntu.com/infra/ubuntu jammy-infra-security main

	/etc/apt/sources.list.d/clipgrab-team-ubuntu-ppa-jammy.list


	/etc/apt/sources.list.d/clipgrab-team-ubuntu-ppa-jammy.list.save


	/etc/apt/sources.list.d/archive_uri-http_archive_canonical_com_ubuntu-jammy.list

     1	deb http://archive.canonical.com/ubuntu jammy partner
     2	# deb-src http://archive.canonical.com/ubuntu jammy partner

	/etc/apt/sources.list.d/ubuntu-esm-infra.list.save


	/etc/apt/sources.list.d/gerardpuig-ubuntu-ppa-jammy.list.save


	/etc/apt/sources.list.d/gerardpuig-ubuntu-ppa-jammy.list

     1	deb https://ppa.launchpadcontent.net/gerardpuig/ppa/ubuntu/ jammy main
     2	# deb-src https://ppa.launchpadcontent.net/gerardpuig/ppa/ubuntu/ jammy main

	/etc/apt/sources.list.d/appimagelauncher-team-ubuntu-stable-jammy.list

     1	deb https://ppa.launchpadcontent.net/appimagelauncher-team/stable/ubuntu/ jammy main
     2	# deb-src https://ppa.launchpadcontent.net/appimagelauncher-team/stable/ubuntu/ jammy main

	/etc/apt/sources.list

     1	# deb cdrom:[Ubuntu 22.04 LTS _Jammy Jellyfish_ - Release amd64 (20220419)]/ jammy 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://mirrors.ircam.fr/pub/ubuntu/archive/ jammy main restricted
     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://mirrors.ircam.fr/pub/ubuntu/archive/ jammy-updates main restricted
    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://mirrors.ircam.fr/pub/ubuntu/archive/ jammy universe
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy universe
    18	deb http://mirrors.ircam.fr/pub/ubuntu/archive/ 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://mirrors.ircam.fr/pub/ubuntu/archive/ jammy multiverse
    27	# deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy multiverse
    28	deb http://mirrors.ircam.fr/pub/ubuntu/archive/ 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://mirrors.ircam.fr/pub/ubuntu/archive/ jammy-backports main restricted universe multiverse
    37	# deb-src http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
    38	
    39	deb http://mirrors.ircam.fr/pub/ubuntu/archive/ jammy-security main restricted
    40	# deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted
    41	deb http://mirrors.ircam.fr/pub/ubuntu/archive/ jammy-security universe
    42	# deb-src http://security.ubuntu.com/ubuntu jammy-security universe
    43	deb http://mirrors.ircam.fr/pub/ubuntu/archive/ jammy-security multiverse
    44	# deb-src http://security.ubuntu.com/ubuntu jammy-security multiverse
    45	
    46	# This system was installed using small removable media
    47	# (e.g. netinst, live or single CD). The matching "deb cdrom"
    48	# entries were disabled at the end of the installation process.
    49	# For information about how to configure apt package sources,
    50	# see the sources.list(5) manual.

	/etc/apt/sources.list.save

PC: CM MSI Z390-A Pro - Intel Core i5-8400 CPU 2.80gHz x 6 - Intel UHD Graphics 630 (Coffeelake 3x8 GT2) - 2 x DDR4 8Go 2400MHz CL17 Crucial SR - SSD 125.5 Go
Ubuntu 22.10
Débutant....

Hors ligne

#4 Le 11/02/2023, à 14:15

nany

Re : Problème Wine avec la clé publique [RESOLU]

Ok, tu as mis les sources winehq pour focal alors que tu es sous jammy. Donne les retours de :

apt-key list
cd /etc/apt/sources.list.d && sudo rm -v *winehq* ; cd

Dernière modification par nany (Le 11/02/2023, à 14:18)

Hors ligne

#5 Le 11/02/2023, à 14:22

pettan14

Re : Problème Wine avec la clé publique [RESOLU]

nany a écrit :

Ok, tu as mis les sources winehq pour focal alors que tu es sous jammy.

Je ne suis pas très doué...

Donne les retours de :

apt-key list
apt-key list
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
/etc/apt/trusted.gpg
--------------------
pub   rsa3072 2018-12-10 [SC]
      D43F 6401 4536 9C51 D786  DDEA 76F1 A20F F987 672F
uid          [ inconnue] WineHQ packages <wine-devel@winehq.org>

/etc/apt/trusted.gpg.d/appimagelauncher-team-ubuntu-stable.gpg
--------------------------------------------------------------
pub   rsa4096 2019-11-24 [SC]
      ACD8 02F5 35B6 F55D 3652  8557 4AF9 B16F 75EF 2FCA
uid          [ inconnue] Launchpad PPA for AppImageLauncher Maintainers

/etc/apt/trusted.gpg.d/clipgrab-team-ubuntu-ppa.gpg
---------------------------------------------------
pub   rsa1024 2009-11-29 [SC]
      4496 BE64 A6BE E4CD 4BEE  E744 D8AD 4DE7 8EEB B0CA
uid          [ inconnue] Launchpad ClipGrab PPA

/etc/apt/trusted.gpg.d/costales-ubuntu-folder-color.gpg
-------------------------------------------------------
pub   rsa1024 2012-06-22 [SC]
      0DD2 10AB E883 B905 B88B  55E7 FC14 671B A89C A06C
uid          [ inconnue] Launchpad PPA for Costales

/etc/apt/trusted.gpg.d/gerardpuig-ubuntu-ppa.gpg
------------------------------------------------
pub   rsa4096 2016-06-05 [SC]
      E2CB BCC3 39FE D83B CAE8  E4B5 5F84 1B74 A892 A73C
uid          [ inconnue] Launchpad PPA for Gerard Puig

/etc/apt/trusted.gpg.d/google-chrome.gpg
----------------------------------------
pub   rsa4096 2016-04-12 [SC]
      EB4C 1BFD 4F04 2F6D DDCC  EC91 7721 F63B D38B 4796
uid          [ inconnue] Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>
sub   rsa4096 2021-10-26 [S] [expire : 2024-10-25]

/etc/apt/trusted.gpg.d/lubomir-brindza-ubuntu-nautilus-typeahead.gpg
--------------------------------------------------------------------
pub   rsa4096 2018-04-30 [SC]
      F217 1AE7 8ECB C8C6 F059  FD98 301F 60F1 D6A3 0942
uid          [ inconnue] Launchpad PPA for Lubomir Brindza

/etc/apt/trusted.gpg.d/ubuntu-advantage-esm-infra-trusty.gpg
------------------------------------------------------------
pub   rsa4096 2019-04-17 [SC]
      56F7 650A 24C9 E9EC F87C  4D8D 4067 E403 13CB 4B13
uid          [ inconnue] Ubuntu Extended Security Maintenance Automatic Signing Key v2 <esm@canonical.com>
sub   rsa4096 2019-04-17 [E]

/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
------------------------------------------------------
pub   rsa4096 2012-05-11 [SC]
      8439 38DF 228D 22F7 B374  2BC0 D94A A3F0 EFE2 1092
uid          [ inconnue] Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
------------------------------------------------------
pub   rsa4096 2018-09-17 [SC]
      F6EC B376 2474 EDA9 D21B  7022 8719 20D1 991B C93C
uid          [ inconnue] Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>

/etc/apt/trusted.gpg.d/xtradeb-ubuntu-apps.gpg
----------------------------------------------
pub   rsa4096 2020-11-09 [SC]
      5301 FA4F D932 44FB C6F6  1499 82BB 6851 C64F 6880
uid          [ inconnue] Launchpad PPA for xtradeb Ubuntu team
cd /etc/apt/sources.list.d && sudo rm -v *winehq* ; cd
'archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list' supprimé
'archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-jammy.list.save' supprimé
'winehq-focal.sources' supprimé

PC: CM MSI Z390-A Pro - Intel Core i5-8400 CPU 2.80gHz x 6 - Intel UHD Graphics 630 (Coffeelake 3x8 GT2) - 2 x DDR4 8Go 2400MHz CL17 Crucial SR - SSD 125.5 Go
Ubuntu 22.10
Débutant....

Hors ligne

#6 Le 11/02/2023, à 14:28

nany

Re : Problème Wine avec la clé publique [RESOLU]

Bien alors maintenant donne les retours de :

sudo apt-key del F987672F
sudo dpkg --add-architecture i386 
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -sc)/winehq-$(lsb_release -sc).sources
sudo apt update

Hors ligne

#7 Le 11/02/2023, à 14:33

pettan14

Re : Problème Wine avec la clé publique [RESOLU]

nany a écrit :

Bien alors maintenant donne les retours de :

sudo apt-key del F987672F
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
sudo dpkg --add-architecture i386 
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
--2023-02-11 14:30:22--  https://dl.winehq.org/wine-builds/winehq.key
Résolution de dl.winehq.org (dl.winehq.org)… 151.101.2.217, 151.101.66.217, 151.101.130.217, ...
Connexion à dl.winehq.org (dl.winehq.org)|151.101.2.217|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 3220 (3,1K) [application/pgp-keys]
Enregistre : ‘/etc/apt/keyrings/winehq-archive.key’

/etc/apt/keyrings/winehq-archi 100%[==================================================>]   3,14K  --.-KB/s    ds 0s      

2023-02-11 14:30:22 (18,0 MB/s) - ‘/etc/apt/keyrings/winehq-archive.key’ enregistré [3220/3220]
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -sc)/winehq-$(lsb_release -sc).sources
--2023-02-11 14:31:47--  https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
Résolution de dl.winehq.org (dl.winehq.org)… 151.101.2.217, 151.101.66.217, 151.101.130.217, ...
Connexion à dl.winehq.org (dl.winehq.org)|151.101.2.217|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 163
Enregistre : ‘/etc/apt/sources.list.d/winehq-jammy.sources’

winehq-jammy.sources           100%[==================================================>]     163  --.-KB/s    ds 0s      

2023-02-11 14:31:47 (4,38 MB/s) - ‘/etc/apt/sources.list.d/winehq-jammy.sources’ enregistré [163/163]
sudo apt update
Atteint :1 http://mirrors.ircam.fr/pub/ubuntu/archive jammy InRelease
Réception de :2 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-updates InRelease [119 kB]                              
Atteint :3 http://archive.canonical.com/ubuntu jammy InRelease                                                           
Réception de :4 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-backports InRelease [107 kB]                            
Atteint :5 https://dl.google.com/linux/chrome/deb stable InRelease                                                       
Atteint :6 https://ppa.launchpadcontent.net/appimagelauncher-team/stable/ubuntu jammy InRelease                          
Réception de :7 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-security InRelease [110 kB]                       
Atteint :8 https://ppa.launchpadcontent.net/costales/folder-color/ubuntu jammy InRelease                                 
Réception de :9 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease [8041 B]                                       
Atteint :10 https://ppa.launchpadcontent.net/gerardpuig/ppa/ubuntu jammy InRelease                                       
Atteint :11 https://ppa.launchpadcontent.net/lubomir-brindza/nautilus-typeahead/ubuntu jammy InRelease
Réception de :12 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-updates/main amd64 Packages [876 kB]
Atteint :13 https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu jammy InRelease                                         
Réception de :14 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-updates/main i386 Packages [436 kB]                    
Réception de :15 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-updates/main amd64 DEP-11 Metadata [101 kB]
Réception de :16 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-updates/universe amd64 Packages [802 kB]
Atteint :17 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease                       
Réception de :18 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-updates/universe i386 Packages [569 kB]
Réception de :19 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-updates/universe amd64 DEP-11 Metadata [265 kB]
Réception de :20 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-updates/multiverse i386 Packages [3176 B]
Réception de :21 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-updates/multiverse amd64 Packages [9364 B]
Réception de :22 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Réception de :23 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-backports/main amd64 DEP-11 Metadata [7996 B]
Réception de :24 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-backports/universe amd64 DEP-11 Metadata [12,5 kB]
Réception de :25 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-security/main amd64 DEP-11 Metadata [41,5 kB]
Réception de :26 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-security/universe amd64 DEP-11 Metadata [13,3 kB]
Réception de :27 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages [88,8 kB]
Réception de :28 https://dl.winehq.org/wine-builds/ubuntu jammy/main i386 Packages [88,5 kB]
3661 ko réceptionnés en 1s (3800 ko/s)                       
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
5 paquets peuvent être mis à jour. Exécutez « apt list --upgradable » pour les voir.

PC: CM MSI Z390-A Pro - Intel Core i5-8400 CPU 2.80gHz x 6 - Intel UHD Graphics 630 (Coffeelake 3x8 GT2) - 2 x DDR4 8Go 2400MHz CL17 Crucial SR - SSD 125.5 Go
Ubuntu 22.10
Débutant....

Hors ligne

#8 Le 11/02/2023, à 14:44

nany

Re : Problème Wine avec la clé publique [RESOLU]

Voilà, problème résolu.
D’après la page de doc wine, tu peux maintenant installer winehq-stable :

sudo apt install --install-recommends winehq-stable

Hors ligne

#9 Le 11/02/2023, à 14:50

pettan14

Re : Problème Wine avec la clé publique [RESOLU]

Merci beaucoup pour ton aide!


PC: CM MSI Z390-A Pro - Intel Core i5-8400 CPU 2.80gHz x 6 - Intel UHD Graphics 630 (Coffeelake 3x8 GT2) - 2 x DDR4 8Go 2400MHz CL17 Crucial SR - SSD 125.5 Go
Ubuntu 22.10
Débutant....

Hors ligne