How can I get a list of packages installed (excluding dependencies) on an Ubuntu installation that I cannot boot into?
Something like this answer aptitude search '~i!~M'
but reading packages from an external HDD on which Ubuntu 15.04 is installed.