On 11/28/18 9:30 AM, Ed Greshko wrote:
> On 11/28/18 9:30 AM, Ed Greshko wrote:
>> On 11/28/18 9:21 AM, Tom Horsley wrote:
>>> But that wastes time re-downloading all the repos
>> So?   Make an for dnf that does the --refresh and also disables the repos 
>> you don't care
>> to about?
>>
> Make an "alias".
>
[egreshko@acer ~]$ which dnfup
alias dnfup='sudo dnf --refresh
--disablerepo=fedora,fedora-cisco-openh264,rpmfusion-free,rpmfusion-nonfree,adobe-linux-x86_64,fedora-modular
upgrade'
        /usr/bin/sudo

[egreshko@acer ~]$ time dnfup
Fedora Modular 29 - x86_64 - Updates               4.6 kB/s |  15 kB     00:03  
 
Fedora 29 - x86_64 - Updates                       6.9 kB/s |  16 kB     00:02  
 
google-chrome                                      794  B/s | 1.3 kB     00:01  
 
RPM Fusion for Fedora 29 - Free - Updates          6.3 kB/s |  13 kB     00:02  
 
RPM Fusion for Fedora 29 - Nonfree - Updates       3.9 kB/s |  13 kB     00:03  
 
Dependencies resolved.
Nothing to do.
Complete!

real    0m15.856s
user    0m3.143s
sys     0m0.333s

Looks like I saved around 3~4 seconds.

-- 
Right: I dislike the default color scheme Wrong: What idiot picked the default 
color scheme
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to