On Sat, Jul 01, 2006 at 07:21:01PM +0200, Joachim Schipper wrote: > On Sat, Jul 01, 2006 at 05:00:09PM +0200, Marc Espie wrote: > > On Sat, Jul 01, 2006 at 11:59:28AM +0200, Joachim Schipper wrote: > > > All in all, one would have to be able to mark packages as either > > > 'installed' or 'installed as a prerequisite'. I have a vague > > > recollection that I'd heard Marc Espie say something to the effect that > > > this was a desired feature that might be implemented at some point, but > > > this is not currently possible. > > > > You're correct. > > > > I am a bit annoyed as to how to do the marking specifically. > > > > Rewriting stuff in the plist looks like a lot of work for little benefit. > > > > Adding a specific `mark' file will gobble a lot of inodes quick. > > > > Using chmod on some specific files (say mark the plist +x) sounds very > > kludgy....
> While I don't pretend to know what I am talking about, wouldn't simply > keeping a central list, say /var/db/pkg/installed, of 'installed by > request' packages work? > Of course, this would break the current structure of /var/db/pkg, which > is probably a Bad Idea. Yes, this would. But having a pseudo-package called .user, which would only register these dependencies, might be a good idea...