[Yum] Invoking RPM with --replacefiles to install configuration files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2005-06-30 at 18:57 -0700, Matthew Braithwaite wrote:
> I have an RPM of /etc/sudoers which I'd like to install with yum.
> Unfortunately, /etc/sudoers is also claimed by RedHat's sudo RPM, so
> the only way I've been able to install my RPM so far is with "rpm
> --replacefiles".
> 
> An option to use --replacefiles has been added to OpenDarwin's fork of
> yum, but so far as I can tell this feature is not available in the
> canonical yum.

forks for silly reasons, how nice.


> Any advice?  If there's a way to fix the spec file of my /etc/sudoers
> RPM so that --replacefiles isn't required, that'd be great, but I
> haven't been able to figure out how to do this.

don't have a different package try to own a package than the package
that owns it.

if sudo owns /etc/sudoers and you want to modify /etc/sudoers from the
default then replace the sudo package with the package you'd rather
have.

-sv



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux