Add a fake rpm in database

Stuart D. Gathman stuart at
Wed Nov 17 04:28:48 UTC 2010

On Tue, 16 Nov 2010, R P Herrold wrote:

> On Fri, 12 Nov 2010, Murilo Opsfelder wrote:
> > I'd like to know if it's possible to add a kind of fake rpm in rpm database.
> >
> > I would provide all rpm headers, for instance, from a file and add these
> > headers in rpm database. As if I was running "insert" commands in it.
> >
> > I only need rpm name and version to be added in database.
> I suspect a 'dummy' RPM, triviallty created and installed, will meet your
> requirement
> has a worked example, of a .spec file that provides an rpm name, and a version
> set as to your choice, to the rpm database.

The dummy RPM is the more elegant long term solution, but for a one-off
there is the --justdb option to rpm.

	      Stuart D. Gathman <stuart at>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

More information about the Rpm-list mailing list