Re: Another Fedora-supporting web site

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

 



Christoph Wickert wrote:

# 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



$ rpm -qa *printer*
redhat-config-printer-0.6.79-1
redhat-config-printer-gui-0.6.79-1

0.6.79-1 < 0.6.9.79-1.1


online

$ time yum -C search printer
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Unreleased Updates
Finding updated packages
Downloading needed headers
Looking in available packages for a providing package
Available package: redhat-config-printer.i386 0:0.6.79.1-1 from updates-testing matches with
redhat-config-printer
Available package: redhat-config-printer-gui.i386 0:0.6.79.1-1 from updates-testing matches with
redhat-config-printer-gui
2 results returned
Looking in installed packages for a providing package
Installed package: redhat-config-printer.i386 0:0.6.79-1 matches with
redhat-config-printer
Installed package: redhat-config-printer-gui.i386 0:0.6.79-1 matches with
redhat-config-printer-gui
2 results returned


real    0m1.700s
user    0m1.180s
sys     0m0.320s


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.



offline

$ time yum -C search printer
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Unreleased Updates
Finding updated packages
Downloading needed headers
Looking in available packages for a providing package
Available package: redhat-config-printer.i386 0:0.6.79.1-1 from updates-testing matches with
redhat-config-printer
Available package: redhat-config-printer-gui.i386 0:0.6.79.1-1 from updates-testing matches with
redhat-config-printer-gui
2 results returned
Looking in installed packages for a providing package
Installed package: redhat-config-printer.i386 0:0.6.79-1 matches with
redhat-config-printer
Installed package: redhat-config-printer-gui.i386 0:0.6.79-1 matches with
redhat-config-printer-gui
2 results returned


real    0m1.769s
user    0m1.270s
sys     0m0.230s



So my vote still goes to apt.



i prefer wget , rpm, srpm, tar;./configure;make;make install ;-)


but my vote would go to yum simple reasons, - it is in fedora - i can copy&paste the url in the yum.conf [serverid] name= baseurl= or in the rhn/sources ### an yum style repo ### format: ### type channel-label url

vs.

### an apt style repo
### format is:
### type  channel-label      service:server         path        repo name

--
shrek-m




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

  Powered by Linux