can't install winnehq-stable on fedora 34

Questions about Wine on Linux
Locked
sujiniku
Newbie
Newbie
Posts: 2
Joined: Sat May 01, 2021 4:29 pm

can't install winnehq-stable on fedora 34

Post by sujiniku »

Now I use Fedora34, not Fedora 33.
I try install winehw accordingly official tutorial , so I follow https://wiki.winehq.org/Fedora ,
but because of conflict ,I can't install winnehq-stable .

so I tryed

Code: Select all

sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/33/winehq.repo

Code: Select all

sudo dnf install winehq-stable
but the result is conflict of i686 and x86_64 , and stopped installing.
Error: Transaction test error:
file /etc/xattr.conf from install of libattr-2.5.1-1.fc34.i686 conflicts with file from package libattr-2.4.48-11.fc34.x86_64
file /usr/share/doc/libverto/AUTHORS from install of libverto-0.3.2-1.fc34.i686 conflicts with file from package libverto-0.3.1-3.fc34.x86_64
file /usr/share/doc/libverto/ChangeLog from install of libverto-0.3.2-1.fc34.i686 conflicts with file from package libverto-0.3.1-3.fc34.x86_64
file /usr/share/doc/libverto/NEWS from install of libverto-0.3.2-1.fc34.i686 conflicts with file from package libverto-0.3.1-3.fc34.x86_64
file /usr/share/doc/pango/NEWS from install of pango-1.48.4-1.fc34.i686 conflicts with file from package pango-1.48.3-1.fc34.x86_64
file /usr/share/man/man1/pango-view.1.gz from install of pango-1.48.4-1.fc34.i686 conflicts with file from package pango-1.48.3-1.fc34.x86_64
User avatar
dimesio
Moderator
Moderator
Posts: 13200
Joined: Tue Mar 25, 2008 10:30 pm

Re: can't install winnehq-stable on fedora 34

Post by dimesio »

We don't have any Fedora 34 packages yet; it wasn't released when the 6.7 packages were built. There should be ones for the next Wine development/staging release, but note that we won't have any packages for the stable branch until 6.0.1 comes out.

As for using packages built for a different version of Fedora, you can try, but it's not supported.
sujiniku
Newbie
Newbie
Posts: 2
Joined: Sat May 01, 2021 4:29 pm

Re: can't install winnehq-stable on fedora 34

Post by sujiniku »

I tried winehq-devel and winehq-staging with dnf install on Fedora 34 at time 2021/05/03 (May 03, 2021),
but both failed similary because of conflict of i686 and x86_64 .
User avatar
dimesio
Moderator
Moderator
Posts: 13200
Joined: Tue Mar 25, 2008 10:30 pm

Re: can't install winnehq-stable on fedora 34

Post by dimesio »

I repeat: there are no WineHQ packages for Fedora 34 and there won't be any until 6.8 comes out. We don't even have a repository for Fedora 34 set up yet.

As for the conflict dnf is reporting, those packages have nothing to do with Wine. Ask for help on the Fedora forum.
tcanuto
Newbie
Newbie
Posts: 3
Joined: Mon Jul 11, 2016 5:04 pm

Re: can't install winnehq-stable on fedora 34

Post by tcanuto »

Added repository:

Add the repository:

Fedora 34:

dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/34/winehq.repo

https://wiki.winehq.org/Fedora
User avatar
dimesio
Moderator
Moderator
Posts: 13200
Joined: Tue Mar 25, 2008 10:30 pm

Re: can't install winnehq-stable on fedora 34

Post by dimesio »

Repeating what I said above:
note that we won't have any packages for the stable branch until 6.0.1 comes out.
CoconutGirl
Newbie
Newbie
Posts: 1
Joined: Tue Jun 15, 2021 3:39 pm

Re: can't install winnehq-stable on fedora 34

Post by CoconutGirl »

Hello, I am new to Fedora and have been having issues with installing wine. I read through here and see the 6.0.1 is out and I am still unable to install following the command prompts.

[coconutgirl@user~]$ https://dl.winehq.org/wine-builds/fedora/34/winehq.repo
bash: https://dl.winehq.org/wine-builds/fedora/34/winehq.repo: No such file or directory
[coconutgirl@user ~]$ dnf install winehq-stable
Error: This command has to be run with superuser privileges (under the root user on most systems).

Can you please help or is this a Fedora issue?
User avatar
dimesio
Moderator
Moderator
Posts: 13200
Joined: Tue Mar 25, 2008 10:30 pm

Re: can't install winnehq-stable on fedora 34

Post by dimesio »

CoconutGirl wrote: Tue Jun 15, 2021 4:13 pm Hello, I am new to Fedora and have been having issues with installing wine. I read through here and see the 6.0.1 is out and I am still unable to install following the command prompts.

[coconutgirl@user~]$ https://dl.winehq.org/wine-builds/fedora/34/winehq.repo
bash: https://dl.winehq.org/wine-builds/fedora/34/winehq.repo: No such file or directory
[coconutgirl@user ~]$ dnf install winehq-stable
Error: This command has to be run with superuser privileges (under the root user on most systems).

Can you please help or is this a Fedora issue?
It's an inexperienced user who didn't bother to read what was on the screen in front of them issue. First, you need to actually add the repository. Follow the instructions in https://wiki.winehq.org/Fedora. Second, as the terminal output clearly states, you need to run dnf with superuser privileges. If you don't understand what that means, I suggest you read whatever documentation Fedora provides for new users or ask for help on the Fedora forum. This is not a general Linux-for-newbies forum; basic knowledge of how to use your distro, including its package manager, is assumed here.
mbn12
Newbie
Newbie
Posts: 2
Joined: Wed Sep 29, 2021 2:54 pm

Re: can't install winnehq-stable on fedora 34

Post by mbn12 »

Hello @dimesio,

I saw your reply that no packages are available for Fedora 34, but didn't quite understand it (as simple as it may sound lol)



- The previous answer still apply for today? Or maybe know the packages are available and I am doing some other mistake.

- Since there is a "wine" and "wine-core" in the standard Fedora + rpmfusion repo, that isn't supposed to be installable? (regardless of the package specific version -- at least the 'dnf install wine' work?)

- I added the winehq repo, updated, etc... but still couldn't figure out how to install all the dependencies.

- Apparently I am missing some 32 bits libraries? that are preventing the i686 dependencies?

- I did install wine-core successfully (x86_64), but the package still misses wine-core.i686

- apparently 'wine' is missing 'wine-core.i686' that is missing libgphoto2 and others i686. The path would be to manually install these one by one?

- and ultimately: am I missing something stupid? As of today is there a version that I could automatically install in one command (with bundled dependencies) in Fedora 34?
(regardless of the version, since I see multiple rpms in https://dl.winehq.org/wine-builds/fedora/34/x86_64/ )

Thanks


```
$ sudo dnf install winehq-stable
Last metadata expiration check: 0:13:31 ago on qua 29 set 2021 16:52:01.
Error:
Problem: conflicting requests
- package winehq-stable-1:6.0.1-7.1.i686 requires wine-stable = 1:6.0.1-7.1, but none of the providers can be installed
- package winehq-stable-1:6.0.1-7.1.x86_64 requires wine-stable64 = 1:6.0.1-7.1, but none of the providers can be installed
- package wine-stable-1:6.0.1-7.1.i686 requires wine-stable-common = 1:6.0.1-7.1, but none of the providers can be installed
- package wine-stable64-1:6.0.1-7.1.x86_64 requires wine-stable-common = 1:6.0.1-7.1, but none of the providers can be installed
- package wine-stable-common-1:6.0.1-7.1.i686 requires libgphoto2.so.6, but none of the providers can be installed
- package wine-stable-common-1:6.0.1-7.1.i686 requires libgphoto2_port.so.12, but none of the providers can be installed
- package wine-stable-common-1:6.0.1-7.1.i686 requires libgphoto2_port.so.12(LIBGPHOTO2_5_0), but none of the providers can be installed
- package libgphoto2-2.5.27-1.fc34.i686 requires libcurl.so.4, but none of the providers can be installed
- package libcurl-7.76.0-1.fc34.i686 requires libnghttp2.so.14, but none of the providers can be installed
- package libcurl-minimal-7.76.0-1.fc34.i686 requires libnghttp2.so.14, but none of the providers can be installed
- package libcurl-7.76.1-12.fc34.i686 requires libnghttp2.so.14, but none of the providers can be installed
- package libcurl-minimal-7.76.1-12.fc34.i686 requires libnghttp2.so.14, but none of the providers can be installed
- package libnghttp2-1.43.0-2.fc34.i686 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages)



$ sudo dnf install wine
sudo dnf install wine
Last metadata expiration check: 0:14:06 ago on qua 29 set 2021 16:52:01.
Error:
Problem: conflicting requests
- package wine-6.3-1.fc34.i686 requires wine-core(x86-32) = 6.3-1.fc34, but none of the providers can be installed
- package wine-6.3-1.fc34.x86_64 requires wine-core(x86-32) = 6.3-1.fc34, but none of the providers can be installed
- package wine-6.16-1.fc34.i686 requires wine-core(x86-32) = 6.16-1.fc34, but none of the providers can be installed
- package wine-6.16-1.fc34.x86_64 requires wine-core(x86-32) = 6.16-1.fc34, but none of the providers can be installed
- package wine-core-6.3-1.fc34.i686 requires libgphoto2.so.6, but none of the providers can be installed
- package wine-core-6.3-1.fc34.i686 requires libgphoto2_port.so.12, but none of the providers can be installed
- package wine-core-6.3-1.fc34.i686 requires libgphoto2_port.so.12(LIBGPHOTO2_5_0), but none of the providers can be installed
- package wine-core-6.16-1.fc34.i686 requires libgphoto2.so.6, but none of the providers can be installed
- package wine-core-6.16-1.fc34.i686 requires libgphoto2_port.so.12, but none of the providers can be installed
- package wine-core-6.16-1.fc34.i686 requires libgphoto2_port.so.12(LIBGPHOTO2_5_0), but none of the providers can be installed
- package libgphoto2-2.5.27-1.fc34.i686 requires libcurl.so.4, but none of the providers can be installed
- package libcurl-7.76.0-1.fc34.i686 requires libnghttp2.so.14, but none of the providers can be installed
- package libcurl-minimal-7.76.0-1.fc34.i686 requires libnghttp2.so.14, but none of the providers can be installed
- package libcurl-7.76.1-12.fc34.i686 requires libnghttp2.so.14, but none of the providers can be installed
- package libcurl-minimal-7.76.1-12.fc34.i686 requires libnghttp2.so.14, but none of the providers can be installed
- package libnghttp2-1.43.0-2.fc34.i686 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages)


similar for winehq-devel
```


As I understood this step is only required if building wine from source:
https://wiki.winehq.org/Fedora

PKG_CONFIG_PATH=/usr/lib/pkgconfig CC="ccache gcc -m32" ./configure
make

In any case I also tried to install the build dependencies, but many of them were not found, so building from source was not feasible.
User avatar
dimesio
Moderator
Moderator
Posts: 13200
Joined: Tue Mar 25, 2008 10:30 pm

Re: can't install winnehq-stable on fedora 34

Post by dimesio »

WineHQ packages are available for Fedora 34, including wine-stable 6.0.1.

You need to figure out what's blocking the install of i686 libgphoto2, libcurl, and linghttp2, and install them.

Code: Select all

- package libnghttp2-1.43.0-2.fc34.i686 is filtered out by modular filtering
I have no idea what "modular filtering" is, but it looks like this is what's blocking the others. Ask on the Fedora forum what to do.
mbn12
Newbie
Newbie
Posts: 2
Joined: Wed Sep 29, 2021 2:54 pm

Re: can't install winnehq-stable on fedora 34

Post by mbn12 »

For further reference, if anyone faces the similar issue:

TL; DR; manually install 1.43.0 i686
sudo dnf install https://download-ib01.fedoraproject.org ... 4.i686.rpm

and attempt again sudo dnf install winehq-staging (having added winehq repo).

**Apparently** the package libnghttp2 gets updated to a 1.44.xxx version... from a official repository (Repository : @System From repo : updates-modular),
and this version does not have the 32bit counterpart. So wine fails to install.

- Package version in live cd and after a fresh install: libnghttp2 1.43.0 x86_64
listing shows i686 as availabe (sudo dnf info libnghttp2 --showduplicates)

but in an up to date system only x64 versions appear as candidates for the 1.44.

Don't know exactly what triggered this (it's a fairly default machine, formated 2 weeks ago); maybe it's even the regular default update process, because the "Fedora Modular - Updates" repo comes actived by default.

Cheers
Locked