I used synaptic to lock the version of pidgin-data - how can I change the status from hold back to normal, so that it gets upgraded properly?
The PinningHowto says that doing an apt-get install packagename should remove the hold, but running dpkg -l | grep ^h still shows it as held:
hi pidgin-data 1:2.10.6-0ubuntu1+pidgin1.12.04 multi-protocol instant messaging client - data files
How can I properly undo the hold status?
sudoproblem is probably because you wrote justsudo echo "package_name install"|dpkg --set-selections. This sudoes theechobut not the following pipe, hence the access error. Try this instead:sudo -E -- sh -c 'echo "package_name install"|dpkg --set-selections'. This sudoes a sub-shell whose command line isecho "package_name install"|dpkg --set-selections. – Urhixidur Sep 29 '14 at 14:24However the question specifically uses
apt-getas an example and that is why I answered usingapt-markwhich is included in the apt package.It is however very helpful to know exactly why the dpkg commands were not working.
– sturlabragason Dec 16 '14 at 20:35apt upgradeit still tells me the same packages are being kept back! – Michael Oct 22 '20 at 23:52