dnf update vs Software Udpates

Radek Holy rholy at redhat.com
Thu Jul 23 06:30:08 UTC 2015



----- Original Message -----
> From: "Rick Stevens" <ricks at alldigital.com>
> To: "Community support for Fedora users" <users at lists.fedoraproject.org>
> Sent: Wednesday, July 22, 2015 7:52:32 PM
> Subject: Re: dnf update vs Software Udpates
> 
> On 07/22/2015 10:38 AM, Maurizio Marini wrote:
> > On Tue, 21 Jul 2015 20:33:27 -0400
> > Matthew Miller <mattdm at fedoraproject.org> wrote:
> >
> >> On Wed, Jul 22, 2015 at 02:10:10AM +0200, Suvayu Ali wrote:
> >>> I'm sorry but "clean all" is not necessary at all!  "clean metadata" or
> >>> "clean expire-cache" should be sufficient.
> >>
> >> You don't even need to do that. Just use the --refresh flag -- `dnf
> >> --refresh upgrade`.
> >
> >
> > dnf --refresh upgrade
> > does not work for me
> >
> > dnf clean expire-cache
> > does not work for me
> >
> > dnf clean metadata
> > does work instaed
> 
> I think that was a typo. You need:
> 
> 	dnf --refresh update

Well, "dnf update" is a deprecated alias for "dnf upgrade" (http://dnf.readthedocs.org/en/latest/command_ref.html#update-command).

> Running it on my machine:
> 
> [root at prophead conf]# dnf --refresh update
> RPM Fusion for Fedora 21 - Free - Updates        44 kB/s | 406 kB
> 00:09
> Adobe Systems Incorporated                      1.2 kB/s | 1.8 kB
> 00:01
> RPM Fusion for Fedora 21 - Nonfree - Updates    543 kB/s | 152 kB
> 00:00
> RPM Fusion for Fedora 21 - Free                  17 kB/s | 508 kB
> 00:29
> google-chrome                                    77 kB/s | 3.5 kB
> 00:00
> RPM Fusion for Fedora 21 - Nonfree              527 kB/s | 179 kB
> 00:00
> Using metadata from Wed Jul 22 10:49:27 2015 (0:00:52 hours old)
> Dependencies resolved.
> ================================================================================
>   Package                  Arch       Version            Repository
>      Size
> ================================================================================
> Upgrading:
>   google-chrome-stable     x86_64     44.0.2403.89-1     google-chrome
>      46 M
> 
> Transaction Summary
> ================================================================================
> Upgrade  1 Package
> 
> Total download size: 46 M
> Is this ok [y/N]:
> 
> This was on a machine that had been fully updated yesterday.
> ----------------------------------------------------------------------
> - Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
> - AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
> -                                                                    -
> -  The problem with being poor is that it takes up all of your time  -
> ----------------------------------------------------------------------
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
> 

-- 
Radek HolĂ˝
Associate Software Engineer
Software Management Team
Red Hat Czech


More information about the users mailing list