Re: Output of "yum list installed"

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

 



On Mon, 2009-06-22 at 22:32 +0200, Michael Schwendt wrote:
> On Mon, 22 Jun 2009 16:09:04 -0400, Bill wrote:
> 
> > > Coincidence. Yum cannot know that there are updates in repos which
> > > are not enabled.
> > > 
> > If the repos were enabled at one time and the data is still available it can be 
> > checked,
> 
> It doesn't load the metadata. Not even the cached one.
> 
> Unlike "yum list available", which even refreshes _disabled_ repos.
> 
> > and of course yum knows when/if the package installed came from a repo 
> > which is not currently enabled.
> 
> Only if the installation history is found in yumdb (see /usr/sbin/yumdb),
> but it cannot rely on that information, and deleting yumdb doesn't change
> the colours in "yum list installed" output. All I does is to compare the
> installed package with the metadata for the enabled repos and detect the
> different version.  Then it prints the package in yellow, not in
> red. Additionally, it looks at yumdb to find out from which repo the
> installed package came from and prints out that detail.

This is all fascinating, but what I come away with is "yum has a complex
set of rules for color-coding its output, but the developers can't be
bothered documenting them".

poc

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux