(SOLVED) Updating from such a repository can't be done securely, and is therefore disabled by default.

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
sirskeletonmeal
Level 1
Level 1
Posts: 6
Joined: Sat Jan 28, 2023 8:00 pm

(SOLVED) Updating from such a repository can't be done securely, and is therefore disabled by default.

Post by sirskeletonmeal »

Hello, Ive been tring to run sudo commands such as sudo apt update but they all give me the same error message.WhenI run sudo apt update it responds with:
Ign:1 http://packages.linuxmint.com vera InRelease
Hit:2 http://packages.linuxmint.com vera Release
Get:3 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease [8,041 B]
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:3 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Reading package lists... Done
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu jammy InRelease' 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.
Any ideas for fixes?
Last edited by LockBot on Sat Jul 29, 2023 10:00 pm, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Dullard du Jour
Level 5
Level 5
Posts: 518
Joined: Fri Dec 23, 2022 10:43 am

Re: Updating from such a repository can't be done securely, and is therefore disabled by default.

Post by Dullard du Jour »

I think you need to add that missing key ...

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 76F1A20FF987672F
sirskeletonmeal
Level 1
Level 1
Posts: 6
Joined: Sat Jan 28, 2023 8:00 pm

Re: Updating from such a repository can't be done securely, and is therefore disabled by default.

Post by sirskeletonmeal »

Lou77, didn't do anything sudo apt update still has the same responce
Dullard du Jour
Level 5
Level 5
Posts: 518
Joined: Fri Dec 23, 2022 10:43 am

Re: Updating from such a repository can't be done securely, and is therefore disabled by default.

Post by Dullard du Jour »

Well, hmmm. What works for me may not work for others. :)

Looks like to me, the Wine repository is not considered secure for some reason. If you already have a partial or bad install of Wine you could remove it and do the purge, update, upgrade commands and see what happens.

Wine can also be downloaded via Synaptic and Software Manager.

Is this a fresh install, dual boot or Mint only on the drive? It may be simpler to reinstall if this is a fresh install.

On your next post, put the below command in the code brackets please. It will help others to help you.

Code: Select all

inxi -Fmxxxrz
Here is a link for installing Wine on Mint, be certain to install the i386 architecture. Also, look in Update Manager, Edit, Software Sources, PPA and remove what may be in the box. Take note of what is there. Uninstall any existing Wine and then follow the instruction in this link.

Install Wine in Mint
sirskeletonmeal
Level 1
Level 1
Posts: 6
Joined: Sat Jan 28, 2023 8:00 pm

Re: (SOLVED) Updating from such a repository can't be done securely, and is therefore disabled by default.

Post by sirskeletonmeal »

IDK what I did but it's somehow fixed now.
Locked

Return to “Xfce”