Re: ubuntu 12.04 LTS how to avoid GRUB update‏

Tom H tomh0665 at
Thu Jan 14 12:07:26 UTC 2016

On Thu, Jan 14, 2016 at 11:15 AM, Ralf Mardorf <silver.bullet at> wrote:
>> 3. 'apt-mark hold <list of removed packages>'
>> This prevents them from being installed again
> I'm uncertain if apt GUIs care about all apt preferences. IIRC (I might
> be mistaken) Synaptic does not care about all apt preferences, instead
> it provides it's own preferences. IIRC Synaptic allows to lock installed
> packages, but not to prevent packages from getting installed.

apt-mark uses "/var/lib/dpkg/status" to record a "hold" like dpkg.

Very recent aptitude uses "/var/lib/dpkg/status" too but it uses the
"Dselect-State" field in "/var/lib/aptitude/pkgstates" in 12.04.

synaptic uses "/var/lib/synaptic/preferences" and doesn't mention
"hold" in it; it uses a pinning syntax similar to


More information about the ubuntu-users mailing list