[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Identifying the origin of packages



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.


Reply to: