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

Re: Replacement package



On Tue, Mar 08, 2005 at 04:04:27PM +0100, Lars Roland wrote:
> On Tue, 8 Mar 2005 08:50:13 -0500, Justin Pryzby
> <justinpryzby@users.sourceforge.net> wrote:
> 
> > You can uses a Provides: in the control file (providing a non-virtual
> > package).
> > 
> >   http://www.debian.org/doc/debian-policy/ch-relationships.html
> > 
> It is a little more complex than that
> 
> The original package is named Qmail but its version is named
> 1.03-zarge1, so all packages that depends on Qmail looks for Qmail >>
> 1.03-zarge1. This is somewhat annoying because I want my package to be
> named Qmail and have version number 1.03-patched. If I do this then
> non of the packages that depends on qmail-1.03-zarge1 can install.
> 
> So what I really want is some way of mapping the version number of the
> old package to a new one. Writing
> 
>  Provides: qmail (1.03-zarge1)
> 
> in the control file does not seam to do the trick
I see.  I suspect Provides: will not do what you want.  Check out the
equivs package:

  Description: Circumvent Debian package dependencies

I haven't used it, but this is what its for.

Justin



Reply to: