Re: Overriding specific packages

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

 



On Mon, 2006-12-18 at 05:32 +0100, Fredrik Tolf wrote:
> Hi list!
> 
> Please forgive me if I'm just blind, but I have looked and looked
> without finding anything on the following subject, even though I think
> it ought to be a rather common thing to do.
> 
> What I'd like to do with Yum is to "override" specific packages with
> local versions. For example, I've patched screen with some Kerberos
> support, and would like to use it instead of the screen in my distro's
> (Fedora) repo.
> 
> If I'm not mistaken, just packaging it as an RPM and installing it
> wouldn't cut it, since that would make Yum overwrite it again with
> Fedora's version the next time Fedora decides to throw an upgrade at me,
> right?
> 
> So, does anyone have any tip on how to accomplish this? It is the second
> most important reason why I'm currently using Gentoo on most of my
> systems.
> 

easiest way. For the package(s) you want to ignore changes from specific
repos.

in the .repo  file for that repo add a

exclude=mypackage


for example:
[extras]
name=fedora extras
baseurl=....
exclude=mypackage otherpackage foopackage


that's really it

-sv


_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[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