list of rpms in iso file

Michael Schwendt mschwendt at gmail.com
Sat Sep 10 10:48:39 UTC 2011


On Sat, 10 Sep 2011 02:58:25 -0400, KJC (Kevin) wrote:

> On 09/10/2011 12:12 AM, Craig White wrote:
> > On Fri, 2011-09-09 at 22:15 -0600, Frank Cox wrote:
> >> On Fri, 9 Sep 2011 23:02:27 -0500
> >> Ranjan Maitra wrote:
> >>
> >>> I have been trying to determine what are the packages in a live iso
> >>> file?
> >>
> >> If it's an iso file, then just mount the iso and see what's listed in the
> >> directory.
> > ----
> > makes sense - my understanding of 'live' is that there aren't any rpm
> > files at all - just a installed copy and if you choose to install it
> > onto a hard disk, there's no anaconda or rpm installation but rather a
> > copy of the live image to the hard drive.
> 
> Which happens to include an RPM database that lists all of the installed
> RPMs....
> 
> While the Live iso is booted:
> 
> rpm -qa
> 
> should list the installed RPMs

Even with just the ISO mounted somewhere, you could try querying the
RPM database with a compatible version of RPM:

  rpm -qa --dbpath DIRECTORY

-- 
Fedora release 16 (Verne) - Linux 3.1.0-0.rc4.git0.0.fc16.x86_64
loadavg: 0.09 0.19 0.13


More information about the users mailing list