13

Is there an apt, apt-get or dpkg command or option that will enable me to list the installed packages into the main, restricted, universe and multiverse repositories they were installed from separately?

If not is there another way to list packages separately according to repositories?

2

1 Answer 1

12

You can do the latter with aptitude - for example

aptitude search '?narrow(?installed, ?section(universe))'

or

aptitude search '?narrow(?installed, ?section(universe/math))'

Ex.

$ aptitude search '?narrow(?installed, ?section(multiverse))'
i   ttf-mscorefonts-installer                                               - Installer for Microsoft TrueType core fonts                                      
i   ubuntu-restricted-addons                                                - Commonly used restricted packages for Ubuntu

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .