Trying to install wine on 18.04 is a real struggle

Questions about Wine on Linux
Post Reply
loah
Newbie
Newbie
Posts: 1
Joined: Tue Jun 30, 2020 7:42 am

Trying to install wine on 18.04 is a real struggle

Post by loah » Tue Jun 30, 2020 8:04 am

So, I've download both the amd64 and i386 libfaudio0 packages. However, trying to install as described here: https://wiki.winehq.org/Ubuntu, returns this error:

Code: Select all

Odd number of elements in hash assignment at /usr/share/pkg-config-dpkghook line 30.
So I looked at line 30 of pkg-config-dpkghook and it looks like this:
my %gnutriplets = map { debarch_to_gnutriplet($_) => 1 } @architectures;
Firstly, is this a wine problem or my OS?

User avatar
dimesio
Moderator
Moderator
Posts: 12842
Joined: Tue Mar 25, 2008 10:30 pm

Re: Trying to install wine on 18.04 is a real struggle

Post by dimesio » Wed Jul 01, 2020 7:26 am

I've never seen that error before, but googling it turns up a known bug in dpkg that was fixed in Debian in 2019. https://bugs.debian.org/cgi-bin/bugrepo ... bug=848706

I don't know if the fix was backported to Ubuntu 18.04; check for updates to dpkg.

Post Reply