How to lock a package version in apt-get
Markus Schönhaber
ubuntu-users at list-post.mks-mail.de
Sat Sep 5 19:06:04 UTC 2009
Dotan Cohen:
>> BTW: if you lock a package in Synaptic, Synaptic writes the relevant
>> info to /var/lib/synaptic/preferences. The syntax of the pinning info in
>> this file seems to be identical to what is required in
>> /etc/apt/preferences. So, you can let Synaptic do the work for you and
>> simply copy the relevant info to /etc/apt/preferences.
>
> In theory, yes.
And also in practice.
> However, in practice:
> https://launchpad.net/ubuntu/+source/synaptic/+bug/42178
Which does in no way contradict what I wrote previously.
Synaptic and apt use different preferences files. That's why I suggested
to copy the information from one file to the other.
--
Regards
mks
More information about the ubuntu-users
mailing list