[Aptitude-devel] Bug#665822: Bug#665822: introduce user own marker on installed packages

Daniel Hartwig mandyke at gmail.com
Tue Mar 27 08:07:53 UTC 2012

On 27 March 2012 05:51, William <r.3 at libertysurf.fr> wrote:
> Thanks a lot for your answer. The given command gives 1225 packages :
> $ aptitude search '~i!~M'
> In my case, such a list is clearly not manageable! The ubuntu command :
> aptitude search
> '~i!~M(!~tubuntu-desktop!~tminimal!~tstandard!~tprint-server)(!~n^grub$!~n^linux-!~n^aspell$!~n^openoffice.org-l10n-common$((!~n-fr$!~n-fr-)|~ndoc-fr$))'
> gives 103 packages, which starts to become manageable!
> So, clearly, having a command such as this one, given in the man page, that
> would give the 103 packages, would be very interesting :
> $ aptitude search ~user
> But I can fully understand that aptitude is not able to do it. Indeed, that
> would require a definition of what is from the distribution and what is not,
> which does not seam easy.

The old style tasks have been phased out and replaced by meta-packages
with names beginning with "task-".  As a result of this it is now
possible to have the dependencies of a task marked as automatically
installed and thus most of the clutter in your preferred search
("!~tubuntu-desktop" etc.) will no longer be needed.

However, if you had upgraded from an older system it is likely you
will have to select each task that is installed and mark the
dependencies before this is useful.

I don't believe it will be worth anyone's effort to attempt to define
a "distribution/non-distribution" distinction between packages.


More information about the Aptitude-devel mailing list