Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2002 01:28:57 +1030
From:      "Richard Russell" <richard@yellowgoanna.com>
To:        "'Pete French'" <pfrench@firstcallgroup.co.uk>, <freebsd-stable@freebsd.org>, <ripper@eskimo.com>
Subject:   RE: pkg_info Ideals
Message-ID:  <000201c1b88c$ca743470$0c00a8c0@albert>
In-Reply-To: <E16cXNR-0009Y9-00@mailhost.firstcallgroup.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

> That might be useful, but for another prurpose - to have some 
> wahy of doing a pkg_delete "recursively" but downwards. I.e. 
> when I install package X and it depends on Y and Z it will 
> install them. But it would be really nice if when I deinstall 
> X it would deinstall Y and Z if nothing else depends on them. 
> This could be done by applying the above to dependencies of 
> the package and seeing if they can be deleted.

I'm a newbie here, so I'm probably posting out of my depth, but one
thing I've always wanted (for debian, at least -- but it applies equally
here), is some sort of file like "/etc/conf.conf", which lists the set
of packages you actually want installed, and then some (software) tool
would be able to use this to add and remove things so that only what you
wanted and their dependencies were ever installed. This would mean easy
deletion of (say) GNOME and dependencies, simply by removing "gnome"
from that file, and running make re-conf or something. Basically, it
would be a highly flexible, customisable misc/instant-workstation. If
there was some tool for listing the packages that were "roots of
dependency", then this output could be merely sorted and compared with
the conf.conf file recursively, and packages added and deleted as you
go... (of course, you may wish to do some confirming, and actually
checking what you're deleting/adding before doing anything at all,
but... well... the devil's in the details :)

rr

-- 
Richard Russell
Yellow Goanna Pty Ltd
e: richard@yellowgoanna.com
m: +61 412 827 805
f: +61 8 8462 2362
 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201c1b88c$ca743470$0c00a8c0>