[Apt-Rpm] How do I hold back individual packages from being upgraded

Gary L. Greene Jr. greeneg at tolharadys.net
Thu Dec 13 20:24:51 PST 2007


On Thursday 13 December 2007 02:58:05 pm Nigel Henry wrote:
> I have a problem with the fltk package. The Fedora 7 version will not work
> with Zynaddsubfx, so I've replaced the Fedora 7 version of fltk with that
> from FC5.
>
> Now when I run apt-get update, followed by apt-get dist-upgrade, apt-get
> wants to upgrade fltk to the Fedora 7 version again, which I don't want.
>
> I've looked through the man pages for apt-get, but all I can find is the
> option --ignore-hold, but can't find any info on how to place a hold on a
> specific package.
>
> Any magical incantions I can use to hold back the upgrading of fltk?
>
> Distro: Fedora 7
> Apt version: apt-0.5.15lorg3.2-12.fc7
>
> Gratefull as always for any help.
>
> Nigel.
> _______________________________________________
> Apt-Rpm mailing list
> Apt-Rpm at lists.laiskiainen.org
> http://lists.laiskiainen.org/listinfo.cgi/apt-rpm-laiskiainen.org

You'll want to look into pinning the version you want. Take a read of the 
apt_preferences man page. There is also some info about this on 
http://www.apt-rpm.org/

-- 
Gary L. Greene, Jr.
Sent from: peorth.tolharadys.net
 20:21:42 up 15 days, 46 min,  3 users,  load average: 1.36, 1.13, 1.03
==========================================================================
Developer and Project Lead for the AltimatOS open source project
Volunteer Developer for the KDE open source project
See http://www.altimatos.com/ and http://www.kde.org/ for more information
==========================================================================

Please avoid sending me Word or PowerPoint attachments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/attachments/20071213/f2cee0bd/attachment-0003.pgp>


More information about the Apt-Rpm mailing list