On Ubuntu, "sudo apt-get build-dep wine" error

Questions about Wine on Linux
Post Reply
jalway
Level 1
Level 1
Posts: 5
Joined: Tue Jun 11, 2019 3:03 pm

On Ubuntu, "sudo apt-get build-dep wine" error

Post by jalway » Tue Jun 11, 2019 3:54 pm

Hello,

I have Ubuntu 16.04, 64-bit version in VirtualBox (windows 10 host). I'm attempting to build Wine from the source according to these instructions:
https://wiki.winehq.org/Building_Biarch_Wine_On_Ubuntu

When I get to this command:
"sudo apt-get build-dep wine"

It gives me the following error:
"E: You must put some 'source' URIs in your sources.list"

I'm not sure how to resolve this. I'm hoping for some ideas.

Thanks!
...John

Cybermax
Level 4
Level 4
Posts: 188
Joined: Fri Dec 01, 2017 5:26 pm

Re: On Ubuntu, "sudo apt-get build-dep wine" error

Post by Cybermax » Wed Jun 12, 2019 2:08 am

jalway wrote:Hello,

I have Ubuntu 16.04, 64-bit version in VirtualBox (windows 10 host). I'm attempting to build Wine from the source according to these instructions:
https://wiki.winehq.org/Building_Biarch_Wine_On_Ubuntu

When I get to this command:
"sudo apt-get build-dep wine"

It gives me the following error:
"E: You must put some 'source' URIs in your sources.list"

I'm not sure how to resolve this. I'm hoping for some ideas.

Thanks!
...John
The error is kinda self-explanatory... You need to add SOURCE repo's to apt.

https://help.ubuntu.com/community/Repositories/Ubuntu

Basically tick the "source" box, and THEN do sudo apt build-dep wine.

jalway
Level 1
Level 1
Posts: 5
Joined: Tue Jun 11, 2019 3:03 pm

Re: On Ubuntu, "sudo apt-get build-dep wine" error

Post by jalway » Wed Jun 12, 2019 11:43 am

Thank you for that!

I've run into another issue. I'm in the Linux Container...

I ran
apt-get update

and I get the following error:
E: Failed to fetch https://dl.winehq.org/wine-builds/ubunt ... 6/Packages

It can't fetch the 32 bit binaries.

Any ideas?

Regards,
...John

jalway
Level 1
Level 1
Posts: 5
Joined: Tue Jun 11, 2019 3:03 pm

Re: On Ubuntu, "sudo apt-get build-dep wine" error

Post by jalway » Thu Jun 13, 2019 4:38 pm

Update...

Apparently it was able to revert to "old" binaries, so I didn't have to do anything. I was then able to go through all of the configure and compile steps and install Wine on my Ubuntu 16.04 OS. I then installed Notepad++ and ran my first Windows application Ubuntu with Wine. It worked great! :-)

Post Reply