How can I 'logically' provide a package?

1996-11-03 Thread Benedikt Eric Heinen

Hi there,

  [  I really hope I didn't miss something in the documentation and FAQ, 
 since I can't imagine noone else ever thought about this, but...

 So - if this is somewhere in the doc or FAQ, please don't respond
 to the list, but mail me directly and hand me a pointer to the 
 info I'm looking for ].


  is it (easily) possible within dselect to permanently 'provide' a
package, without actually installing it?
  For instance, as I belong to the XEmacs beta testers, I have a local
self-compiled XEmacs floating around on my system. Now - everytime I get a
new debian package that (pre)depends on, recommends, or suggests an emacs
installation, I'll get into the 'dependency/conflict resolution', where
depending on the dependency dselect automatically selects the standard
emacs for installation. 

  OK - I can override the emacs installation, but I'd rather tell the
system once and for all that I already *HAVE* an emacs on my system, so
that it doesn't come up with the conflict resolution (and - seen from the
other side - comes up with the conflict resolution if I were to try and
install a package that would conflict with emacs).

  Now - is it possible to set (or possibly even just delete a symbol, even
though the package is installed)?


  Benedikt

signoff

---
 Benedikt Eric Heinen  -  Muehlemattstrasse 53  -  CH3007 Bern  -   SWITZERLAND
 email: [EMAIL PROTECTED]phone: ++41.79.3547891


RIOT, n.  A popular entertainment given to the military by innocent bystanders.

 Ambrose Bierce  ``The Devil's Dictionary''


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: How can I 'logically' provide a package?

1996-11-03 Thread Andy Guy
Benedikt Eric Heinen [EMAIL PROTECTED] writes:
 
   [  I really hope I didn't miss something in the documentation and FAQ, 
  since I can't imagine noone else ever thought about this, but...
 
  So - if this is somewhere in the doc or FAQ, please don't respond
  to the list, but mail me directly and hand me a pointer to the 
  info I'm looking for ].

No you didn't this is a problem.

 
   is it (easily) possible within dselect to permanently 'provide' a
 package, without actually installing it?

Here is a way to do it (someone should write this up as a simple
script):

create a file local-pkgs/DEBIAN/control with:
Package: local-deps
Version: 1.0
Provides: emacs, or-what-ever
Description: stuff I already have
Maintainer: me
Architecture: all
Section: local

(note the final new-line and the fact that it is in two dirs).

do dpkg-deb --build local-pkgs

this will create a local-pkgs.deb file.

Install it with
dpkg-deb -i local-pkgs.deb

voila - to remove just use dselect as per normal (look in section local);

Andy.

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]