Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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:… – 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.