Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I got a MID based on ubuntu os.The version if its software is pretty old.So I decide to upgrade the system.But apt-get upgrade does not work,it appears packages are prevented from upgrade.I can I unlock them


share|improve this question
A bit more information could be useful... –  RobinJ Feb 22 '12 at 13:03

1 Answer 1

up vote 3 down vote accepted

Some packages (like the kernel) can only be upgraded with sudo apt-get dist-upgrade.

For pinned packages, have a look at the /etc/apt/preferences file and the files in the /etc/apt/preferences.d directory. Usually the file and directory is empty unless you've manually set values. Removing a file will then remove the pin.

share|improve this answer
what if that file and folder are empty? How do I unhold it then? and should I? refering to: askubuntu.com/questions/449399/… –  rubo77 Apr 18 '14 at 2:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.