home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!spool.mu.edu!agate!usenet.ins.cwru.edu!wariat!kf8nh
- From: kf8nh@kf8nh.wariat.org (Brandon S. Allbery)
- Newsgroups: comp.os.linux
- Subject: Re: A discipline for packages
- Message-ID: <T8BmwB1w165w@kf8nh.wariat.org>
- Date: Wed, 30 Dec 92 18:24:40 EST
- References: <marcf.725692346@yorku.ca>
- Distribution: world
- Organization: Brandon S. Allbery's Personal System
- Lines: 45
-
- marcf@nexus.yorku.ca (Marc G Fournier) writes:
- > nelson@crynwr.com (Russell Nelson) writes:
- > >You know something I've always hated about Unix (and people are
- > >starting to hate about Windows)?
- > >When you install a package, it inserts itself inextricably into
- > >various places in your system.
- >
- > >What I would rather see is a subdirectory per package. For example,
- > >/package/sendmail (and the corresponding subdirectories lib, src, cf,
- > >man.1, man.5, man.8, bin, etc).
- >
- > I don't see a benefit to this at all. On top of the inefficiency
- > of it all...you would be wasting a hell of a lot of i-nodes doing this
- > as well (among probably a hundred other things)
-
- I would probably do this in a fashion similar to SCO (omigod, did I really
- SAY that???! :-) which adds a file to an "installed packages" directory
- listing the pathnames, owner, group, and permissions of all files installed
- by the package. An uninstall program then reads this file to remove the
- package. There is also a command to adjust the permissions on a single file
- or an entire package (!).
-
- The shortcomings of SCO's approach are:
-
- (1) no good way to cope with replaced files at uninstall time;
- (2) no way to specify that a file should be left alone when you install a
- package update.
-
- If, in my copious spare time [ ;-) ] I can manage to put together an
- install/uninstall/update package that works that way, I'll be glad to donate
- it to Peter so SLS will have a better install/uninstall package than the
- commercial *xes :-) --- after all, how many of those deal nicely with the
- "update" case? I would include a way to specify a data file update/backoff
- program as well, so an update won't stomp your data files or force you to
- update them manually (well, it won't help with private data files aka dot
- files, etc.) and if you back off the update it can convert them back for you
- as well.
-
- Comments? Suggestions? Criticism? Let's do this right and create an
- install package that will make the commercial vendors green with envy! :-)
-
- ++Brandon
-
- He's BAAAACK! Brandon S. Allbery NOTE NEW ADDRESS!!! kf8nh@kf8nh.wariat.org
-
-