How do I remove obsolete packages after upgrading to 14.04?

Posted by Nikhil Mahajan on Ask Ubuntu See other posts from Ask Ubuntu or by Nikhil Mahajan
Published on 2014-05-29T15:52:58Z Indexed on 2014/05/29 15:55 UTC
Read the original article Hit count: 284

Filed under:
|
|
|

While upgrading to 14.04, I got a prompt asking if I wanted to remove obsolete packages and that it would take hours to do so. So, I said "No" and decided to do it later.

However, after the upgrade when I run sudo apt-get autoremove, it removes no packages at all.

But when I run aptitude search '~o' I get a list of many obsolete packages.

How do I remove all the obsolete packages in a proper manner?

© Ask Ubuntu or respective owner

Related posts about apt

Related posts about 14.04