WINE 5 does not install on Linux Mint 20 Cinammon

Questions about Wine on Linux
Locked
ovisergiu
Level 2
Level 2
Posts: 29
Joined: Mon Jun 17, 2019 3:18 am

WINE 5 does not install on Linux Mint 20 Cinammon

Post by ovisergiu »

Hi, I followed the instructions from https://wiki.winehq.org/Ubuntu but Wins still does not installs.
I use Linux Mint 20 Cinammon.

Could you please tell me what did I do wrong?
I have managed to install Wine 4.x back in Linux Mint 19.x with no problems following the instructions from back then, but this time I really don't know what I did wrong.
Thank you!

Code: Select all

oks@oks:~$ sudo dpkg --add-architecture i386
[sudo] password for oks:       
oks@oks:~$ wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
--2020-07-25 20:59:48--  https://dl.winehq.org/wine-builds/winehq.key
Resolving dl.winehq.org (dl.winehq.org)... 151.101.114.217
Connecting to dl.winehq.org (dl.winehq.org)|151.101.114.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3220 (3,1K) [application/pgp-keys]
Saving to: ‘STDOUT’

-                   100%[===================>]   3,14K  --.-KB/s    in 0s      

2020-07-25 20:59:48 (14,0 MB/s) - written to stdout [3220/3220]

gpg: invalid key resource URL '/etc/apt/trusted.gpg.d/home:Alexx2000.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 7721F63BD38B4796: 2 signatures not checked due to missing keys
gpg: key 61508B60C33A8925: 1 signature not checked due to a missing key
gpg: key A6616109451BBBF2: 12 signatures not checked due to missing keys
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key C8CAB6595FDFF622: 2 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: key 76F1A20FF987672F: 1 signature not checked due to a missing key
gpg: Total number processed: 9
gpg:       skipped new keys: 9
oks@oks:~$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
Repository already exists.
oks@oks:~$ sudo apt update
Hit:1 http://mirror.efect.ro/ubuntu/archive focal InRelease
Hit:2 http://mirror.efect.ro/ubuntu/archive focal-updates InRelease            
Hit:3 http://mirror.efect.ro/ubuntu/archive focal-backports InRelease          
Ign:4 http://mirrors.evowise.com/linuxmint/packages ulyana InRelease           
Get:5 http://linux.teamviewer.com/deb stable InRelease [11,0 kB]               
Hit:6 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:7 http://mirrors.evowise.com/linuxmint/packages ulyana Release             
Hit:8 http://download.opensuse.org/repositories/home:/Alexx2000/xUbuntu_20.04  InRelease
Hit:9 https://brave-browser-apt-release.s3.brave.com stable InRelease          
Get:10 https://dl.winehq.org/wine-builds/ubuntu focal InRelease [6.257 B]      
Hit:11 http://archive.canonical.com/ubuntu focal InRelease                     
Hit:12 http://security.ubuntu.com/ubuntu focal-security InRelease              
Err:5 http://linux.teamviewer.com/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
Get:14 http://ppa.launchpad.net/slgobinath/gcalendar/ubuntu focal InRelease [18,0 kB]
Get:15 http://ppa.launchpad.net/ubuntuhandbook1/apps/ubuntu focal InRelease [17,5 kB]
Err:10 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Err:14 http://ppa.launchpad.net/slgobinath/gcalendar/ubuntu focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E71C080343BB5214
Err:15 http://ppa.launchpad.net/ubuntuhandbook1/apps/ubuntu focal InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4C1CBE14852541CB
Reading package lists... Done
W: GPG error: http://linux.teamviewer.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E224500C1289C0
E: The repository 'http://linux.teamviewer.com/deb stable 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.
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu focal 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 focal 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.
W: GPG error: http://ppa.launchpad.net/slgobinath/gcalendar/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E71C080343BB5214
E: The repository 'http://ppa.launchpad.net/slgobinath/gcalendar/ubuntu focal 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.
W: GPG error: http://ppa.launchpad.net/ubuntuhandbook1/apps/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4C1CBE14852541CB
E: The repository 'http://ppa.launchpad.net/ubuntuhandbook1/apps/ubuntu focal 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.
oks@oks:~$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package winehq-stable
oks@oks:~$ 
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE 5 does not install on Linux Mint 20 Cinammon

Post by jkfloris »

Move or delete this file and try again:

Code: Select all

'/etc/apt/trusted.gpg.d/home:Alexx2000.gpg'
ovisergiu
Level 2
Level 2
Posts: 29
Joined: Mon Jun 17, 2019 3:18 am

Re: WINE 5 does not install on Linux Mint 20 Cinammon

Post by ovisergiu »

Thank you, it worked!
Locked