Wine Problems

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Blake's7
Level 1
Level 1
Posts: 15
Joined: Sat Jun 28, 2014 4:44 am

Wine Problems

Post by Blake's7 » Sun Aug 12, 2018 2:09 am

Hi! I've been trying to install Wine on Mint 19. I ran
wget https://dl.winehq.org/wine-builds/Release.key
--2018-08-12 01:58:44-- https://dl.winehq.org/wine-builds/Release.key
Resolving dl.winehq.org (dl.winehq.org)... 151.101.208.69
Connecting to dl.winehq.org (dl.winehq.org)|151.101.208.69|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3122 (3.0K) [application/pgp-keys]
Saving to: ‘Release.key.2’

Release.key.2 100%[===================>] 3.05K --.-KB/s in 0s

2018-08-12 01:58:44 (31.7 MB/s) - ‘Release.key.2’ saved [3122/3122]
Then
sudo apt-key add Release.key
OK
Next
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
Then
sudo apt-get update
E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
Then I tried
sudo apt-get install --install-recommends winehq-stable -y
E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
I figured I could try synaptic package manager, but I get this message
E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.
What happened, and what do I do to correct these problems and install Wine?
Any and all responses will be greatly appreciated. Thanks

User avatar
Sir Charles
Level 7
Level 7
Posts: 1827
Joined: Thu Jan 04, 2018 1:00 pm

Re: Wine Problems

Post by Sir Charles » Sun Aug 12, 2018 2:46 am

Blake's7 wrote:
Sun Aug 12, 2018 2:09 am
E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
Hi,
Please post the terminal output of:

Code: Select all

cat /etc/apt/sources.list.d/additional-repositories.list 
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

Blake's7
Level 1
Level 1
Posts: 15
Joined: Sat Jun 28, 2014 4:44 am

Re: Wine Problems

Post by Blake's7 » Sun Aug 12, 2018 4:40 am


User avatar
Sir Charles
Level 7
Level 7
Posts: 1827
Joined: Thu Jan 04, 2018 1:00 pm

Re: Wine Problems

Post by Sir Charles » Sun Aug 12, 2018 5:25 am

Alright, run the following in a terminal:

Code: Select all

xed admin:///etc/apt/sources.list.d/additional-repositories.list 
type in your password. When the file opens, delete the first two rows, keeping only the third. Save and close the file. Next, run:

Code: Select all

sudo apt-get update
and go ahead with the rest of the installation instructions for Wine.

Good luck!
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

Blake's7
Level 1
Level 1
Posts: 15
Joined: Sat Jun 28, 2014 4:44 am

Re: Wine Problems

Post by Blake's7 » Sun Aug 12, 2018 7:25 am

You're the best. It worked like a charm. What did I do wrong in the 1st place. I retried those steps 4 times. Thanks.

User avatar
Sir Charles
Level 7
Level 7
Posts: 1827
Joined: Thu Jan 04, 2018 1:00 pm

Re: Wine Problems

Post by Sir Charles » Sun Aug 12, 2018 7:31 am

Since the first item on the list:

Code: Select all

deb https://dl.winehq.org/wine-builds/ubuntu/bionic main
is the malformed one (needs an space between / and bionic), so I guess it is a case of "typo" when you added that repository first time around. Then you have added the same source a couple of times after that.

Please keep in mind that each additional software source (even correctly spelled out) should be specified only once otherwise we will get other error messages of the following type:

Code: Select all

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
The remedy would be as per the above procedure and delete the duplicate. Another way is to open Software Sources and check under "Additional repositories" and remove the duplicate from there.
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

Blake's7
Level 1
Level 1
Posts: 15
Joined: Sat Jun 28, 2014 4:44 am

Re: Wine Problems

Post by Blake's7 » Sun Aug 12, 2018 8:18 am

Thanks. I hate to bother you again about this, but when I went to install the program, right clicked it and got open with wine windows launcher I received message that I needed Mono and it gave a link to linux mint. I installed that and got a message to install gecko, went to link and the message was package not found. I looked up gecko and saw the different packages, but it says they are distributions, in iso format. Is this what I'm looking for? Thanks.

User avatar
Sir Charles
Level 7
Level 7
Posts: 1827
Joined: Thu Jan 04, 2018 1:00 pm

Re: Wine Problems

Post by Sir Charles » Sun Aug 12, 2018 8:36 am

You are welcome!
Unfortunately, I am not good at all with specific Wine issues (I don't even have it installed). The issue with APT and repositories was a different matter. I think you would need assistance from forum members who actually use Wine. In the meantime have a look at the following links:
https://wiki.winehq.org/Gecko
https://www.winehq.org/search?q=gecko
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

User avatar
Flemur
Level 16
Level 16
Posts: 6194
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Wine Problems

Post by Flemur » Sun Aug 12, 2018 9:43 am

Blake's7 wrote:
Sun Aug 12, 2018 8:18 am
I received message that I needed Mono and it gave a link to linux mint. I installed that and got a message to install gecko, went to link and the message was package not found. I looked up gecko and saw the different packages, but it says they are distributions, in iso format. Is this what I'm looking for? Thanks.
You might not actually need either one; I get those messages after every wine update, but never install either one. See if your software works without them.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

Blake's7
Level 1
Level 1
Posts: 15
Joined: Sat Jun 28, 2014 4:44 am

Re: Wine Problems

Post by Blake's7 » Sun Aug 12, 2018 9:58 am

Thanks for the responses. Wine won't launch without the Mono and the gecko.

377Ohms
Level 2
Level 2
Posts: 89
Joined: Mon Nov 09, 2015 10:49 pm

Re: Wine Problems

Post by 377Ohms » Sun Aug 12, 2018 8:40 pm

Blake's7 wrote:
Sun Aug 12, 2018 9:58 am
Thanks for the responses. Wine won't launch without the Mono and the gecko.
I think Mono and Gecko are needed in Wine if a Windows application needs (respectively) .NET and HTML support. I let Wine auto install both Mono and Gecko in Mint-19 Cinnamon when a stand-alone Windows application (WinFF) triggered it, and they worked. My Wine install is per the winehq.org recipe. I do not know (yet) how to force Mono and Gecko to install by default with Wine from the beginning. Please see my post here for a bit more information:

viewtopic.php?f=90&t=275488&p=1511445#p1511445

Blake's7
Level 1
Level 1
Posts: 15
Joined: Sat Jun 28, 2014 4:44 am

Re: Wine Problems

Post by Blake's7 » Thu Aug 16, 2018 9:31 am

Hi! I tried launching the application for install, and the installing page came up. But, it's set up to install in windows. It asks for where do I want to install it. Where would I install it on linux? Is it in a Wine folder, and if it is where is that folder? Thanks.

User avatar
Flemur
Level 16
Level 16
Posts: 6194
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Wine Problems

Post by Flemur » Thu Aug 16, 2018 9:58 am

Flemur wrote:
Sun Aug 12, 2018 9:43 am
I get those messages after every wine update, but never install either one.
Turns out I had installed "mono" - don't recall what program(s) requires it - but have never installed gecko; @377Ohms, I don't want/need anything in wine to render html.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

Post Reply

Return to “Software & Applications”