Upgrade in held (Debian)

The Issue

It’s seems to be a common issue. You want to upgrade but apt shows that a certain number of packages will be held and not upgraded. In extremes cases, apt will hold all the packages and refuse to upgrade altogether. Cleaning the cache and/or purging unused repos won’t make it. You have to use a different kind of command.

The Solution

The first time clean the cache and type  “apt-get dist-upgrade”.  You will see that apt no longer refuses to upgrade.  From that moment on, anytime there are packages on hold, regardless the quantity, you only need to type the dist-upgrade command. From time to time, you may want to clean the cache as well but that’s not mandatory.


Hope this is useful and thanks for reading!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.