Re: emacs won't install if /usr/local is read-only
> I don't see any need to post that restriction on dpkg. dpkg is just a Uhh, it's not a *restriction on dpkg*. It's an *extension* to dpkg to make it more aware of a site's policy. We've already got a policy that says "packages (ie. those part of debian; what you do with your own is up to you) don't put files in /usr/local, but if they *look* for files, there, they should put directories in place." Now some, maybe even many, sites have a networked /usr/local (yeah, sounds like a condradiction; Oh Well) that a particular machine can't write to; it should be possible to handle this. This should also be an *option*; a "normal" site will unstall them as they are... Has this made things at all clearer? > If some official debian packages try to install files in /usr/local Files are irrelevant -- *directories* are still permitted, and even required, by the policy, and dpkg should handle this. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: emacs won't install if /usr/local is read-only
On 4 Jul 1997, Linh Dang wrote: > 1.2.8 and 1.3 exhitbit the same behaviour!!! > > My /usr/local mounted read-only when I install emacs. The package keep > complaining about /usr/local is mounted read-only. This is a bug, so please file a bug report against emacs. The policy concerning /usr/local has been changed. The package may create empty directories below /usr/local, but it must not fail if this is impossible (because /usr/local is mounted read-only). This new policy already described in the draft version 2.2.0.0, which will become "official" in the next few days. You can have a look at it via http://fatman.mathematik.tu-muenchen.de/~schwarz/debian-policy/draft/ch3.html#s3.1 Feel free to ask, if you need more info. Thanks, Chris -- Christian Schwarz [EMAIL PROTECTED], [EMAIL PROTECTED] [EMAIL PROTECTED], [EMAIL PROTECTED] PGP-fp: 8F 61 EB 6D CF 23 CA D7 34 05 14 5C C8 DC 22 BA CS Software goes online! Visit our new home page at http://www.schwarz-online.com -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: emacs won't install if /usr/local is read-only
On 5 Jul 1997, Mark Eichin wrote: > what needs a review are the outstanding inconsistencies between dpkg > and the policy guide. (The guide should of course win :-) I > understand Klee has put some effort into this though probably hasn't > gotten around to this particular one; the simple approach is for the > installer to tell dpkg "/usr/local is off-limits" and dpkg can then > just drop anything that would go there. [This feature should be > somewhat general; it could be used to some extent to terminate the > info vs. html vs. stone tablets (:-) thread...] > I don't see any need to post that restriction on dpkg. dpkg is just a package management tool. It should be able to install files to wherever you tell it to. I build my own versions of xemacs, mc, asclock, xbuffy debian packages with destination in "/usr/local", and use dpkg to install, remove, upgrade them. I found dpkg not only a powerful tool to manage the officail debian packages, but also a very useful tool to manage my own packages in /usr/local. It would be a SAD thing if some features of dpkg were removed. If some official debian packages try to install files in /usr/local (causing the so-called inconsistencies between dpkg and the policy guide), You can simply file bug reports against them. I don't think that's a big problem. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: emacs won't install if /usr/local is read-only
what needs a review are the outstanding inconsistencies between dpkg and the policy guide. (The guide should of course win :-) I understand Klee has put some effort into this though probably hasn't gotten around to this particular one; the simple approach is for the installer to tell dpkg "/usr/local is off-limits" and dpkg can then just drop anything that would go there. [This feature should be somewhat general; it could be used to some extent to terminate the info vs. html vs. stone tablets (:-) thread...] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: emacs won't install if /usr/local is read-only
On Fri, 4 Jul 1997, James R. Van Zandt wrote: > >My /usr/local mounted read-only when I install emacs. The package keep > >complaining about /usr/local is mounted read-only. > > packages are not allowed to store files into /usr/local. However, the > emacs package is installing only directories: > > $ dpkg -L emacs|grep local > /usr/local > /usr/local/lib > /usr/local/lib/emacs > /usr/local/lib/emacs/site-lisp > > I believe that's okay. Technically, I think you're right. However, this effectively means that /usr/local is forbidden to be mounted read-only on debian systems -- at least during package installs. Perhaps the debian policy on this needs a review. (??) FSSTND-1.2 says that /usr/local must be empty after the initial Linux install, except for the subdirectories bin, doc, etc, games, lib, man, sbin, and src. I infer that these subdirs may optionally exist or not exist after initial Linux install. The Debian policy.text.gz file, version 2.1.3.3, requires that packages which search "... a number of directories or files for something" should also search "... an appropriate directory in /usr/local" (but doesn't specify the order of search. I'm not sure I understand this requirement), and also requires that packages should create empty directories in the /usr/local tree, "In order that the system administrator may know where to place additional files." This last requirement, of course, is incompitable with having a read-only /usr/local filesystem during package installs. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: emacs won't install if /usr/local is read-only
>My /usr/local mounted read-only when I install emacs. The package keep >complaining about /usr/local is mounted read-only. packages are not allowed to store files into /usr/local. However, the emacs package is installing only directories: $ dpkg -L emacs|grep local /usr/local /usr/local/lib /usr/local/lib/emacs /usr/local/lib/emacs/site-lisp I believe that's okay. - Jim Van Zandt -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
emacs won't install if /usr/local is read-only
1.2.8 and 1.3 exhitbit the same behaviour!!! My /usr/local mounted read-only when I install emacs. The package keep complaining about /usr/local is mounted read-only. Linh -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
emacs won't install if /usr/local is read-only
1.2.8 and 1.3 exhitbit the same behaviour!!! My /usr/local mounted read-only when I install emacs. The package keep complaining about /usr/local is mounted read-only. Linh -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .