[Yum] what is "yum list installed" doing with the headers?

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

 



On Sun, 28 Dec 2003 10:10:07 -0500
seth vidal <skvidal@xxxxxxxxxxxx> wrote:

> On Sun, 2003-12-28 at 08:34, Robert P. J. Day wrote:
> >   according to the docs,
> > 
> >   $ yum list installed
> > 
> > will list the packages installed on my system.  but running that
> > will, every time, take several seconds to scan my list of servers,
> > find updated packages and download headers.  why?  based on the
> > docs, this should be(it seems) equivalent to nothing more than "rpm
> > -qa".  (in fact, the list of installed packages lists them as coming
> > from the repo "db", which i assume means database).
> > 
> > if that's the case, why would asking for a list of installed
> > packages require any consultation of the yum repositories?
> 
> The extended command line options (like installed, available, etc) are
> not parsed until after the initial state is setup. Reading the header
> lists is part of the initial state setup.
> 
> It might be reasonable to parse out the quick-cases and/or change
> where the extended options are handled, but it's not going to be
> terribly immediate on my list.
> 
> -sv

Wouldn't "yum -C list installed" provide the desired speed?

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux