A good set of tips from Ubuntu Forums: if you’re looking to do some cleanup on your Ubuntu install, these terminal commands are useful. Of course, I believe if you have this many orphaned files and partially installed packages a reinstall of your operating system might be more helpful. I agree with Leo Laporte’s suggestion to Windows users on his radio show: the common user should reinstall their system and get a fresh start every six months to a year. Luckily, the newest version of Ubuntu comes out on a twice yearly cycle, so this is very convenient for us.