hook into rpm install/update/deletion of any package (for etckeeper)

seth vidal skvidal at fedoraproject.org
Mon May 19 19:29:53 UTC 2008


On Mon, 2008-05-19 at 21:32 +0200, Till Maas wrote:
> On Mon May 19 2008, seth vidal wrote:
> > On Mon, 2008-05-19 at 20:31 +0200, Till Maas wrote:
> 
> > > I knew there are yum plugins and etckeeper will probably need one, but it
> > > would not be enough for me, because I also often install packages via rpm
> > > when I built them myself.
> >
> > May I Introduce you to yum install /path/to/some/file.rpm :)
> 
> Thank you, but this way I fear that I install unsigned rpms from a repository 
> because my locally built rpms are not signed (otherwise they are broken, 
> because rpms does not support the keylength of my gpg key) and therefore 
> afaik I had to disable the check for gpg signatures.

no, you don't

yum --nogpgcheck install /path/to/some/file.rpm

OR

you set gpgcheck=0 in yum.conf under [main]

and set gpgcheck=1 in each of your [repo] sections.

That way your repos always default to gpg checking and your local
installs do not.

if you so desired.

-sv





More information about the fedora-devel-list mailing list