Re: Another Fedora-supporting web site

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mo, den 17.11.2003 schrieb shrek-m@xxxxxx um 11:21:

> 
> $ yum -C search <package>
> 
> $ man yum
> -C     Tells  yum  to  run  entirely  from cache - does not download or
>               update any headers unless it has to  to  perform  the  
> requested
>               action.

Oh, thanks a lot, shrek. I knew that one. But have a look:

# time yum -C search office
Gathering header information file(s) from server(s)
...
Downloading needed headers (so it /looks/ to me, as if it still wants to
                            access the net. I'm always online, so I
                            haven't really tested it yet.)
...
real    0m11.465s
user    0m5.780s
sys     0m0.900s

Now I unplugged my machine from the net:

# time yum -C search office
...
Finding updated packages
Downloading needed headers
Looking in available packages for a providing package
No packages found
...

So with the -C option you can only search installed packages! Did you
try that out before sending this mail? :-)

# time apt-cache search office
...
real    0m5.398s
user    0m3.010s
sys     0m0.880s

Apt-cache is twice as fast, the output is more clean and the description
is included, too.

So my vote still goes to apt.

Christoph




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux