Taking Package out of update mechanism

Sascha Effert fermat at uni-paderborn.de
Tue Jun 2 14:02:34 UTC 2009


Hallo,

I got it with a hint, I got via PM. what I had to do is apt pinning as 
described at http://jaqque.sbih.org/kplug/apt-pinning.html and man 
apt_preferences. I created a file /etc/preferences with the following input:

Package: kile
Pin: version 2.0*
Pin-Priority: 1001

Now apt upgrade does no more try to update to version 2.1 of kile.

tschau

Sascha Effert


On Dienstag, 2. Juni 2009 12:43:53 Sascha Effert wrote:
> Hallo,
>
> On Dienstag, 2. Juni 2009 12:18:53 Tim Frost wrote:
> > On Tue, 2009-06-02 at 11:51 +0200, Sascha Effert wrote:
> > > I am using kile to edit latex source code. In the version shipped with
> > > ubuntu 9.04 (Kile 2.1) the spell checking is broken (it shows latex
> > > commends as failures), at least in german. Therefore I installed the
> > > Version from ubuntu 8.04 (2.0) which works quite good for me. My
> > > problem is now, that apt wants to update it to version 2.1. Is there a
> > > way to tell apt, that I do not want updates for this package? I tried
> > > to find a way using synaptic, but was not successfull.
> >
> > You can do this in Synaptic.  Select kile in the package list, then use
> > the menu to set Package->Lock version.  (Not sure what the German
> > equivalent of the menu options are)
>
> It is "Packet->Version sperren" if you would like to know... :-)
>
> I did this and it works for synaptic. If I tellt it to mark all updates it
> does not mark kile. My problem is, that calling atp-get upgrade in the
> shell kile still is added to the updates. Is there any way to make the Lock
> available to apt?
>
> bests
>
> Sascha Effert




More information about the ubuntu-users mailing list