On Fri, 7 Aug 2015 22:38:22 -0400 Rahul Sundaram metherid@gmail.com wrote:
Hi
On Fri, Aug 7, 2015 at 10:23 PM, Andreas M. Kirchwitz
However, if somebody runs "dnf upgrade" on the command shell then he clearly wants the latest updates. Right now! No caching or other magic involved. That's the whole point of running "dnf upgrade" manually, otherwise the user would have left the whole updating business to some automated background task.
If this is what you want, use dnf update --refresh instead
Rahul
Then please explain this.
[root@smicro bob]# dnf --refresh --best update RPM Fusion for Fedora 22 - Free - Updates 249 kB/s | 29 kB 00:00 ... RPM Fusion for Fedora 22 - Nonfree 876 kB/s | 170 kB 00:00 Last metadata expiration check performed 0:00:00 ago on Sat Aug 8 09:32:41 2015. Dependencies resolved. Nothing to do. Complete!
[root@smicro bob]# dnf clean all Cleaning repos: google-earth fedora rpmfusion-free-updates fedora-HandBrake : rpmfusion-nonfree-updates local adobe-linux-x86_64 updates : rpmfusion-free rpmfusion-nonfree Cleaning up Everything
[root@smicro bob]# dnf --refresh --best update Fedora 22 - x86_64 6.9 MB/s | 41 MB 00:05 RPM Fusion for Fedora 22 - Free - Updates 253 kB/s | 29 kB 00:00 ... RPM Fusion for Fedora 22 - Nonfree 891 kB/s | 170 kB 00:00 Last metadata expiration check performed 0:00:05 ago on Sat Aug 8 09:43:16 2015. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Upgrading: autocorr-en noarch 1:4.4.5.2-1.fc22 updates 176 k autocorr-sl noarch 1:4.4.5.2-1.fc22 updates 160 k ... zsh x86_64 5.0.8-5.fc22 updates 2.6 M
Transaction Summary ================================================================================ Upgrade 48 Packages
Total download size: 203 M Is this ok [y/N]:
BR, Bob