WineHQ error and PlayOnLinux

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
theawesomerb

WineHQ error and PlayOnLinux

Post by theawesomerb »

Hi,

First of all , i'd like to say thank you for those who are keeping this wonderfull OS, this is my first day on linux and i LOVE it ! , however , since i'm a noob i made a mess and i dont know how to clean it.

here is the situation , i made a fresh install of Mint 19 and i installed PlayOnLinux , then i figured out that using WineHQ is better to run a game (world of tanks) , sinice when i use playonlinux it hangs on installing IE8 and loops forever.

so when i try to install Wine using these commands :

Code: Select all

sudo dpkg --add-architecture i386 
wget -nc https://dl.winehq.org/wine-builds/Release.key 
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt-get install --install-recommends winehq-stable
it shows me this (its in french , means that the package has a problem with the dependencies :

Code: Select all

Les paquets suivants contiennent des dépendances non satisfaites :
 winehq-stable : Dépend: wine-stable (= 3.0.4~cosmic)
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
and also when i try to use PlayOnLinux the update center shows this :

Image

thank you very much
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
philotux

Re: WineHQ error and PlayOnLinux

Post by philotux »

I am not a wine user, so if there are any other specific problems with the installation, I am afraid I can't be of much help. However, looking at the commands you have posted, it looks that you forgot to update the cache before installing the software.
Run

Code: Select all

sudo apt update
before

Code: Select all

sudo apt-get install --install-recommends winehq-stable
Hope this helps!

Edit: You have two lines withsudo apt-add-repository... where only one, that withbionic main at the end, would be needed for LM 19. Remove the other one in Software Sources: Additional Repositories
theawesomerb

Re: WineHQ error and PlayOnLinux

Post by theawesomerb »

HI , thank you for your reply ,

i tried the update but nothing has changed;

Alternatively, how can i clean all this mess and repeat the installation properly ??!

, Thanks
philotux

Re: WineHQ error and PlayOnLinux

Post by philotux »

This is to stretch of my knowledge, but you could open the application Software Sources from the menu and under the tab "Additional repositories, remove all the references to wine and reload the cache once again. Next you could run the following commands one by one (from:https://wiki.winehq.org/Ubuntu):

Code: Select all

sudo dpkg --add-architecture i386 
wget -nc https://dl.winehq.org/wine-builds/Release.key 
sudo apt-key add Release.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt update
sudo apt-get install --install-recommends winehq-stable
from:https://help.ubuntu.com/community/Wine
Before using Wine, it is necessary to create the fake C: drive where your Windows applications will be installed. To do this, enter the following command into the terminal: You may find the terminal by going to Applications -> Accessories -> Terminal

winecfg

You also have the option of configuring Wine via the Configure Wine option in the Applications-> Wine menu.

This will create a hidden folder (.wine) in your home directory containing the fake C: drive as well as registry files similar to those used in Windows. Once this directory is created, the Wine Configuration Window will appear. This window will allow you to customize a variety of settings for Wine, including which Windows Version that is emulated, drive mappings, DLL overrides, as well as application specific settings. Click the Ok button to close the window.
Hope this helps!
theawesomerb

Re: WineHQ error and PlayOnLinux

Post by theawesomerb »

thanks for the reply,

i tried what you said, here is what i get when i do the apt update: it says the key is not available NO_PUBKEY 818A435C5FCBF54A , the update is disabled from that depot because its not secured , what to do now ?

Code: Select all

sudo apt update
Atteint:1 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic InRelease
Atteint:2 http://archive.canonical.com/ubuntu bionic InRelease                 
Atteint:3 http://archive.ubuntu.com/ubuntu bionic InRelease                    
Atteint:4 http://security.ubuntu.com/ubuntu bionic-security InRelease          
Atteint:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease            
Atteint:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease          
Ign:7 http://packages.linuxmint.com tara InRelease                             
Atteint:8 http://packages.linuxmint.com tara Release                           
Réception de:10 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [4,701 B]
Err:10 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease               
  Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 818A435C5FCBF54A
Ign:11 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./ InRelease
Atteint:12 http://ppa.launchpad.net/noobslab/apps/ubuntu bionic InRelease      
Atteint:13 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./ Release
Atteint:14 http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu bionic InRelease
Lecture des listes de paquets... Fait                          
W: Erreur de GPG : https://dl.winehq.org/wine-builds/ubuntu bionic InRelease : Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 818A435C5FCBF54A
E: Le dépôt https://dl.winehq.org/wine-builds/ubuntu bionic 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.
philotux

Re: WineHQ error and PlayOnLinux

Post by philotux »

Honestly, I am not sure where to go from here. I think these two:

Code: Select all

wget -nc https://dl.winehq.org/wine-builds/Release.key 
sudo apt-key add Release.key
should have taken care of the public key problem. I will investigate a bit further.
Most probably those forum members who do use Wine will come along with further suggestions.
philotux

Re: WineHQ error and PlayOnLinux

Post by philotux »

Try this:

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 818A435C5FCBF54A
and

Code: Select all

sudo apt update
afterwards.
theawesomerb

Re: WineHQ error and PlayOnLinux

Post by theawesomerb »

I tried , however nothing changed :'(

~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 818A435C5FCBF54A
[sudo] password for rachid:
Sorry, try again.
[sudo] password for rachid:
Executing: /tmp/apt-key-gpghome.jDnqD63ZIY/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 818A435C5FCBF54A
gpg: key 818A435C5FCBF54A: 57 signatures not checked due to missing keys
gpg: key 818A435C5FCBF54A: public key "Sebastian Lackner (WineHQ packages) <sebastian@fds-team.de>" imported
gpg: Total number processed: 1
gpg: imported: 1
philotux

Re: WineHQ error and PlayOnLinux

Post by philotux »

theawesomerb wrote: Mon Dec 10, 2018 6:31 pm I tried , however nothing changed :'(

~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 818A435C5FCBF54A
[sudo] password for rachid:
Sorry, try again.
[sudo] password for rachid:
Executing: /tmp/apt-key-gpghome.jDnqD63ZIY/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 818A435C5FCBF54A
gpg: key 818A435C5FCBF54A: 57 signatures not checked due to missing keys
gpg: key 818A435C5FCBF54A: public key "Sebastian Lackner (WineHQ packages) <sebastian@fds-team.de>" imported
gpg: Total number processed: 1
gpg: imported: 1
Did you also run

Code: Select all

 sudo apt update 
afterwards?
If nothing changed, I am at a loss.
:(

philotux
Locked

Return to “Software & Applications”