On 2009-07-12 17:44 (+0100), Tim Beauregard wrote: > I want to remove > > deb http://ftp.debian-unofficial.org/debian unstable main contrib non-free > restricted > > from my sources.list, however I want to be sure that source isn't > currently providing any packages on my system. Is there a command that > can list all the packages from each mirror?
Aptitude has pretty good searching features. With ?origin() or ~O you can select packages by their origin. For example, this prints packages which are installed but their origin is not Debian: aptitude search '?installed?not(?origin(Debian))' I don't know what is the origin string of debian-unofficial.org but the search string could be something like this: aptitude search '?installed?origin(debian-unofficial)' See /usr/share/aptitude/README for more information about Aptitude's features. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org