Bug 1464345 - skipped packages are not printed out when using distro-sync
Summary: skipped packages are not printed out when using distro-sync
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-23 07:35 UTC by Kamil Páral
Modified: 2017-06-23 08:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-23 07:52:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kamil Páral 2017-06-23 07:35:02 UTC
Description of problem:
When I run "dnf update", packages with broken dependencies are listed as skipped:

$ sudo dnf update
Last metadata expiration check: 0:02:27 ago on Fri Jun 23 09:29:10 2017.
Dependencies resolved.
================================================================================
 Package                 Arch   Version                  Repository        Size
================================================================================
Installing:
 kernel                  x86_64 4.11.6-201.fc25          updates-testing  101 k
 kernel-core             x86_64 4.11.6-201.fc25          updates-testing   21 M
 kernel-modules          x86_64 4.11.6-201.fc25          updates-testing   23 M
Upgrading:
 acl                     x86_64 2.2.52-13.fc25           updates-testing   76 k
 c-ares                  x86_64 1.13.0-1.fc25            updates-testing   90 k
 copy-jdk-configs        noarch 2.2-3.fc25               updates-testing   21 k
 curl                    x86_64 7.51.0-7.fc25            updates-testing  307 k
 evince                  x86_64 3.22.1-4.fc25            updates-testing  2.5 M
 evince-browser-plugin   x86_64 3.22.1-4.fc25            updates-testing   63 k
 evince-djvu             x86_64 3.22.1-4.fc25            updates-testing   54 k
 evince-libs             x86_64 3.22.1-4.fc25            updates-testing  363 k
 evince-nautilus         x86_64 3.22.1-4.fc25            updates-testing   43 k
 gtk-update-icon-cache   x86_64 3.22.16-1.fc25           updates-testing   32 k
 gtk3                    i686   3.22.16-1.fc25           updates-testing  4.3 M
 gtk3                    x86_64 3.22.16-1.fc25           updates-testing  4.3 M
 gtk3-devel              x86_64 3.22.16-1.fc25           updates-testing  4.3 M
 kernel-headers          x86_64 4.11.6-201.fc25          updates-testing  1.1 M
 libacl                  x86_64 2.2.52-13.fc25           updates-testing   31 k
 libcurl                 i686   7.51.0-7.fc25            updates-testing  275 k
 libcurl                 x86_64 7.51.0-7.fc25            updates-testing  267 k
 libsndfile              i686   1.0.28-3.fc25            updates-testing  204 k
 libsndfile              x86_64 1.0.28-3.fc25            updates-testing  186 k
 libstoraged             x86_64 2.6.2-6.fc25             updates-testing  121 k
 nautilus-sendto         x86_64 1:3.8.5-1.fc25           updates-testing  147 k
 openvpn                 x86_64 2.4.3-1.fc25             updates-testing  465 k
 perl-Module-CoreList    noarch 1:5.20170621-1.fc25      updates-testing   80 k
 perl-Params-Validate    x86_64 1.29-1.fc25              updates-testing   76 k
 python2-rpmdeplint      noarch 1.3-2.fc25               updates-testing   42 k
 python3-rpmdeplint      noarch 1.3-2.fc25               updates-testing   43 k
 rpmdeplint              noarch 1.3-2.fc25               updates-testing  9.8 k
 skopeo-containers       x86_64 0.1.22-1.git5d24b67.fc25 updates-testing   12 k
 storaged                x86_64 2.6.2-6.fc25             updates-testing  376 k
 vagrant-libvirt         noarch 0.0.35-4.fc25            updates-testing   61 k
 webkitgtk4              x86_64 2.16.4-1.fc25            updates-testing   12 M
 webkitgtk4-jsc          x86_64 2.16.4-1.fc25            updates-testing  4.3 M
 webkitgtk4-plugin-process-gtk2
                         x86_64 2.16.4-1.fc25            updates-testing  9.3 M
 wireshark               x86_64 2.2.7-1.fc25             updates-testing   31 k
 wireshark-cli           x86_64 2.2.7-1.fc25             updates-testing   16 M
 wireshark-gtk           x86_64 2.2.7-1.fc25             updates-testing  987 k
Removing:
 kernel                  x86_64 4.11.3-202.fc25          @updates-testing   0  
 kernel-core             x86_64 4.11.3-202.fc25          @updates-testing  54 M
 kernel-modules          x86_64 4.11.3-202.fc25          @updates-testing  22 M
Skipping packages with broken dependencies:
 flatpak                 x86_64 0.9.6-1.fc25             updates-testing  862 k
 flatpak-libs            x86_64 0.9.6-1.fc25             updates-testing  251 k

Transaction Summary
================================================================================
Install   3 Packages
Upgrade  36 Packages
Remove    3 Packages
Skip      2 Packages


However, when I run distro-sync, the same packages are not printed as skipped, they are simply omitted:

$ sudo dnf distro-sync
Last metadata expiration check: 0:04:11 ago on Fri Jun 23 09:29:10 2017.
Dependencies resolved.
================================================================================
 Package                 Arch   Version                  Repository        Size
================================================================================
Installing:
 kernel                  x86_64 4.11.6-201.fc25          updates-testing  101 k
 kernel-core             x86_64 4.11.6-201.fc25          updates-testing   21 M
 kernel-modules          x86_64 4.11.6-201.fc25          updates-testing   23 M
Upgrading:
 acl                     x86_64 2.2.52-13.fc25           updates-testing   76 k
 c-ares                  x86_64 1.13.0-1.fc25            updates-testing   90 k
 copy-jdk-configs        noarch 2.2-3.fc25               updates-testing   21 k
 curl                    x86_64 7.51.0-7.fc25            updates-testing  307 k
 evince                  x86_64 3.22.1-4.fc25            updates-testing  2.5 M
 evince-browser-plugin   x86_64 3.22.1-4.fc25            updates-testing   63 k
 evince-djvu             x86_64 3.22.1-4.fc25            updates-testing   54 k
 evince-libs             x86_64 3.22.1-4.fc25            updates-testing  363 k
 evince-nautilus         x86_64 3.22.1-4.fc25            updates-testing   43 k
 gtk-update-icon-cache   x86_64 3.22.16-1.fc25           updates-testing   32 k
 gtk3                    i686   3.22.16-1.fc25           updates-testing  4.3 M
 gtk3                    x86_64 3.22.16-1.fc25           updates-testing  4.3 M
 gtk3-devel              x86_64 3.22.16-1.fc25           updates-testing  4.3 M
 kernel-headers          x86_64 4.11.6-201.fc25          updates-testing  1.1 M
 libacl                  x86_64 2.2.52-13.fc25           updates-testing   31 k
 libcurl                 i686   7.51.0-7.fc25            updates-testing  275 k
 libcurl                 x86_64 7.51.0-7.fc25            updates-testing  267 k
 libsndfile              i686   1.0.28-3.fc25            updates-testing  204 k
 libsndfile              x86_64 1.0.28-3.fc25            updates-testing  186 k
 libstoraged             x86_64 2.6.2-6.fc25             updates-testing  121 k
 nautilus-sendto         x86_64 1:3.8.5-1.fc25           updates-testing  147 k
 openvpn                 x86_64 2.4.3-1.fc25             updates-testing  465 k
 perl-Module-CoreList    noarch 1:5.20170621-1.fc25      updates-testing   80 k
 perl-Params-Validate    x86_64 1.29-1.fc25              updates-testing   76 k
 python2-rpmdeplint      noarch 1.3-2.fc25               updates-testing   42 k
 python3-rpmdeplint      noarch 1.3-2.fc25               updates-testing   43 k
 rpmdeplint              noarch 1.3-2.fc25               updates-testing  9.8 k
 skopeo-containers       x86_64 0.1.22-1.git5d24b67.fc25 updates-testing   12 k
 storaged                x86_64 2.6.2-6.fc25             updates-testing  376 k
 vagrant-libvirt         noarch 0.0.35-4.fc25            updates-testing   61 k
 webkitgtk4              x86_64 2.16.4-1.fc25            updates-testing   12 M
 webkitgtk4-jsc          x86_64 2.16.4-1.fc25            updates-testing  4.3 M
 webkitgtk4-plugin-process-gtk2
                         x86_64 2.16.4-1.fc25            updates-testing  9.3 M
 wireshark               x86_64 2.2.7-1.fc25             updates-testing   31 k
 wireshark-cli           x86_64 2.2.7-1.fc25             updates-testing   16 M
 wireshark-gtk           x86_64 2.2.7-1.fc25             updates-testing  987 k
Removing:
 kernel                  x86_64 4.11.3-202.fc25          @updates-testing   0  
 kernel-core             x86_64 4.11.3-202.fc25          @updates-testing  54 M
 kernel-modules          x86_64 4.11.3-202.fc25          @updates-testing  22 M
Downgrading:
 Zim                     noarch 0.66-2.fc25              updates          1.8 M
 container-selinux       noarch 2:2.18-1.fc25            updates           32 k
 relval                  noarch 2.1.7-1.fc25             updates           98 k
 rubygem-nokogiri        x86_64 1.7.2-1.fc25             updates          133 k
 setroubleshoot          x86_64 3.3.11-1.fc25            fedora           136 k
 setroubleshoot-plugins  noarch 3.3.6-1.fc25             fedora           386 k
 setroubleshoot-server   x86_64 3.3.11-1.fc25            fedora           391 k
 unbound-libs            x86_64 1.6.0-6.fc25             updates          391 k
 vim-common              x86_64 2:8.0.617-1.fc25         updates          6.6 M
 vim-enhanced            x86_64 2:8.0.617-1.fc25         updates          1.3 M
 vim-filesystem          x86_64 2:8.0.617-1.fc25         updates           34 k
 vim-minimal             x86_64 2:8.0.617-1.fc25         updates          520 k

Transaction Summary
================================================================================
Install     3 Packages
Upgrade    36 Packages
Remove      3 Packages
Downgrade  12 Packages


Please print skipped packages even when calling distro-sync. It's still interesting (and sometimes even important) information.


Version-Release number of selected component (if applicable):
dnf-1.1.10-6.fc25.noarch
hawkey-0.6.4-3.fc25.x86_64
libsolv-0.6.27-2.fc25.x86_64

Comment 1 Igor Gnatenko 2017-06-23 07:52:39 UTC
Please, try with DNF 2.x.

DNF 1.x is getting only security fixes.

Comment 2 Kamil Páral 2017-06-23 08:05:27 UTC
Should it be fixed with DNF 2, or you don't really know? It's not trivial for me to reproduce this.


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