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

2012-03-27 Thread Daniel Hartwig
On 27 March 2012 05:51, William r...@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.


Regards



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2012-03-27 Thread Daniel Hartwig
On 27 March 2012 16:07, Daniel Hartwig mand...@gmail.com wrote:

 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.


Otherwise you can use user-tags to track the packages you are
interested in yourself.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2012-03-26 Thread Daniel Hartwig
On 26 March 2012 20:38,  r...@libertysurf.fr wrote:
 Package: aptitude
 Version:0.6.3-3.2

 Hello,

 I think aptitude lacks a feature : being able to tell the user what he has
 installed already (in order to let him do clean up). I think of a feature such
 as in windows (control panel / add or remove programs), were you can
 identify easily what you have installed.


You can get very similar to Windows add-remove-programs with just '~i!~M'.

Better, in fact, because the list will not contain programs which are
simply dependencies of others (i.e. the junk searchbars and such that
come with many Windows software).

 the automatic/installed/not installed categories do not tell if a package
 was there because it was a choice of the distribution, or if it is there
 because the user installed it.

 To do that, Ubuntu.fr provides a nice command on
 http://doc.ubuntu-fr.org/aptitude, though it could be updated :
 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$))'


If you ignore everything but the first part it is more memorable:

$ aptitude search '~i!~M'

but will show you some distribution packages also.  However, I think
you will find that is still a much more manageable list and can also
be used interactively, by pressing L and entering the same search
pattern.

APT and aptitude already make a good effort to keep track of which
packages the user has specifically chosen to install.  It is difficult
to mark the distribution packages as otherwise, so these are mostly
counted as manually installed.

Regards



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org