Re: dpkg and sqlite redux

2007-04-13 Thread Andreas Barth
* sean finney ([EMAIL PROTECTED]) [070414 00:37]: > - i'm not advocating sqlite necessarily, but some db library. and not even > some db library as much as a smarter way of storing information to begin > with, > though some db's do provide advantages (query syntaxes, etc) > - i'm also suggest

Re: Question about dpkg -r

2007-04-13 Thread Andreas Barth
* Kris Deugau ([EMAIL PROTECTED]) [070414 00:02]: > Hope Duryea wrote: > > The problem is my /usr is actually a symlink, > [snip behaviour explanation] > > I have to ask... *Why* do you have /usr as a symlink? Extra partition, > loopback mount, NFS mount I can understand... Symlink I just can't

Re: Question about dpkg -r

2007-04-13 Thread Goswin von Brederlow
Hope Duryea <[EMAIL PROTECTED]> writes: > The problem is my /usr is actually a symlink, and > despite the fact that it has lots of files and other > subdirs in it (in the real dir it's a link to, that > is), dpkg -r does remove it. So I was trying to think > of some way to prevent that happening.

Re: Question about dpkg -r

2007-04-13 Thread Goswin von Brederlow
Hope Duryea <[EMAIL PROTECTED]> writes: > Hi all, > > I haven't read through the entire source, but from > what I can tell by using dpkg -r on a package, and > from looking at isdirectoryinuse(), and the call to it > in remove.c, it seems the criteria for whether a > directory is included in the r

dpkg and sqlite redux

2007-04-13 Thread sean finney
hi folks, sorry for breaking the thread, but i'm not subscribed and i wasn't cc'd, and my current MUA sucks. > from ian: > Well, I don't know if I still count as one of the `dpkg team' but I > think this is a terrible idea for lots of reasons. dpkg needs to be > very reliable; its databases mus

Re: Question about dpkg -r

2007-04-13 Thread Kris Deugau
Hope Duryea wrote: > The problem is my /usr is actually a symlink, [snip behaviour explanation] I have to ask... *Why* do you have /usr as a symlink? Extra partition, loopback mount, NFS mount I can understand... Symlink I just can't see being more useful than any of the other three I noted, or

Re: Question about dpkg -r

2007-04-13 Thread Hope Duryea
The problem is my /usr is actually a symlink, and despite the fact that it has lots of files and other subdirs in it (in the real dir it's a link to, that is), dpkg -r does remove it. So I was trying to think of some way to prevent that happening. There's this comment in remove.c: /* Only delete