Bug 1501804 - distrosync forces --best, using --skip-broken doesn't help
Summary: distrosync forces --best, using --skip-broken doesn't help
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 40
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1765679 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-13 09:07 UTC by Kamil Páral
Modified: 2024-05-09 13:25 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-13 15:12:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kamil Páral 2017-10-13 09:07:31 UTC
Description of problem:
I've noticed several times now. If some deps are broken, distrosync can't be used, even with --skip-broken.

$ sudo dnf distrosync --skip-broken
Failed to synchronize cache for repo 'suspiria-VidCutter', disabling.
Last metadata expiration check: 0:26:18 ago on Fri 13 Oct 2017 10:38:44 AM CEST.
Error: 
 Problem: problem with installed package python2-backports-functools_lru_cache-1.4-2.fc27.noarch
  - python2-backports-functools_lru_cache-1.4-2.fc27.noarch does not belong to a distupgrade repository
  - nothing provides python2-backports needed by python2-backports-functools_lru_cache-1.4-3.fc27.noarch


$ sudo dnf update
Failed to synchronize cache for repo 'suspiria-VidCutter', disabling.
Last metadata expiration check: 0:26:39 ago on Fri 13 Oct 2017 10:38:44 AM CEST.
Dependencies resolved.

 Problem 1: cannot install the best update candidate for package python2-backports-functools_lru_cache-1.4-2.fc27.noarch
  - nothing provides python2-backports needed by python2-backports-functools_lru_cache-1.4-3.fc27.noarch
 Problem 2: package chromium-libs-61.0.3163.100-1.fc27.x86_64 requires chromium-libs-media(x86-64) >= 61, but none of the providers can be installed
  - package chromium-libs-media-freeworld-59.0.3071.109-5.fc27.x86_64 obsoletes chromium-libs-media provided by chromium-libs-media-61.0.3163.100-1.fc27.x86_64
  - cannot install the best update candidate for package chromium-libs-media-61.0.3163.100-1.fc27.x86_64
  - cannot install the best update candidate for package chromium-libs-61.0.3163.100-1.fc27.x86_64
  - nothing provides chromium-libs(x86-64) = 61.0.3163.79-1.fc27 needed by chromium-libs-media-freeworld-61.0.3163.79-1.fc27.x86_64
======================================================================================================================
 Package                               Arch   Version                         Repository                         Size
======================================================================================================================
Upgrading:
 audit                                 x86_64 2.8-1.fc27                      updates-testing                   254 k
 audit-libs                            i686   2.8-1.fc27                      updates-testing                   114 k
 audit-libs                            x86_64 2.8-1.fc27                      updates-testing                   111 k
 audit-libs-python3                    x86_64 2.8-1.fc27                      updates-testing                    81 k
 bodhi-client                          noarch 2.12.0-1.fc27                   updates-testing                    61 k
 dropbox                               noarch 1:2015.10.28-5.fc27             rpmfusion-nonfree-updates-testing  96 k
 gnome-software                        x86_64 3.26.1-2.fc27                   updates-testing                   3.7 M
 nautilus-dropbox                      x86_64 1:2015.10.28-5.fc27             rpmfusion-nonfree-updates-testing  24 k
 perl-Test-Simple                      noarch 1:1.302100-1.fc27               updates-testing                   484 k
 php-cli                               x86_64 7.1.11~RC1-1.fc27               updates-testing                   4.2 M
 php-common                            x86_64 7.1.11~RC1-1.fc27               updates-testing                   1.0 M
 php-json                              x86_64 7.1.11~RC1-1.fc27               updates-testing                    72 k
 php-xml                               x86_64 7.1.11~RC1-1.fc27               updates-testing                   225 k
 poppler                               x86_64 0.57.0-5.fc27                   updates-testing                   834 k
 poppler-glib                          x86_64 0.57.0-5.fc27                   updates-testing                   148 k
 poppler-utils                         x86_64 0.57.0-5.fc27                   updates-testing                   197 k
 procmail                              x86_64 3.22-44.fc27                    updates-testing                   177 k
 python-qt5                            x86_64 5.9-8.fc27                      updates-testing                   1.2 M
 python-qt5-base                       x86_64 5.9-8.fc27                      updates-testing                   2.7 M
 python-qt5-rpm-macros                 noarch 5.9-8.fc27                      updates-testing                    15 k
 python-qt5-webkit                     x86_64 5.9-8.fc27                      updates-testing                   123 k
 python2-bodhi                         noarch 2.12.0-1.fc27                   updates-testing                    35 k
 python3-productmd                     noarch 1.8-1.fc27                      updates-testing                    71 k
 python3-qt5                           x86_64 5.9-8.fc27                      updates-testing                   1.2 M
 python3-qt5-base                      x86_64 5.9-8.fc27                      updates-testing                   2.9 M
 python3-qt5-webkit                    x86_64 5.9-8.fc27                      updates-testing                   130 k
 qgnomeplatform                        x86_64 0.3-5.fc27                      updates-testing                    63 k
 qt5-qtbase                            x86_64 5.9.2-1.fc27                    updates-testing                   3.4 M
 qt5-qtbase-common                     noarch 5.9.2-1.fc27                    updates-testing                    35 k
 qt5-qtbase-gui                        x86_64 5.9.2-1.fc27                    updates-testing                   5.1 M
 qt5-qtconnectivity                    x86_64 5.9.2-1.fc27                    updates-testing                   474 k
 qt5-qtdeclarative                     x86_64 5.9.2-1.fc27                    updates-testing                   3.2 M
 qt5-qtlocation                        x86_64 5.9.2-1.fc27                    updates-testing                   2.5 M
 qt5-qtmultimedia                      x86_64 5.9.2-1.fc27                    updates-testing                   814 k
 qt5-qtquickcontrols                   x86_64 5.9.2-1.fc27                    updates-testing                   1.1 M
 qt5-qtsensors                         x86_64 5.9.2-1.fc27                    updates-testing                   215 k
 qt5-qtserialport                      x86_64 5.9.2-1.fc27                    updates-testing                    74 k
 qt5-qtsvg                             x86_64 5.9.2-1.fc27                    updates-testing                   161 k
 qt5-qttools-common                    noarch 5.9.2-1.fc27                    updates-testing                    18 k
 qt5-qttools-libs-designer             x86_64 5.9.2-1.fc27                    updates-testing                   2.7 M
 qt5-qttools-libs-help                 x86_64 5.9.2-1.fc27                    updates-testing                   154 k
 qt5-qttranslations                    noarch 5.9.2-1.fc27                    updates-testing                   1.7 M
 qt5-qtwayland                         x86_64 5.9.2-1.fc27                    updates-testing                   717 k
 qt5-qtwebchannel                      x86_64 5.9.2-1.fc27                    updates-testing                    82 k
 qt5-qtwebkit                          x86_64 5.212.0-0.10.alpha2.fc27        updates-testing                    13 M
 qt5-qtwebsockets                      x86_64 5.9.2-1.fc27                    updates-testing                    75 k
 qt5-qtx11extras                       x86_64 5.9.2-1.fc27                    updates-testing                    31 k
 qt5-qtxmlpatterns                     x86_64 5.9.2-1.fc27                    updates-testing                   1.1 M
 selinux-policy                        noarch 3.13.1-283.10.fc27              updates-testing                   513 k
 selinux-policy-targeted               noarch 3.13.1-283.10.fc27              updates-testing                    10 M
 skopeo-containers                     x86_64 0.1.24-3.dev.git28d4e08.fc27    updates-testing                    14 k
 uboot-tools                           x86_64 2017.09-4.fc27                  updates-testing                   337 k
 vlc                                   x86_64 3.0.0-0.37.git20171009.fc27     rpmfusion-free-updates-testing    1.9 M
 vlc-core                              x86_64 3.0.0-0.37.git20171009.fc27     rpmfusion-free-updates-testing    7.8 M
Skipping packages with broken dependencies:
 chromium-libs-media-freeworld         x86_64 61.0.3163.79-1.fc27             rpmfusion-free                    2.3 M
 python2-backports-functools_lru_cache noarch 1.4-3.fc27                      updates-testing                    15 k

Transaction Summary
======================================================================================================================
Upgrade  54 Packages
Skip      2 Packages

Total download size: 78 M
Is this ok [y/N]: n



Version-Release number of selected component (if applicable):
dnf-2.7.3-1.fc27.noarch
dnf-conf-2.7.3-1.fc27.noarch
dnf-plugins-core-2.1.5-1.fc27.noarch
dnf-yum-2.7.3-1.fc27.noarch
libdnf-0.11.0-1.fc27.x86_64
python2-dnf-2.7.3-1.fc27.noarch
python3-dnf-2.7.3-1.fc27.noarch
python3-dnf-plugins-core-2.1.5-1.fc27.noarch
python3-dnf-plugins-extras-common-2.0.3-1.fc27.noarch
python3-dnf-plugin-system-upgrade-2.0.3-1.fc27.noarch

Comment 1 Jaroslav Mracek 2017-10-13 16:34:11 UTC
I tried to implement it but I have found that the functionality is not supported by libsolv. I created an issue https://github.com/openSUSE/libsolv/issues/232 and we will see what will come out.

Comment 2 Ben Cotton 2018-11-27 14:19:35 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Ben Cotton 2019-02-19 17:12:06 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 30 development cycle.
Changing version to '30.

Comment 4 Ben Cotton 2020-04-30 20:26:12 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Ben Cotton 2020-08-11 13:03:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 6 Ben Cotton 2021-11-04 17:41:39 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Sergio Basto 2022-09-30 15:46:04 UTC
yeah --skip-broken doesn't work on `dnf distro-sync` in my case :

dnf distro-sync
Error:
Problem: package python2-appindicator-12.10.0-32.fc35.x86_64 requires libappindicator = 12.10.0-32.fc35, but none of the providers can be installed
- libappindicator-12.10.0-32.fc35.x86_64 does not belong to a distupgrade repository
- problem with installed package python2-appindicator-12.10.0-32.fc35.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

dnf distro-sync --skip-broken
Last metadata expiration check: 0:08:02 ago on Fri 30 Sep 2022 04:36:25 PM WEST.
Error:
Problem: package python2-appindicator-12.10.0-32.fc35.x86_64 requires libappindicator = 12.10.0-32.fc35, but none of the providers can be installed
- libappindicator-12.10.0-32.fc35.x86_64 does not belong to a distupgrade repository
- problem with installed package python2-appindicator-12.10.0-32.fc35.x86_64
(try to add '--nobest' to use not only best candidate packages)

dnf distro-sync --skip-broken --nobest
Last metadata expiration check: 0:08:20 ago on Fri 30 Sep 2022 04:36:25 PM WEST.
Error:
Problem: package python2-appindicator-12.10.0-32.fc35.x86_64 requires libappindicator = 12.10.0-32.fc35, but none of the providers can be installed
- libappindicator-12.10.0-32.fc35.x86_64 does not belong to a distupgrade repository
- problem with installed package python2-appindicator-12.10.0-32.fc35.x86_64

dnf distro-sync --exclude libappindicator
Dependencies resolved.

Comment 8 Ben Cotton 2022-11-29 16:45:27 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 9 Ben Cotton 2022-12-13 15:12:19 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 10 Sergio Basto 2022-12-14 13:04:46 UTC
*** Bug 1765679 has been marked as a duplicate of this bug. ***

Comment 11 Ben Cotton 2023-02-07 14:51:05 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 12 Aoife Moloney 2024-05-07 15:41:10 UTC
This message is a reminder that Fedora Linux 38 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '38'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 38 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.


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