Re: custom package error: dpkg -P tries to remove /opt

2006-03-08 Thread Goswin von Brederlow
Mike Fogel <[EMAIL PROTECTED]> writes: > Thanks for your help all, I think I'll work around the warning by > creating a "core-custom" package, which will hold the /opt, and be > required by all the other custom packages. I can also use that > package as a meta-package to install all the regular

Re: custom package error: dpkg -P tries to remove /opt

2006-03-07 Thread Mike Fogel
Goswin von Brederlow wrote: "Roberto C. Sanchez" <[EMAIL PROTECTED]> writes: Mike Fogel wrote: $ dpkg -P custom-package ... removal goes perfectly until this error/warning dpkg - warning: while removing custom-package, unable to remove directory `/opt': Device or resource busy - directory

Re: custom package error: dpkg -P tries to remove /opt

2006-03-07 Thread Joey Hess
Goswin von Brederlow wrote: > The bigger question is: Why is no package containing /opt? Shouldn't > that be in base-files like all the other core dirs? It's implemented as it is in base-files so that people who don't want it can rmdir it w/o it coming back on upgrade. -- see shy jo signature.

Re: custom package error: dpkg -P tries to remove /opt

2006-03-07 Thread sean finney
hi goswin, roberto, et al. On Tue, Mar 07, 2006 at 10:17:35AM +0100, Goswin von Brederlow wrote: > The bigger question is: Why is no package containing /opt? Shouldn't > that be in base-files like all the other core dirs? just a wild guess: for the same reason as /usr/local (policy/fhs)

Re: custom package error: dpkg -P tries to remove /opt

2006-03-07 Thread Goswin von Brederlow
"Roberto C. Sanchez" <[EMAIL PROTECTED]> writes: > Mike Fogel wrote: >> $ dpkg -P custom-package >> ... removal goes perfectly until this error/warning >> dpkg - warning: while removing custom-package, unable to remove >> directory `/opt': Device or resource busy - directory may be a mount >>

Re: custom package error: dpkg -P tries to remove /opt

2006-03-07 Thread Lars Wirzenius
ma, 2006-03-06 kello 19:39 -0800, Mike Fogel kirjoitti: > However, I can't seem to figure out how to resolve this error: > > $ dpkg -i custom-package.deb > ... installation goes perfectly > $ dpkg -P custom-package > ... removal goes perfectly until this error/warning > dpkg - warning

Re: custom package error: dpkg -P tries to remove /opt

2006-03-06 Thread Roberto C. Sanchez
Mike Fogel wrote: > hello all debian-devel, > > This seems like a very basic issue, but I've searched through the > mailing lists and web and haven't found any help. > > I'm trying to create a basic set of custom packages which will hold some > of our software, complied and customized as we like

custom package error: dpkg -P tries to remove /opt

2006-03-06 Thread Mike Fogel
hello all debian-devel, This seems like a very basic issue, but I've searched through the mailing lists and web and haven't found any help. I'm trying to create a basic set of custom packages which will hold some of our software, complied and customized as we like it for our machines. We li