dnf --refresh reverts to older metadata (was: Re: dnf update vs Software Udpates)

Michael Schwendt mschwendt at gmail.com
Fri Aug 14 10:55:03 UTC 2015


And here's proof of what can happen with just --refresh:

  1. dnf update
  2. dnf update --refresh
  3. dnf update --refresh

The last run reverts to older metadata with only 50 updates available compared
with earlier. Mirror manager assigning to an out-of-date mirror?


# dnf update
Last metadata expiration check performed 1:19:01 ago on Fri Aug 14 11:29:15 2015.
Dependencies resolved.
================================================================================
 Package                   Arch     Version                     Repository
                                                                           Size
================================================================================
Installing:
 kernel                    x86_64   4.2.0-0.rc6.git0.2.fc24     rawhide    72 k
 kernel-core               x86_64   4.2.0-0.rc6.git0.2.fc24     rawhide    20 M
 kernel-modules            x86_64   4.2.0-0.rc6.git0.2.fc24     rawhide    18 M
Upgrading:
 automake                  noarch   1.15-5.fc24                 rawhide   694 k
 boost                     x86_64   1.58.0-6.fc24               rawhide    43 k
 boost-atomic              x86_64   1.58.0-6.fc24               rawhide    45 k
 boost-chrono              x86_64   1.58.0-6.fc24               rawhide    52 k
 boost-container           x86_64   1.58.0-6.fc24               rawhide    66 k
 boost-context             x86_64   1.58.0-6.fc24               rawhide    58 k
 boost-coroutine           x86_64   1.58.0-6.fc24               rawhide    59 k
 boost-date-time           x86_64   1.58.0-6.fc24               rawhide    58 k
 boost-devel               x86_64   1.58.0-6.fc24               rawhide   8.1 M
 boost-filesystem          x86_64   1.58.0-6.fc24               rawhide    73 k
 boost-graph               x86_64   1.58.0-6.fc24               rawhide   137 k
 boost-iostreams           x86_64   1.58.0-6.fc24               rawhide    67 k
 boost-locale              x86_64   1.58.0-6.fc24               rawhide   278 k
 boost-log                 x86_64   1.58.0-6.fc24               rawhide   478 k
 boost-math                x86_64   1.58.0-6.fc24               rawhide   312 k
 boost-program-options     x86_64   1.58.0-6.fc24               rawhide   165 k
 boost-python              x86_64   1.58.0-6.fc24               rawhide   133 k
 boost-random              x86_64   1.58.0-6.fc24               rawhide    51 k
 boost-regex               x86_64   1.58.0-6.fc24               rawhide   296 k
 boost-serialization       x86_64   1.58.0-6.fc24               rawhide   156 k
 boost-signals             x86_64   1.58.0-6.fc24               rawhide    70 k
 boost-system              x86_64   1.58.0-6.fc24               rawhide    48 k
 boost-test                x86_64   1.58.0-6.fc24               rawhide   220 k
 boost-thread              x86_64   1.58.0-6.fc24               rawhide    88 k
 boost-timer               x86_64   1.58.0-6.fc24               rawhide    50 k
 boost-wave                x86_64   1.58.0-6.fc24               rawhide   234 k
 crontabs                  noarch   1.11-11.20150630git.fc24    rawhide    23 k
 curl                      x86_64   7.44.0-1.fc24               rawhide   284 k
 dbus                      x86_64   1:1.9.20-1.fc24             rawhide   240 k
 dbus-devel                x86_64   1:1.9.20-1.fc24             rawhide    57 k
 dbus-libs                 x86_64   1:1.9.20-1.fc24             rawhide   171 k
 dbus-x11                  x86_64   1:1.9.20-1.fc24             rawhide    51 k
 dhcp-client               x86_64   12:4.3.3-0.2b1.fc24         rawhide   297 k
 dhcp-common               noarch   12:4.3.3-0.2b1.fc24         rawhide   192 k
 dhcp-libs                 x86_64   12:4.3.3-0.2b1.fc24         rawhide   136 k
 dracut                    x86_64   043-60.git20150811.fc24     rawhide   322 k
 dracut-config-rescue      x86_64   043-60.git20150811.fc24     rawhide    44 k
 dracut-network            x86_64   043-60.git20150811.fc24     rawhide    82 k
 firefox                   x86_64   40.0-4.fc24                 rawhide    71 M
 fontconfig                x86_64   2.11.94-3.fc24              rawhide   241 k
 fontconfig-devel          x86_64   2.11.94-3.fc24              rawhide   136 k
 gnupg2                    x86_64   2.1.6-1.fc24                rawhide   1.8 M
 hplip                     x86_64   3.15.7-4.fc24               rawhide    12 M
 hplip-common              x86_64   3.15.7-4.fc24               rawhide    96 k
 hplip-compat-libs         x86_64   3.15.7-4.fc24               rawhide    76 k
 hplip-libs                x86_64   3.15.7-4.fc24               rawhide   185 k
 kernel-headers            x86_64   4.2.0-0.rc6.git0.2.fc24     rawhide   1.0 M
 libblkid                  x86_64   2.27-0.2.fc24               rawhide   178 k
 libcacard                 x86_64   2:2.4.0-1.fc24              rawhide    74 k
 libcurl                   x86_64   7.44.0-1.fc24               rawhide   256 k
 libcurl-devel             x86_64   7.44.0-1.fc24               rawhide   596 k
 liberation-fonts-common   noarch   1:1.07.4-6.fc24             rawhide    31 k
 liberation-mono-fonts     noarch   1:1.07.4-6.fc24             rawhide   232 k
 liberation-sans-fonts     noarch   1:1.07.4-6.fc24             rawhide   284 k
 liberation-serif-fonts    noarch   1:1.07.4-6.fc24             rawhide   304 k
 libfdisk                  x86_64   2.27-0.2.fc24               rawhide   219 k
 libmount                  x86_64   2.27-0.2.fc24               rawhide   195 k
 libsane-hpaio             x86_64   3.15.7-4.fc24               rawhide   112 k
 libsmartcols              x86_64   2.27-0.2.fc24               rawhide   137 k
 libuuid                   x86_64   2.27-0.2.fc24               rawhide    78 k
 netpbm                    x86_64   10.71.02-1.fc24             rawhide   184 k
 openssl                   x86_64   1:1.0.2d-2.fc24             rawhide   510 k
 openssl-devel             x86_64   1:1.0.2d-2.fc24             rawhide   1.5 M
 openssl-libs              x86_64   1:1.0.2d-2.fc24             rawhide   1.2 M
 pam                       x86_64   1.2.1-2.fc24                rawhide   729 k
 python3                   x86_64   3.4.3-5.fc24                rawhide    53 k
 python3-cups              x86_64   1.9.72-3.fc24               rawhide    81 k
 python3-libs              x86_64   3.4.3-5.fc24                rawhide   6.7 M
 qemu-common               x86_64   2:2.4.0-1.fc24              rawhide   291 k
 qemu-guest-agent          x86_64   2:2.4.0-1.fc24              rawhide   173 k
 qemu-img                  x86_64   2:2.4.0-1.fc24              rawhide   652 k
 qemu-kvm                  x86_64   2:2.4.0-1.fc24              rawhide    55 k
 qemu-system-x86           x86_64   2:2.4.0-1.fc24              rawhide   4.1 M
 tzdata                    noarch   2015f-1.fc24                rawhide   406 k
 tzdata-java               noarch   2015f-1.fc24                rawhide   176 k
 util-linux                x86_64   2.27-0.2.fc24               rawhide   2.1 M
Removing:
 kernel                    x86_64   4.2.0-0.rc5.git2.1.fc24     @System     0  
 kernel-core               x86_64   4.2.0-0.rc5.git2.1.fc24     @System    51 M
 kernel-modules            x86_64   4.2.0-0.rc5.git2.1.fc24     @System    17 M
Skipping packages with broken dependencies:
 fwupd                     x86_64   0.1.5-1.fc24                rawhide   112 k
 gnome-software            x86_64   3.17.3-1.fc24               rawhide   1.9 M
 libappstream-glib         x86_64   0.5.0-1.fc24                rawhide   179 k

Transaction Summary
================================================================================
Install   3 Packages
Upgrade  76 Packages
Remove    3 Packages

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


# dnf update --refresh
Adobe Systems Incorporated                       21 kB/s | 1.8 kB     00:00    
Fedora - Rawhide - Developmental packages for t 1.5 MB/s |  43 MB     00:29    
Last metadata expiration check performed 0:00:13 ago on Fri Aug 14 12:48:43 2015.
Dependencies resolved.
================================================================================
 Package                   Arch     Version                     Repository
                                                                           Size
================================================================================
Installing:
 kernel                    x86_64   4.2.0-0.rc6.git0.2.fc24     rawhide    72 k
 kernel-core               x86_64   4.2.0-0.rc6.git0.2.fc24     rawhide    20 M
 kernel-modules            x86_64   4.2.0-0.rc6.git0.2.fc24     rawhide    18 M
Upgrading:
 automake                  noarch   1.15-5.fc24                 rawhide   694 k
 boost                     x86_64   1.58.0-6.fc24               rawhide    43 k
 boost-atomic              x86_64   1.58.0-6.fc24               rawhide    45 k
 boost-chrono              x86_64   1.58.0-6.fc24               rawhide    52 k
 boost-container           x86_64   1.58.0-6.fc24               rawhide    66 k
 boost-context             x86_64   1.58.0-6.fc24               rawhide    58 k
 boost-coroutine           x86_64   1.58.0-6.fc24               rawhide    59 k
 boost-date-time           x86_64   1.58.0-6.fc24               rawhide    58 k
 boost-devel               x86_64   1.58.0-6.fc24               rawhide   8.1 M
 boost-filesystem          x86_64   1.58.0-6.fc24               rawhide    73 k
 boost-graph               x86_64   1.58.0-6.fc24               rawhide   137 k
 boost-iostreams           x86_64   1.58.0-6.fc24               rawhide    67 k
 boost-locale              x86_64   1.58.0-6.fc24               rawhide   278 k
 boost-log                 x86_64   1.58.0-6.fc24               rawhide   478 k
 boost-math                x86_64   1.58.0-6.fc24               rawhide   312 k
 boost-program-options     x86_64   1.58.0-6.fc24               rawhide   165 k
 boost-python              x86_64   1.58.0-6.fc24               rawhide   133 k
 boost-random              x86_64   1.58.0-6.fc24               rawhide    51 k
 boost-regex               x86_64   1.58.0-6.fc24               rawhide   296 k
 boost-serialization       x86_64   1.58.0-6.fc24               rawhide   156 k
 boost-signals             x86_64   1.58.0-6.fc24               rawhide    70 k
 boost-system              x86_64   1.58.0-6.fc24               rawhide    48 k
 boost-test                x86_64   1.58.0-6.fc24               rawhide   220 k
 boost-thread              x86_64   1.58.0-6.fc24               rawhide    88 k
 boost-timer               x86_64   1.58.0-6.fc24               rawhide    50 k
 boost-wave                x86_64   1.58.0-6.fc24               rawhide   234 k
 crontabs                  noarch   1.11-11.20150630git.fc24    rawhide    23 k
 curl                      x86_64   7.44.0-1.fc24               rawhide   284 k
 dbus                      x86_64   1:1.9.20-1.fc24             rawhide   240 k
 dbus-devel                x86_64   1:1.9.20-1.fc24             rawhide    57 k
 dbus-libs                 x86_64   1:1.9.20-1.fc24             rawhide   171 k
 dbus-x11                  x86_64   1:1.9.20-1.fc24             rawhide    51 k
 dhcp-client               x86_64   12:4.3.3-0.2b1.fc24         rawhide   297 k
 dhcp-common               noarch   12:4.3.3-0.2b1.fc24         rawhide   192 k
 dhcp-libs                 x86_64   12:4.3.3-0.2b1.fc24         rawhide   136 k
 dracut                    x86_64   043-60.git20150811.fc24     rawhide   322 k
 dracut-config-rescue      x86_64   043-60.git20150811.fc24     rawhide    44 k
 dracut-network            x86_64   043-60.git20150811.fc24     rawhide    82 k
 firefox                   x86_64   40.0-4.fc24                 rawhide    71 M
 fontconfig                x86_64   2.11.94-3.fc24              rawhide   241 k
 fontconfig-devel          x86_64   2.11.94-3.fc24              rawhide   136 k
 gnupg2                    x86_64   2.1.6-1.fc24                rawhide   1.8 M
 hplip                     x86_64   3.15.7-4.fc24               rawhide    12 M
 hplip-common              x86_64   3.15.7-4.fc24               rawhide    96 k
 hplip-compat-libs         x86_64   3.15.7-4.fc24               rawhide    76 k
 hplip-libs                x86_64   3.15.7-4.fc24               rawhide   185 k
 kernel-headers            x86_64   4.2.0-0.rc6.git0.2.fc24     rawhide   1.0 M
 libblkid                  x86_64   2.27-0.2.fc24               rawhide   178 k
 libcacard                 x86_64   2:2.4.0-1.fc24              rawhide    74 k
 libcurl                   x86_64   7.44.0-1.fc24               rawhide   256 k
 libcurl-devel             x86_64   7.44.0-1.fc24               rawhide   596 k
 liberation-fonts-common   noarch   1:1.07.4-6.fc24             rawhide    31 k
 liberation-mono-fonts     noarch   1:1.07.4-6.fc24             rawhide   232 k
 liberation-sans-fonts     noarch   1:1.07.4-6.fc24             rawhide   284 k
 liberation-serif-fonts    noarch   1:1.07.4-6.fc24             rawhide   304 k
 libfdisk                  x86_64   2.27-0.2.fc24               rawhide   219 k
 libmount                  x86_64   2.27-0.2.fc24               rawhide   195 k
 libsane-hpaio             x86_64   3.15.7-4.fc24               rawhide   112 k
 libsmartcols              x86_64   2.27-0.2.fc24               rawhide   137 k
 libuuid                   x86_64   2.27-0.2.fc24               rawhide    78 k
 netpbm                    x86_64   10.71.02-1.fc24             rawhide   184 k
 openssl                   x86_64   1:1.0.2d-2.fc24             rawhide   510 k
 openssl-devel             x86_64   1:1.0.2d-2.fc24             rawhide   1.5 M
 openssl-libs              x86_64   1:1.0.2d-2.fc24             rawhide   1.2 M
 pam                       x86_64   1.2.1-2.fc24                rawhide   729 k
 python3                   x86_64   3.4.3-5.fc24                rawhide    53 k
 python3-cups              x86_64   1.9.72-3.fc24               rawhide    81 k
 python3-libs              x86_64   3.4.3-5.fc24                rawhide   6.7 M
 qemu-common               x86_64   2:2.4.0-1.fc24              rawhide   291 k
 qemu-guest-agent          x86_64   2:2.4.0-1.fc24              rawhide   173 k
 qemu-img                  x86_64   2:2.4.0-1.fc24              rawhide   652 k
 qemu-kvm                  x86_64   2:2.4.0-1.fc24              rawhide    55 k
 qemu-system-x86           x86_64   2:2.4.0-1.fc24              rawhide   4.1 M
 tzdata                    noarch   2015f-1.fc24                rawhide   406 k
 tzdata-java               noarch   2015f-1.fc24                rawhide   176 k
 util-linux                x86_64   2.27-0.2.fc24               rawhide   2.1 M
Removing:
 kernel                    x86_64   4.2.0-0.rc5.git2.1.fc24     @System     0  
 kernel-core               x86_64   4.2.0-0.rc5.git2.1.fc24     @System    51 M
 kernel-modules            x86_64   4.2.0-0.rc5.git2.1.fc24     @System    17 M
Skipping packages with broken dependencies:
 fwupd                     x86_64   0.1.5-1.fc24                rawhide   112 k
 gnome-software            x86_64   3.17.3-1.fc24               rawhide   1.9 M
 libappstream-glib         x86_64   0.5.0-1.fc24                rawhide   179 k

Transaction Summary
================================================================================
Install   3 Packages
Upgrade  76 Packages
Remove    3 Packages

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


# dnf update --refresh
Fedora - Rawhide - Developmental packages for t 1.4 MB/s |  43 MB     00:30    
Adobe Systems Incorporated                       21 kB/s | 1.8 kB     00:00    
Last metadata expiration check performed 0:00:00 ago on Fri Aug 14 12:50:08 2015.
Dependencies resolved.
================================================================================
 Package                  Arch      Version                    Repository  Size
================================================================================
Upgrading:
 boost                    x86_64    1.58.0-6.fc24              rawhide     43 k
 boost-atomic             x86_64    1.58.0-6.fc24              rawhide     45 k
 boost-chrono             x86_64    1.58.0-6.fc24              rawhide     52 k
 boost-container          x86_64    1.58.0-6.fc24              rawhide     66 k
 boost-context            x86_64    1.58.0-6.fc24              rawhide     58 k
 boost-coroutine          x86_64    1.58.0-6.fc24              rawhide     59 k
 boost-date-time          x86_64    1.58.0-6.fc24              rawhide     58 k
 boost-devel              x86_64    1.58.0-6.fc24              rawhide    8.1 M
 boost-filesystem         x86_64    1.58.0-6.fc24              rawhide     73 k
 boost-graph              x86_64    1.58.0-6.fc24              rawhide    137 k
 boost-iostreams          x86_64    1.58.0-6.fc24              rawhide     67 k
 boost-locale             x86_64    1.58.0-6.fc24              rawhide    278 k
 boost-log                x86_64    1.58.0-6.fc24              rawhide    478 k
 boost-math               x86_64    1.58.0-6.fc24              rawhide    312 k
 boost-program-options    x86_64    1.58.0-6.fc24              rawhide    165 k
 boost-python             x86_64    1.58.0-6.fc24              rawhide    133 k
 boost-random             x86_64    1.58.0-6.fc24              rawhide     51 k
 boost-regex              x86_64    1.58.0-6.fc24              rawhide    296 k
 boost-serialization      x86_64    1.58.0-6.fc24              rawhide    156 k
 boost-signals            x86_64    1.58.0-6.fc24              rawhide     70 k
 boost-system             x86_64    1.58.0-6.fc24              rawhide     48 k
 boost-test               x86_64    1.58.0-6.fc24              rawhide    220 k
 boost-thread             x86_64    1.58.0-6.fc24              rawhide     88 k
 boost-timer              x86_64    1.58.0-6.fc24              rawhide     50 k
 boost-wave               x86_64    1.58.0-6.fc24              rawhide    234 k
 dbus                     x86_64    1:1.9.20-1.fc24            rawhide    240 k
 dbus-devel               x86_64    1:1.9.20-1.fc24            rawhide     57 k
 dbus-libs                x86_64    1:1.9.20-1.fc24            rawhide    171 k
 dbus-x11                 x86_64    1:1.9.20-1.fc24            rawhide     51 k
 dhcp-client              x86_64    12:4.3.3-0.2b1.fc24        rawhide    297 k
 dhcp-common              noarch    12:4.3.3-0.2b1.fc24        rawhide    192 k
 dhcp-libs                x86_64    12:4.3.3-0.2b1.fc24        rawhide    136 k
 dracut                   x86_64    043-60.git20150811.fc24    rawhide    322 k
 dracut-config-rescue     x86_64    043-60.git20150811.fc24    rawhide     44 k
 dracut-network           x86_64    043-60.git20150811.fc24    rawhide     82 k
 firefox                  x86_64    40.0-3.fc24                rawhide     71 M
 gnupg2                   x86_64    2.1.6-1.fc24               rawhide    1.8 M
 hplip                    x86_64    3.15.7-4.fc24              rawhide     12 M
 hplip-common             x86_64    3.15.7-4.fc24              rawhide     96 k
 hplip-compat-libs        x86_64    3.15.7-4.fc24              rawhide     76 k
 hplip-libs               x86_64    3.15.7-4.fc24              rawhide    185 k
 libcacard                x86_64    2:2.4.0-1.fc24             rawhide     74 k
 libsane-hpaio            x86_64    3.15.7-4.fc24              rawhide    112 k
 netpbm                   x86_64    10.71.02-1.fc24            rawhide    184 k
 python3-cups             x86_64    1.9.72-3.fc24              rawhide     81 k
 qemu-common              x86_64    2:2.4.0-1.fc24             rawhide    291 k
 qemu-guest-agent         x86_64    2:2.4.0-1.fc24             rawhide    173 k
 qemu-img                 x86_64    2:2.4.0-1.fc24             rawhide    652 k
 qemu-kvm                 x86_64    2:2.4.0-1.fc24             rawhide     55 k
 qemu-system-x86          x86_64    2:2.4.0-1.fc24             rawhide    4.1 M

Transaction Summary
================================================================================
Upgrade  50 Packages

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


# rpm -q dnf
dnf-1.1.0-2.fc24.noarch


More information about the users mailing list