[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: Add a fake rpm in database



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
> 
> 	ftp://ftp.owlriver.com/pub/mirror/ORC/dummy-xscreensaver/
> 
> 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@xxxxxxxx>
    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.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch List]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]