[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Debian: "dummy" packages?



On Thu, 29 Aug 2002, Richard Stevenson wrote:

> it's linked with all *Hesiod* capability, for some reason).  Can anyone
> tell me how to make a fake package to fool the system into thinking that
> a) it's got mail-transfer-agent, and b) it's not to be upgraded unless *I*
> say?

Yep, install the equivs package, and follow the instructions to create a
debian package called either sendmail (if you want) or whatever else you
might want to call it.  Set the version to 999:<sendmail version> and add a
line

Provides: mail-transfer-agent

Run the equivs package to build your fake package, and then install it using
dpkg.

Of course, the better way to do it would be to modify/upgrade the debian
sendmail package, change it's version to 999:<whatever> and install it
properly.  That might take a bit more work, however it does produce an
infinitely more pleasing result.


-- 
-----------------------------------------------------------------------
#include <disclaimer.h>
Matthew Palmer, Geek In Residence
http://ieee.uow.edu.au/~mjp16

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.