Re: apt-get and hold/ignore

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

 



On Wed, 23 Jun 2004, Frank Pineau wrote:

> Ok, I'm stumped.  In debian, you could put a hold on a package with dpkg
> --set-selections.  In the FC world, I can't for the life of me figure
> out how to do that with either apt-get or synaptic.  It's very annoying
> because I have several packages installed that are newer than what's in
> the repositories (xscreensaver, for example) and apt-get insists it's
> older and wants to upgrade it.

That's case of missing epoch's in your local newer packages, fix that and 
the problem is gone.

> 
> Can anyone tell me how to get apt-get/synaptic to ignore a package in
> FC2?

You can put a packages "on hold" in apt-rpm with this in apt.conf:
RPM::Hold:: {"pkg1"; "pkg2";};

The other, more complex way is to use pinning, for the gory details see 
"man apt_preferences"

	- Panu -



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux