Home > Linux Tutorials > Make apt respect your pinned or locked versions

Make apt respect your pinned or locked versions

June 22nd, 2010

In ubuntu 10.04, I noticed if I locked a package using Synaptic,  running apt-get upgrade would ignore the lock and attempt to upgrade locked packages.  I solved this, by creating a symlink in “/etc/apt”.

I ran “sudo ln -s /var/lib/synaptic/preferences preferences” in /etc/apt

admin Linux Tutorials

Comments are closed.