Re: why two sets of output for every yum package query?

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

 



On Mon, 2008-07-28 at 11:27 -0400, Robert P. J. Day wrote:
> On Mon, 28 Jul 2008, Patrick O'Callaghan wrote:
> 
> > On Mon, 2008-07-28 at 09:58 -0400, Robert P. J. Day wrote:
> > > i don't recall seeing this behaviour before:
> > >
> > > $ yum info coreutils
> > > Loaded plugins: refresh-packagekit
> > > Installed Packages
> > > Name       : coreutils
> > > Arch       : i386
> > > Version    : 6.10
> > > Release    : 27.fc9
> > > Size       : 10 M
> > > Repo       : installed
> > > Summary    : The GNU core utilities: a set of tools commonly used in shell scripts
> > > URL        : http://www.gnu.org/software/coreutils/
> > > License    : GPLv3+
> > > Description: These are the GNU core utilities.  This package is the combination of the
> > >            : old GNU fileutils, sh-utils, and textutils packages.
> > >
> > > Available Packages
> > > Name       : coreutils
> > > Arch       : i386
> > > Version    : 6.10
> > > Release    : 27.fc9
> > > Size       : 4.4 M
> > > Repo       : updates
> > > Summary    : The GNU core utilities: a set of tools commonly used in shell scripts
> > > URL        : http://www.gnu.org/software/coreutils/
> > > License    : GPLv3+
> > > Description: These are the GNU core utilities.  This package is the combination of the
> > >            : old GNU fileutils, sh-utils, and textutils packages.
> > >
> > >   this seems to be happening no matter which installed package i
> > > query.  thoughts?
> >
> > Look at the Repo line in each record. What you are seeing is the
> > actual installed size (10M) versus the downloadable package size
> > (4.4M). RPM packages are compressed. If the package wasn't
> > installed, you'd only see the repo record.
> 
> oh, i noticed that, but has it *always* done it that way?  i've just
> never noticed that, and i'm *sure* i've done that kind of query
> before.

I really don't remember. yum has evolved quite a lot since its first
release, so you may be right.

Also, IMHO it would be clearer if the Size line specifically stated
whether it meant installed size or package size. It would be easy to do
even for non-installed packages, since the RPM header format has this
information already.

poc

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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