Feature or bug? (strange?) yum behaviour
David Mansfield
fedora at dm.cobite.com
Tue Apr 1 20:31:21 UTC 2008
On Tue, 2008-04-01 at 16:22 -0400, seth vidal wrote:
> On Tue, 2008-04-01 at 15:15 -0500, Les Mikesell wrote:
> > Jeff Spaleta wrote:
> > >
> >
> > >
> > > The main reason would be that for most of the commands, yum decides for
> > > itself each time whether or not it will spend several minutes chatting
> > > with repositories and mucking around the rpm database before getting
> > > back to the human that may have not typed the right question the first
> > > time.
> > >
> > >
> > > yum -C list installed gimp
> >
> > It still wastes a lot of time, although I'm looking at fc6 - maybe it is
> > better on newer versions:
> >
> > # time rpm -q gimp
> > gimp-2.2.17-1.fc6
> > real 0m0.129s
> >
> > [root at moola ~]# time yum -C list installed gimp
> > Loading "downloadonly" plugin
> > Loading "installonlyn" plugin
> > Installed Packages
> > gimp.i386 2:2.2.17-1.fc6 installed
> > real 0m3.566s
> >
> > And it gets worse on machines with more repos installed.
>
> yum latest on fc6 is over 15 releases of yum ago.
>
> And that's been over a year.
>
> Please don't make comments about things from that long ago.
>
> -sv
On F8:
[root at localhost ~]# time rpm -q gimp
gimp-2.4.4-1.fc8
real 0m0.102s
user 0m0.032s
sys 0m0.008s
[root at localhost ~]# time yum -C list installed gimp
Installed Packages
gimp.i386 2:2.4.4-1.fc8
installed
real 0m3.450s
user 0m2.829s
sys 0m0.394s
As you can see, it's about the same on my machine.
David
More information about the fedora-devel-list
mailing list