To prevent such packages from being updated when using for example "sudo apt upgrade" in the command line, you can use
Code: Select all
sudo ln -s /var/lib/synaptic/preferences /etc/apt/preferences.d/synaptic_preferences
But this is separate from using 'apt-mark', so you won't find a list of pinned packages using 'apt-mark showhold'. You can find such list, obviously by looking in Synaptic, but also using
Code: Select all
apt policy
To remove this symlink:
Code: Select all
sudo rm /etc/apt/preferences.d/synaptic_preferences