Red Hat Bugzilla – Bug 15961
Feature request rpm reads and writes manifest files
Last modified: 2008-05-01 11:37:57 EDT
I would like rpm to read a text file (with \# comments) of
packages and rpm arguments and load that list of packages
from a search list of "rpm package archives"
RPM should also be able to write such a file when any user
wonders what is installed on his system.
Notice that reading the archive is a bit tricky since rpm does not really
have a good filename convention for naming packages so rpm will need to
search the headers of each file in the archive to figure out what the package
is. My package archive is quite large (5,000 files and growing) so there
may need to be a chace to make this usable.
Right now RPM can not write the manifest list because it does not save
the command line arguments which packages are loaded into the system and
rpm does not know how to print out the package names in topologically sorted
Manifests (i.e. glob expressions contained in a file that
can be used to generate a list of packages) are in rpm-4.0.3.