dnf update vs Software Udpates

Rick Stevens ricks at alldigital.com
Wed Jul 22 17:57:39 UTC 2015


On 07/22/2015 10:52 AM, Rick Stevens wrote:
> 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
>
> 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.

Open mouth, insert foot. While what I did did result in the chrome
update, a "dnf clean metadata;dnf update" did come up with 21 more
items to update--even though it said the metadata was 45 seconds old.

dnf really needs some serious surgery.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-              Death is nature's way of dropping carrier             -
----------------------------------------------------------------------


More information about the users mailing list