On Fri, Sep 29, 2006 at 09:08:18AM -0400, Jeff Quast wrote:
On 9/29/06, Sideris Michael [EMAIL PROTECTED] wrote:
I don't get how tagging will help keeping your package list as small as
possible. Let me give an example:
We have 2 packages, Y and Z that were explicitly installed and are
On Fri, Sep 29, 2006 at 11:41:29PM +0930, Graham Gower wrote:
The dependencies should get a reference counter rather than a tag.
Graham
Can you elaborate a bit on that by giving an example?
--
Sideris Michael
http://black.daemons.gr/msid/
On Fri, Sep 29, 2006 at 03:22:39PM +0300, Sideris Michael wrote:
On Thu, Sep 28, 2006 at 06:37:18PM +0200, Marc Espie wrote:
And of course there are common situations that neither approach handles
very well. If I install openldap-server it will install openldap-client
as a dependancy. If
On Fri, Sep 29, 2006 at 04:26:01PM +0200, Marc Espie wrote:
Just remove everything you don't need that was not tagged as explicitly
installed, wanted by the user.
Be specific. Remove what? The dependencies won't be marked as explicitly
installed. They are going to be removed? They should not.
Don't waste too much time perfecting this.
The right approach is to have pkg_add tag packages that the user really
installed vs. stuff that is needed for dependencies. It's in my queue
of things to do.
On Thu, Sep 28, 2006 at 12:08:33PM +0200, Marc Espie wrote:
| Don't waste too much time perfecting this.
|
| The right approach is to have pkg_add tag packages that the user really
| installed vs. stuff that is needed for dependencies. It's in my queue
| of things to do.
I quite often want
On Thu, Sep 28, 2006 at 12:08:33PM +0200, Marc Espie wrote:
Don't waste too much time perfecting this.
I do not. I am aware of the fact that this cannot be merged with the
rest of system the way it is. But if there are any bugs I would like to
fix them.
The right approach is to have pkg_add
On Thu, Sep 28, 2006 at 04:02:04PM +0300, Sideris Michael wrote:
On Thu, Sep 28, 2006 at 12:08:33PM +0200, Marc Espie wrote:
Don't waste too much time perfecting this.
I do not. I am aware of the fact that this cannot be merged with the
rest of system the way it is. But if there are any
On Thu, Sep 28, 2006 at 05:29:24PM +0300, Sideris Michael wrote:
| Consider this. You install openldap-server and openldap-client installs
| as a dependency. You decide to uninstall openldap-server using something
| like:
|
| pkg_delete -F clean openldap-server
|
| The system presents you with
And of course there are common situations that neither approach handles
very well. If I install openldap-server it will install openldap-client
as a dependancy. If I later uninstall openldap-server I may need to keep
openldap-client. Or not. So deleting package dependancies should not be
pkg_dig is a small sh(1) script that extracts useful information from
installed packages. The reason I decided to implement a script like this
was to provide a missing feature of pkg_delete(1). Let me give you an
example:
Let's say we have 2 packages, Y and Z.
Package: Y
Dependencies: A, B, C
Here's a variation on the theme that serves me well.
#!/bin/sh
#
# pkg_nuke - delete unneeded packages
#
# Usage:
# pkg_info wanted
# vi wanted # keep only the lines you want
# pkg_nuke wanted
#
# All packages will be deleted, except the
# wanted packages and their dependencies.
#
[ $#
On Thu, Sep 28, 2006 at 01:27:31AM +0300, Paul Irofti wrote:
I like your tool, it's nicer than cat-ing through pkgdb.
Thanks.
I noticed duplicates with pkgs that are output by your script, some
dependencies are printed in the 'You may also delete' field too.
There are no duplicates. In the
I made a modification to resolve a minor inconvenience I noticed.
Trying pkg_dig with python-tkinter was giving me this result:
[EMAIL PROTECTED] msid $ pkg_dig python-tkinter
*- Package matched: python-tkinter-2.4.3p0
|- Dependencies: tcl-8.4.7p1 python-2.4.3p0 tk-8.4.7
|- Required by: none
|-
14 matches
Mail list logo