Bug 2089518

Summary: RPM keepassxc-2.7.1-3.el8.x86_64 is stuck with an expired dependency
Product: [Fedora] Fedora EPEL Reporter: nomad
Component: keepassxcAssignee: Mukundan Ragavan <nonamedotc>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel8CC: germano.massullo, nonamedotc
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: keepassxc-2.7.1-5.el8 keepassxc-2.7.1-6.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-10 01:44:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description nomad 2022-05-23 21:29:11 UTC
Description of problem:
keepassxc wants an old version of qt5-qtbase

Version-Release number of selected component (if applicable):
keepassxc-2.7.1-3.el8.x86_64

How reproducible:
Every time.

Steps to Reproduce:
1. install keepassxc RPM
2. sudo dnf update
3.

Actual results:
 ; sudo dnf update
No read/execute access in current directory, moving to /
Last metadata expiration check: 0:07:26 ago on Mon 23 May 2022 02:10:35 PM PDT.
Error: 
 Problem 1: package keepassxc-2.7.1-3.el8.x86_64 requires qt5-qtbase(x86-64) = 5.15.2, but none of the providers can be installed
  - cannot install both qt5-qtbase-5.15.3-1.el8.x86_64 and qt5-qtbase-5.15.2-4.el8.x86_64
  - cannot install both qt5-qtbase-5.15.3-1.el8.x86_64 and qt5-qtbase-5.15.2-2.el8.x86_64
  - cannot install both qt5-qtbase-5.15.3-1.el8.x86_64 and qt5-qtbase-5.15.2-3.el8.x86_64
  - cannot install the best update candidate for package qt5-qtbase-5.15.2-4.el8.x86_64
  - cannot install the best update candidate for package keepassxc-2.7.1-3.el8.x86_64
 Problem 2: problem with installed package keepassxc-2.7.1-3.el8.x86_64
  - package keepassxc-2.7.1-3.el8.x86_64 requires qt5-qtbase(x86-64) = 5.15.2, but none of the providers can be installed
  - package qt5-qtbase-5.15.2-4.el8.x86_64 requires qt5-qtbase-common = 5.15.2-4.el8, but none of the providers can be installed
  - package qt5-qtbase-5.15.2-2.el8.x86_64 requires qt5-qtbase-common = 5.15.2-2.el8, but none of the providers can be installed
  - package qt5-qtbase-5.15.2-3.el8.x86_64 requires qt5-qtbase-common = 5.15.2-3.el8, but none of the providers can be installed
  - cannot install both qt5-qtbase-common-5.15.3-1.el8.noarch and qt5-qtbase-common-5.15.2-4.el8.noarch
  - cannot install both qt5-qtbase-common-5.15.3-1.el8.noarch and qt5-qtbase-common-5.15.2-2.el8.noarch
  - cannot install both qt5-qtbase-common-5.15.3-1.el8.noarch and qt5-qtbase-common-5.15.2-3.el8.noarch
  - cannot install the best update candidate for package qt5-qtbase-common-5.15.2-4.el8.noarch
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


Expected results:
Installed RPMs are updated to latest version available.

Additional info:
When I remove keepassxc (sudo dnf erase keepassxc -y) then dnf upgrade works and  qt5-qtbase and related RPMs are updated. I first noticed this a few weeks ago but waited a while to report it in case it was mid-upgrade.

Comment 1 Germano Massullo (Thetra) 2022-05-23 23:20:08 UTC
Hello, Mukundan can you please push a rebuild in rawhide and merge in epel8 and build for epel8 too?
On this computer I have not credentials

fedpkg clone keepassxc
git checkout rawhide
rpmdev-bumpspec keepassxc.spec
git add keepassxc.spec
git commit -m "rebuild"
git push
git checkout epel8 && git merge -X theirs rawhide && git push && fedpkg build --nowait

Thank you

Comment 2 Mukundan Ragavan 2022-05-24 12:25:10 UTC
yes, I will do it tonight.

Comment 3 Fedora Update System 2022-05-25 12:30:05 UTC
FEDORA-EPEL-2022-9c60122178 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-9c60122178

Comment 4 Mukundan Ragavan 2022-05-25 12:30:57 UTC
Hi Germano,
Submitted an update. Let me know if something needs taking care of. Thanks.

Comment 5 Germano Massullo (Thetra) 2022-05-25 12:43:32 UTC
Thank you Mukundan.

Comment 6 Fedora Update System 2022-05-26 03:05:29 UTC
FEDORA-EPEL-2022-9c60122178 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-9c60122178

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-06-01 03:11:43 UTC
FEDORA-EPEL-2022-9c60122178 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 nomad 2022-06-01 15:30:25 UTC
I just tried installing the new RPM. It still wants to downgrade a bunch of packages.

 ; sudo dnf install keepassxc
Last metadata expiration check: 0:00:53 ago on Wed 01 Jun 2022 08:27:17 AM PDT.
Dependencies resolved.
================================================================================
 Package                     Arch     Version           Repository         Size
================================================================================
Installing:
 keepassxc                   x86_64   2.7.1-5.el8       EPELpkgs          6.4 M
Installing dependencies:
 botan2                      x86_64   2.12.1-4.el8      EPELpkgs          2.1 M
 libargon2                   x86_64   20171227-3.el8    EPELpkgs           29 k
 pcsc-lite-libs              x86_64   1.9.5-1.el8       local_baseos       43 k
 qrencode-libs               x86_64   3.4.4-5.el8       local_appstream    59 k
Downgrading:
 qgnomeplatform              x86_64   0.7.1-3.el8       local_appstream   192 k
 qt5-qtbase                  x86_64   5.15.2-4.el8      local_appstream   3.6 M
 qt5-qtbase-common           noarch   5.15.2-4.el8      local_appstream    41 k
 qt5-qtbase-devel            x86_64   5.15.2-4.el8      local_appstream   3.4 M
 qt5-qtbase-gui              x86_64   5.15.2-4.el8      local_appstream   6.1 M
 qt5-qtdeclarative           x86_64   5.15.2-2.el8      local_appstream   4.2 M
 qt5-qtdeclarative-devel     x86_64   5.15.2-2.el8      local_appstream   1.4 M
 qt5-qtmultimedia            x86_64   5.15.2-2.el8      local_appstream   883 k
 qt5-qtmultimedia-devel      x86_64   5.15.2-2.el8      local_appstream   121 k
 qt5-qtsvg                   x86_64   5.15.2-4.el8      local_appstream   185 k
 qt5-qttools-common          noarch   5.15.2-4.el8      local_appstream    21 k
 qt5-qttools-libs-designer   x86_64   5.15.2-4.el8      local_appstream   2.8 M
 qt5-qttools-libs-help       x86_64   5.15.2-4.el8      local_appstream   194 k
 qt5-qtwayland               x86_64   5.15.2-3.el8      local_appstream   1.1 M
 qt5-qtx11extras             x86_64   5.15.2-2.el8      local_appstream    40 k
 qt5-qtxmlpatterns           x86_64   5.15.2-2.el8      local_appstream   1.1 M

Transaction Summary
================================================================================
Install     5 Packages
Downgrade  16 Packages

Comment 9 Fedora Update System 2022-06-01 17:21:47 UTC
FEDORA-EPEL-2022-2882bcae22 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-2882bcae22

Comment 10 Germano Massullo (Thetra) 2022-06-01 17:22:22 UTC
(In reply to Fedora Update System from comment #9)
> FEDORA-EPEL-2022-2882bcae22 has been submitted as an update to Fedora EPEL
> 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-2882bcae22

Please test it as soon as possible
Thank you

Comment 11 nomad 2022-06-01 17:28:58 UTC
Looks like 2.7.1-6 still has the same problem.

 ; sudo dnf localinstall /tmp/keepassxc-2.7.1-6.el8.x86_64.rpm 
Last metadata expiration check: 0:00:09 ago on Wed 01 Jun 2022 10:28:15 AM PDT.
Dependencies resolved.
================================================================================
 Package                     Arch     Version           Repository         Size
================================================================================
Installing:
 keepassxc                   x86_64   2.7.1-6.el8       @commandline      6.4 M
Installing dependencies:
 botan2                      x86_64   2.12.1-4.el8      EPELpkgs          2.1 M
 libargon2                   x86_64   20171227-3.el8    EPELpkgs           29 k
 pcsc-lite-libs              x86_64   1.9.5-1.el8       local_baseos       43 k
 qrencode-libs               x86_64   3.4.4-5.el8       local_appstream    59 k
Downgrading:
 qgnomeplatform              x86_64   0.7.1-3.el8       local_appstream   192 k
 qt5-qtbase                  x86_64   5.15.2-4.el8      local_appstream   3.6 M
 qt5-qtbase-common           noarch   5.15.2-4.el8      local_appstream    41 k
 qt5-qtbase-devel            x86_64   5.15.2-4.el8      local_appstream   3.4 M
 qt5-qtbase-gui              x86_64   5.15.2-4.el8      local_appstream   6.1 M
 qt5-qtdeclarative           x86_64   5.15.2-2.el8      local_appstream   4.2 M
 qt5-qtdeclarative-devel     x86_64   5.15.2-2.el8      local_appstream   1.4 M
 qt5-qtmultimedia            x86_64   5.15.2-2.el8      local_appstream   883 k
 qt5-qtmultimedia-devel      x86_64   5.15.2-2.el8      local_appstream   121 k
 qt5-qtsvg                   x86_64   5.15.2-4.el8      local_appstream   185 k
 qt5-qttools-common          noarch   5.15.2-4.el8      local_appstream    21 k
 qt5-qttools-libs-designer   x86_64   5.15.2-4.el8      local_appstream   2.8 M
 qt5-qttools-libs-help       x86_64   5.15.2-4.el8      local_appstream   194 k
 qt5-qtwayland               x86_64   5.15.2-3.el8      local_appstream   1.1 M
 qt5-qtx11extras             x86_64   5.15.2-2.el8      local_appstream    40 k
 qt5-qtxmlpatterns           x86_64   5.15.2-2.el8      local_appstream   1.1 M

Transaction Summary
================================================================================
Install     5 Packages
Downgrade  16 Packages

Total size: 34 M
Total download size: 28 M

Comment 12 Germano Massullo (Thetra) 2022-06-01 17:43:26 UTC
can you please show me the output of

# rpm -q qt5-qtbase
# dnf info qt5-qtbase
# dnf repolist

Comment 13 nomad 2022-06-01 18:43:29 UTC
 ; rpm -qa qt5-qtbase
qt5-qtbase-5.15.2-4.el8.x86_64

# This is most likely left over from when I tried to install keepassxc the last time:

 ; sudo dnf upgrade
No read/execute access in current directory, moving to /
Last metadata expiration check: 0:07:57 ago on Wed 01 Jun 2022 11:31:58 AM PDT.
Error: 
 Problem 1: package keepassxc-2.7.1-5.el8.x86_64 requires qt5-qtbase(x86-64) = 5.15.2, but none of the providers can be installed
  - cannot install both qt5-qtbase-5.15.3-1.el8.x86_64 and qt5-qtbase-5.15.2-4.el8.x86_64
  - cannot install both qt5-qtbase-5.15.3-1.el8.x86_64 and qt5-qtbase-5.15.2-2.el8.x86_64
  - cannot install both qt5-qtbase-5.15.3-1.el8.x86_64 and qt5-qtbase-5.15.2-3.el8.x86_64
  - cannot install the best update candidate for package qt5-qtbase-5.15.2-4.el8.x86_64
  - cannot install the best update candidate for package keepassxc-2.7.1-5.el8.x86_64
 Problem 2: problem with installed package keepassxc-2.7.1-5.el8.x86_64
  - package keepassxc-2.7.1-5.el8.x86_64 requires qt5-qtbase(x86-64) = 5.15.2, but none of the providers can be installed
  - cannot install both qt5-qtbase-5.15.3-1.el8.x86_64 and qt5-qtbase-5.15.2-4.el8.x86_64
  - cannot install both qt5-qtbase-5.15.3-1.el8.x86_64 and qt5-qtbase-5.15.2-2.el8.x86_64
  - cannot install both qt5-qtbase-5.15.3-1.el8.x86_64 and qt5-qtbase-5.15.2-3.el8.x86_64
  - package qgnomeplatform-0.7.1-3.0.1.el8.x86_64 requires qt5-qtbase(x86-64) = 5.15.3, but none of the providers can be installed
  - cannot install the best update candidate for package qgnomeplatform-0.7.1-3.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
 ; sudo dnf localupdate /tmp/keepassxc-2.7.1-6.el8.x86_64.rpm 
Last metadata expiration check: 0:10:14 ago on Wed 01 Jun 2022 11:31:58 AM PDT.
Dependencies resolved.
===================================================================================================================================================
 Package                           Architecture                   Version                               Repository                            Size
===================================================================================================================================================
Upgrading:
 keepassxc                         x86_64                         2.7.1-6.el8                           @commandline                         6.4 M

Transaction Summary
===================================================================================================================================================
Upgrade  1 Package

Total size: 6.4 M
Is this ok [y/N]: n
Operation aborted.

# looks like 2.7.1-6 is 'happy' with the curently installed old version of qt5-qtbase since it's willing to localupdate.

 ; dnf info qt5-qtbase
Last metadata expiration check: 0:00:20 ago on Wed 01 Jun 2022 11:36:00 AM PDT.
Installed Packages
Name         : qt5-qtbase
Version      : 5.15.2
Release      : 4.el8
Architecture : x86_64
Size         : 10 M
Source       : qt5-qtbase-5.15.2-4.el8.src.rpm
Repository   : @System
From repo    : appstream
Summary      : Qt5 - QtBase components
URL          : http://qt-project.org/
License      : LGPLv2 with exceptions or GPLv3 with exceptions
Description  : Qt is a software toolkit for developing applications.
             : 
             : This package contains base tools, like string, xml, and network
             : handling.

Available Packages
Name         : qt5-qtbase
Version      : 5.15.3
Release      : 1.el8
Architecture : x86_64
Size         : 3.6 M
Source       : qt5-qtbase-5.15.3-1.el8.src.rpm
Repository   : appstream
Summary      : Qt5 - QtBase components
URL          : http://qt-project.org/
License      : LGPLv2 with exceptions or GPLv3 with exceptions
Description  : Qt is a software toolkit for developing applications.
             : 
             : This package contains base tools, like string, xml, and network
             : handling.

Name         : qt5-qtbase
Version      : 5.15.3
Release      : 1.el8
Architecture : i686
Size         : 3.9 M
Source       : qt5-qtbase-5.15.3-1.el8.src.rpm
Repository   : appstream
Summary      : Qt5 - QtBase components
URL          : http://qt-project.org/
License      : LGPLv2 with exceptions or GPLv3 with exceptions
Description  : Qt is a software toolkit for developing applications.
             : 
             : This package contains base tools, like string, xml, and network
             : handling.


 ; dnf repolist
repo id                                              repo name
appstream                                            CentOS Stream 8 - AppStream
baseos                                               CentOS Stream 8 - BaseOS
epel                                                 Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                         Extra Packages for Enterprise Linux Modular 8 - x86_64
epel-next                                            Extra Packages for Enterprise Linux 8 - Next - x86_64
extras                                               CentOS Stream 8 - Extras
extras-common                                        CentOS Stream 8 - Extras common packages
powertools                                           CentOS Stream 8 - PowerTools
puppet7                                              Puppet 7 Repository el 8 - x86_64
slack                                                slack

Comment 14 Fedora Update System 2022-06-02 02:34:21 UTC
FEDORA-EPEL-2022-2882bcae22 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-2882bcae22

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 nomad 2022-06-06 17:01:57 UTC
The -6 build still wants to downgrade RPMs. Is there a new build I should be testing?

: || lvd@chscc-pc-004 tmp [1021] ; please dnf localinstall keepassxc-2.7.1-6.el8.x86_64.rpm 
Last metadata expiration check: 2:44:04 ago on Mon 06 Jun 2022 07:16:01 AM PDT.
Dependencies resolved.
================================================================================
 Package                     Arch     Version           Repository         Size
================================================================================
Installing:
 keepassxc                   x86_64   2.7.1-6.el8       @commandline      6.4 M
Installing dependencies:
 botan2                      x86_64   2.12.1-4.el8      EPELpkgs          2.1 M
 libargon2                   x86_64   20171227-3.el8    EPELpkgs           29 k
 pcsc-lite-libs              x86_64   1.9.5-1.el8       local_baseos       43 k
 qrencode-libs               x86_64   3.4.4-5.el8       local_appstream    59 k
Downgrading:
 qgnomeplatform              x86_64   0.7.1-3.el8       local_appstream   192 k
 qt5-qtbase                  x86_64   5.15.2-4.el8      local_appstream   3.6 M
 qt5-qtbase-common           noarch   5.15.2-4.el8      local_appstream    41 k
 qt5-qtbase-devel            x86_64   5.15.2-4.el8      local_appstream   3.4 M
 qt5-qtbase-gui              x86_64   5.15.2-4.el8      local_appstream   6.1 M
 qt5-qtdeclarative           x86_64   5.15.2-2.el8      local_appstream   4.2 M
 qt5-qtdeclarative-devel     x86_64   5.15.2-2.el8      local_appstream   1.4 M
 qt5-qtmultimedia            x86_64   5.15.2-2.el8      local_appstream   883 k
 qt5-qtmultimedia-devel      x86_64   5.15.2-2.el8      local_appstream   121 k
 qt5-qtsvg                   x86_64   5.15.2-4.el8      local_appstream   185 k
 qt5-qttools-common          noarch   5.15.2-4.el8      local_appstream    21 k
 qt5-qttools-libs-designer   x86_64   5.15.2-4.el8      local_appstream   2.8 M
 qt5-qttools-libs-help       x86_64   5.15.2-4.el8      local_appstream   194 k
 qt5-qtwayland               x86_64   5.15.2-3.el8      local_appstream   1.1 M
 qt5-qtx11extras             x86_64   5.15.2-2.el8      local_appstream    40 k
 qt5-qtxmlpatterns           x86_64   5.15.2-2.el8      local_appstream   1.1 M

Transaction Summary
================================================================================
Install     5 Packages
Downgrade  16 Packages

Total size: 34 M
Total download size: 28 M
Is this ok [y/N]: n
Operation aborted.

Comment 16 nomad 2022-06-06 18:54:09 UTC
I just tried another refresh and it appears something changed. Not sure what but it looks like it's DTRT now.

 ; sudo dnf update keepassxc --refresh
No read/execute access in current directory, moving to /
CentOS Stream 8 - AppStream                     7.0 kB/s | 4.4 kB     00:00    
CentOS Stream 8 - AppStream                      13 MB/s |  23 MB     00:01    
CentOS Stream 8 - BaseOS                        7.2 kB/s | 3.9 kB     00:00    
CentOS Stream 8 - Extras                        5.6 kB/s | 2.9 kB     00:00    
CentOS Stream 8 - Extras common packages        5.0 kB/s | 3.0 kB     00:00    
CentOS Stream 8 - PowerTools                    6.6 kB/s | 4.4 kB     00:00    
CentOS Stream 8 - PowerTools                    3.6 MB/s | 4.7 MB     00:01    
Extra Packages for Enterprise Linux 8 - x86_64   34 kB/s |  21 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 -  52 kB/s |  21 kB     00:00    
Extra Packages for Enterprise Linux 8 - Next -   66 kB/s |  22 kB     00:00    
Puppet 7 Repository el 8 - x86_64                17 kB/s | 2.5 kB     00:00    
slack                                           4.2 kB/s | 1.8 kB     00:00    
Dependencies resolved.
================================================================================
 Package                      Arch      Version              Repository    Size
================================================================================
Upgrading:
 keepassxc                    x86_64    2.7.1-6.el8.next     epel-next    6.4 M
 qgnomeplatform               x86_64    0.7.1-3.0.1.el8      appstream    192 k
 qt5-qtbase                   x86_64    5.15.3-1.el8         appstream    3.6 M
 qt5-qtbase-common            noarch    5.15.3-1.el8         appstream     41 k
 qt5-qtbase-gui               x86_64    5.15.3-1.el8         appstream    6.1 M
 qt5-qtdeclarative            x86_64    5.15.3-1.el8         appstream    4.2 M
 qt5-qtsvg                    x86_64    5.15.3-1.el8         appstream    185 k
 qt5-qttools-common           noarch    5.15.3-1.el8         appstream     22 k
 qt5-qttools-libs-designer    x86_64    5.15.3-1.el8         appstream    2.8 M
 qt5-qttools-libs-help        x86_64    5.15.3-1.el8         appstream    195 k
 qt5-qtwayland                x86_64    5.15.3-1.el8         appstream    1.1 M
 qt5-qtx11extras              x86_64    5.15.3-1.el8         appstream     40 k
 qt5-qtxmlpatterns            x86_64    5.15.3-1.el8         appstream    1.1 M

Transaction Summary
================================================================================
Upgrade  13 Packages

thanks, whoever did whatever...

nomad

Comment 17 Germano Massullo (Thetra) 2022-06-09 14:35:16 UTC
Of course we were stuck with this problem. I was rebuilding for RHEL 8, not CentOS Stream 8. When a user in updates comments, asked me to rebuild for CentOS Stream 8 too, they problem was finally fixed.
Please always mention what distro are you using.
Have a nice day

Comment 18 Fedora Update System 2022-06-10 01:44:16 UTC
FEDORA-EPEL-2022-2882bcae22 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.