I’m trying to install wine, but dnf returns dependency errors. I was looking on the Internet for simmilar problems, but have found almost simmilar only for debian/ubuntu and i don’t actually consider they have the same cause. I’m pretty new in linux, any idea why it doesnt work?
The winehq-stable package that you are trying to install is not from the Fedora repositories. I think you’ll have to contact the winehq folks (or whoever is providing this repo) to inform them of the issue.
What does the winehq package provide, by the way? wine is in the Fedora repos so you can just install that perhaps?
$ sudo dnf info wine
Last metadata expiration check: 3:25:33 ago on Thu 19 Aug 2021 09:49:20 BST.
Available Packages
Name : wine
Version : 6.13
Release : 1.fc34
Architecture : i686
Size : 12 k
Source : wine-6.13-1.fc34.src.rpm
Repository : updates
Summary : A compatibility layer for windows applications
URL : https://www.winehq.org/
License : LGPLv2+
Description : Wine as a compatibility layer for UNIX to run Windows applications. This
: package includes a program loader, which allows unmodified Windows
: 3.x/9x/NT binaries to run on x86 and x86_64 Unixes. Wine can use native system
: .dll files if they are available.
:
: In Fedora wine is a meta-package which will install everything needed for wine
: to work smoothly. Smaller setups can be achieved by installing some of the
: wine-* sub packages.
Name : wine
Version : 6.13
Release : 1.fc34
Architecture : x86_64
Size : 12 k
Source : wine-6.13-1.fc34.src.rpm
Repository : updates
Summary : A compatibility layer for windows applications
URL : https://www.winehq.org/
License : LGPLv2+
Description : Wine as a compatibility layer for UNIX to run Windows applications. This
: package includes a program loader, which allows unmodified Windows
: 3.x/9x/NT binaries to run on x86 and x86_64 Unixes. Wine can use native system
: .dll files if they are available.
:
: In Fedora wine is a meta-package which will install everything needed for wine
: to work smoothly. Smaller setups can be achieved by installing some of the
: wine-* sub packages.
``
PS: could you please paste text instead of uploading screenshots? We can’t search text in screenshots, which makes them less useful than textual output.
OK, that’s good. You have the nodejs:16 module:stream enabled. This seems to provide a dfiferent version of libnghttp2 which is conflicting with the version required by wine and its dependencies (1.44 vs 1.43):
sudo dnf module info nodejs:16
[sudo] password for asinha:
Last metadata expiration check: 1:58:10 ago on Thu 19 Aug 2021 13:26:05 BST.
Name : nodejs
Stream : 16
Version : 3420210720201015
Context : 058368ca
Architecture : x86_64
Profiles : default, development, minimal
Default profiles :
Repo : updates-modular
Summary : Javascript runtime
Description : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
Requires : platform:[f34]
Artifacts : c-ares-0:1.17.1-2.module_f34+11949+60d8928d.src
: c-ares-0:1.17.1-2.module_f34+11949+60d8928d.x86_64
: c-ares-debuginfo-0:1.17.1-2.module_f34+11949+60d8928d.x86_64
: c-ares-debugsource-0:1.17.1-2.module_f34+11949+60d8928d.x86_64
: c-ares-devel-0:1.17.1-2.module_f34+11949+60d8928d.x86_64
: libnghttp2-0:1.44.0-1.module_f34+12433+f439d347.x86_64
: libnghttp2-debuginfo-0:1.44.0-1.module_f34+12433+f439d347.x86_64
: libnghttp2-devel-0:1.44.0-1.module_f34+12433+f439d347.x86_64
: libuv-1:1.41.1-1.module_f34+12368+a77b0636.src
: libuv-1:1.41.1-1.module_f34+12368+a77b0636.x86_64
: libuv-debuginfo-1:1.41.1-1.module_f34+12368+a77b0636.x86_64
: libuv-debugsource-1:1.41.1-1.module_f34+12368+a77b0636.x86_64
: libuv-devel-1:1.41.1-1.module_f34+12368+a77b0636.x86_64
: libuv-static-1:1.41.1-1.module_f34+12368+a77b0636.x86_64
: nghttp2-0:1.44.0-1.module_f34+12433+f439d347.src
: nghttp2-0:1.44.0-1.module_f34+12433+f439d347.x86_64
: nghttp2-debuginfo-0:1.44.0-1.module_f34+12433+f439d347.x86_64
: nghttp2-debugsource-0:1.44.0-1.module_f34+12433+f439d347.x86_64
: nodejs-1:16.5.0-1.module_f34+12433+f439d347.src
: nodejs-1:16.5.0-1.module_f34+12433+f439d347.x86_64
: nodejs-debuginfo-1:16.5.0-1.module_f34+12433+f439d347.x86_64
: nodejs-debugsource-1:16.5.0-1.module_f34+12433+f439d347.x86_64
: nodejs-devel-1:16.5.0-1.module_f34+12433+f439d347.x86_64
: nodejs-docs-1:16.5.0-1.module_f34+12433+f439d347.noarch
: nodejs-full-i18n-1:16.5.0-1.module_f34+12433+f439d347.x86_64
: nodejs-libs-1:16.5.0-1.module_f34+12433+f439d347.x86_64
: nodejs-libs-debuginfo-1:16.5.0-1.module_f34+12433+f439d347.x86_64
: nodejs-packaging-0:2021.06-2.module_f34+12261+1ada1fcd.noarch
: nodejs-packaging-0:2021.06-2.module_f34+12261+1ada1fcd.src
: nodejs-packaging-bundler-0:2021.06-2.module_f34+12261+1ada1fcd.noarch
: npm-1:7.19.1-1.16.5.0.1.module_f34+12433+f439d347.x86_64
: v8-devel-2:9.1.269.38-1.16.5.0.1.module_f34+12433+f439d347.x86_64
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive
So the solution here is to uninstall this module
This is part of the design of modules—they allow parallel availability of different software packages, but not parallel installability
That works! Thank you. But is there any possibility to enable them both?
[hrkcz001@fedora ~]$ LANG=C sudo dnf module disable nodejs
Last metadata expiration check: 1:28:12 ago on Thu Aug 19 15:04:05 2021.
Dependencies resolved.
==============================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================
Disabling modules:
nodejs
Transaction Summary
==============================================================================================================================================================
Is this ok [y/N]: y
Complete!
[hrkcz001@fedora ~]$ LANG=C sudo dnf install wine
Last metadata expiration check: 1:28:23 ago on Thu Aug 19 15:04:05 2021.
Dependencies resolved.
...
Transaction Summary
==============================================================================================================================================================
Install 207 Packages
Downgrade 1 Package
Total download size: 545 M
Is this ok [y/N]: n
Operation aborted.