Bug 1761265 - cannot install both qt5-qtbase-5.12.5-1.fc30.x86_64 and qt5-qtbase-5.12.4-4.fc30.x86_64
Summary: cannot install both qt5-qtbase-5.12.5-1.fc30.x86_64 and qt5-qtbase-5.12.4-4.f...
Keywords:
Status: CLOSED DUPLICATE of bug 1761130
Alias: None
Product: Fedora
Classification: Fedora
Component: calibre
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-13 21:15 UTC by morgan read
Modified: 2020-12-15 03:18 UTC (History)
14 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-10-15 19:36:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description morgan read 2019-10-13 21:15:19 UTC
Description of problem:
dnf update fails with:
Problem 1: cannot install both qt5-qtbase-5.12.5-1.fc30.x86_64 and qt5-qtbase-5.12.4-4.fc30.x86_64...

Version-Release number of selected component (if applicable):
$ dnf --version
4.2.11
  Installed: dnf-0:4.2.11-2.fc30.noarch at Sun 13 Oct 2019 15:18:10 GMT
  Built    : Fedora Project at Tue 01 Oct 2019 14:12:41 GMT

  Installed: rpm-0:4.14.2.1-5.fc30.x86_64 at Sun 01 Sep 2019 21:02:06 GMT
  Built    : Fedora Project at Thu 29 Aug 2019 10:46:16 GMT

How reproducible:
Always

Steps to Reproduce:
1. sudo dnf update
2.
3.

Actual results:
fails

Expected results:
success

Additional info:

Comment 1 Jaroslav Mracek 2019-10-14 11:41:50 UTC
Please could you provide version of dnf, libdnf, libsolv?

Please could you provide full output of failing command?

Please could you provide debugsolverdata? Just add --debugsolver option to failing command. It will created new directory with required data.

Comment 2 morgan read 2019-10-15 14:22:48 UTC
$ sudo dnf --exclude=thunderbird --debugsolver -v update
[sudo] password for readlegal: 
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
DNF version: 4.2.11
cachedir: /var/cache/dnf
Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/fedora-updates-modular.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/fedora-updates-modular.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Unknown configuration value: failovermethod=priority in /etc/yum.repos.d/fedora-updates-modular.repo; Configuration: OptionBinding with id "failovermethod" does not exist
repo: using cache for: fedora-cisco-openh264
fedora-cisco-openh264: using metadata from Tue 17 Sep 2019 19:20:17 BST.
repo: using cache for: fedora-modular
fedora-modular: using metadata from Fri 26 Apr 2019 00:47:30 BST.
repo: using cache for: fedora-spotify
fedora-spotify: using metadata from Mon 30 Sep 2019 05:59:23 BST.
repo: using cache for: updates-modular
updates-modular: using metadata from Sat 12 Oct 2019 02:56:21 BST.
repo: using cache for: updates
updates: using metadata from Mon 14 Oct 2019 17:32:51 BST.
repo: using cache for: fedora
fedora: using metadata from Fri 26 Apr 2019 00:49:41 BST.
repo: using cache for: google-chrome
google-chrome: using metadata from Fri 11 Oct 2019 19:21:13 BST.
repo: using cache for: google-talkplugin
google-talkplugin: using metadata from Mon 14 Dec 2015 20:18:18 GMT.
repo: using cache for: rpmfusion-free-tainted
rpmfusion-free-tainted: using metadata from Mon 02 Sep 2019 14:20:50 BST.
repo: using cache for: rpmfusion-free-updates
rpmfusion-free-updates: using metadata from Tue 15 Oct 2019 00:38:05 BST.
repo: using cache for: rpmfusion-free
rpmfusion-free: using metadata from Tue 16 Apr 2019 21:46:20 BST.
repo: using cache for: rpmfusion-nonfree-tainted
rpmfusion-nonfree-tainted: using metadata from Mon 02 Sep 2019 14:21:07 BST.
repo: using cache for: rpmfusion-nonfree-updates
rpmfusion-nonfree-updates: using metadata from Tue 15 Oct 2019 01:09:50 BST.
repo: using cache for: rpmfusion-nonfree
rpmfusion-nonfree: using metadata from Tue 16 Apr 2019 22:53:39 BST.
repo: using cache for: virtio-win-stable
virtio-win-stable: using metadata from Wed 04 Sep 2019 21:05:37 BST.
Last metadata expiration check: 0:01:03 ago on Tue 15 Oct 2019 15:01:12 BST.
Completion plugin: Generating completion cache...
Excludes in dnf.conf: kernel-5.1.20-300, kernel-core-5.1.20-300, kernel-modules-5.1.20-300, kernel-modules-extra-5.1.20-300, thunderbird
--> Starting dependency resolution
--> Finished dependency resolution
Dependencies resolved.

 Problem 1: cannot install both qt5-qtbase-5.12.5-1.fc30.x86_64 and qt5-qtbase-5.12.4-4.fc30.x86_64
  - package calibre-3.36.0-8.fc30.x86_64 requires libQt5Core.so.5(Qt_5.12.4_PRIVATE_API)(64bit), but none of the providers can be installed
  - package calibre-3.36.0-8.fc30.x86_64 requires qt5-qtbase(x86-64) = 5.12.4, but none of the providers can be installed
  - cannot install the best update candidate for package qt5-qtbase-5.12.4-4.fc30.x86_64
  - cannot install the best update candidate for package calibre-3.36.0-8.fc30.x86_64
 Problem 2: problem with installed package calibre-3.36.0-8.fc30.x86_64
  - package calibre-3.36.0-8.fc30.x86_64 requires libQt5Gui.so.5(Qt_5.12.4_PRIVATE_API)(64bit), but none of the providers can be installed
  - cannot install both qt5-qtbase-gui-5.12.5-1.fc30.x86_64 and qt5-qtbase-gui-5.12.4-4.fc30.x86_64
  - cannot install the best update candidate for package qt5-qtbase-gui-5.12.4-4.fc30.x86_64
====================================================================================================================================
 Package                            Architecture               Version                            Repository                   Size
====================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 qt5-qtbase                         x86_64                     5.12.5-1.fc30                      updates                     3.5 M
 qt5-qtbase-gui                     x86_64                     5.12.5-1.fc30                      updates                     6.0 M

Transaction Summary
====================================================================================================================================
Skip  2 Packages

Nothing to do.
Complete!


$ dnf --version
4.2.11
  Installed: dnf-0:4.2.11-2.fc30.noarch at Sun 13 Oct 2019 15:18:10 GMT
  Built    : Fedora Project at Tue 01 Oct 2019 14:12:41 GMT

  Installed: rpm-0:4.14.2.1-5.fc30.x86_64 at Sun 01 Sep 2019 21:02:06 GMT
  Built    : Fedora Project at Thu 29 Aug 2019 10:46:16 GMT


$ sudo dnf list libdnf
Last metadata expiration check: 0:09:09 ago on Tue 15 Oct 2019 15:01:12 BST.
Installed Packages
libdnf.x86_64                                                 0.35.5-2.fc30                                                 @updates
Available Packages
libdnf.i686                                                   0.35.5-2.fc30                                                 updates 


$ sudo dnf list libsolv
Last metadata expiration check: 0:10:35 ago on Tue 15 Oct 2019 15:01:12 BST.
Installed Packages
libsolv.x86_64                                                 0.7.5-1.fc30                                                 @updates
Available Packages
libsolv.i686                                                   0.7.5-1.fc30                                                 updates 


Output from --debugsolver option is here:
https://dc508d3ddb29fe64a6e3-b2f6bb7bad33653277e5add27c8499c6.ssl.cf3.rackcdn.com/debugdata.zip

Comment 3 Jaroslav Mracek 2019-10-15 18:36:08 UTC
Thanks a lot for output. The issue is between calibre-3.36.0-8.fc30.x86_64 and qt5-qtbase-0:5.12.5-1.fc30.x86_64 therefore callibre is not install-able. See bellow.
The problem could be secolve by rebuild of calibre. Changing component.

sudo dnf install calibre-3.36.0-8.fc30.x86_64 --installroot /tmp/gggg --releasever 30 --nogpgcheck
Last metadata expiration check: 0:03:36 ago on Tue 15 Oct 2019 08:27:18 PM CEST.
Error: 
 Problem: conflicting requests
  - nothing provides libQt5Core.so.5(Qt_5.12.4_PRIVATE_API)(64bit) needed by calibre-3.36.0-8.fc30.x86_64
  - nothing provides libQt5Gui.so.5(Qt_5.12.4_PRIVATE_API)(64bit) needed by calibre-3.36.0-8.fc30.x86_64
  - nothing provides qt5-qtbase(x86-64) = 5.12.4 needed by calibre-3.36.0-8.fc30.x86_64

Comment 4 Kevin Fenzi 2019-10-15 19:36:53 UTC
Please test the version in updates-testing. :)

*** This bug has been marked as a duplicate of bug 1761130 ***

Comment 5 Chong Eu Meng 2020-12-08 17:21:40 UTC
It seems that I have a similar issues on this package in Fedora 33 too! So, may I know what is the best approach to deal with this?

[root@localhost emchong95]# dnf upgrade  
Fedora 33 openh264 (From Cisco) - x86_64                                                                                    1.2 kB/s | 2.5 kB     00:02    
Fedora Modular 33 - x86_64                                                                                                  6.7 MB/s | 3.3 MB     00:00    
Fedora Modular 33 - x86_64 - Updates                                                                                        5.6 MB/s | 2.9 MB     00:00    
Fedora 33 - x86_64 - Updates                                                                                                1.5 MB/s |  17 MB     00:11    
Fedora 33 - x86_64                                                                                                           12 MB/s |  72 MB     00:05    
RPM Fusion for Fedora 33 - Free - Updates                                                                                   153 kB/s | 312 kB     00:02    
RPM Fusion for Fedora 33 - Free                                                                                             284 kB/s | 897 kB     00:03    
RPM Fusion for Fedora 33 - Nonfree - Updates                                                                                 16 kB/s |  71 kB     00:04    
RPM Fusion for Fedora 33 - Nonfree                                                                                          126 kB/s | 278 kB     00:02    
Visual Studio Code                                                                                                           11 MB/s | 8.6 MB     00:00    
Dependencies resolved.

 Problem 1: package qt5-qtwebengine-freeworld-5.15.1-1.fc33.x86_64 requires qt5-qtbase(x86-64) = 5.15.1, but none of the providers can be installed
  - cannot install both qt5-qtbase-5.15.2-2.fc33.x86_64 and qt5-qtbase-5.15.1-5.fc33.x86_64
  - cannot install both qt5-qtbase-5.15.1-5.fc33.x86_64 and qt5-qtbase-5.15.2-2.fc33.x86_64
  - cannot install the best update candidate for package qt5-qtwebengine-freeworld-5.15.1-1.fc33.x86_64
  - cannot install the best update candidate for package qt5-qtbase-5.15.1-5.fc33.x86_64
 Problem 2: problem with installed package qt5-qtwebengine-freeworld-5.15.1-1.fc33.x86_64
  - package qt5-qtwebengine-freeworld-5.15.1-1.fc33.x86_64 requires libQt5Gui.so.5(Qt_5.15.1_PRIVATE_API)(64bit), but none of the providers can be installed
  - cannot install both qt5-qtbase-gui-5.15.2-2.fc33.x86_64 and qt5-qtbase-gui-5.15.1-5.fc33.x86_64
  - cannot install both qt5-qtbase-gui-5.15.1-5.fc33.x86_64 and qt5-qtbase-gui-5.15.2-2.fc33.x86_64
  - cannot install the best update candidate for package qt5-qtbase-gui-5.15.1-5.fc33.x86_64
============================================================================================================================================================
 Package                                  Architecture                     Version                                  Repository                         Size
============================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 qt5-qtbase                               x86_64                           5.15.2-2.fc33                            updates                           3.4 M
 qt5-qtbase-gui                           x86_64                           5.15.2-2.fc33                            updates                           6.0 M

Transaction Summary
============================================================================================================================================================
Skip  2 Packages

Nothing to do.
Complete!

Comment 6 Kevin Fenzi 2020-12-15 03:18:49 UTC
This has nothing to do with this closed, duplicate bug. ;) 

Looks like qt5-qtwebengine-freeworld (from rpmfusion?) wasn't built against the latest qt5 in fedora. You could try removing it and upgrade and then install it. 

I'd suggest asking over https://ask.fedoraproject.org for further help.


Note You need to log in before you can comment on or make changes to this bug.