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

Re: Help: Bug#336469: pure-ftpd uninstallable : no pure-ftpd-common

On Tue, Nov 01, 2005 at 09:27:06AM +0100, Henning Makholm wrote:
> Scripsit Steve Langasek <vorlon@debian.org>

> > No, it's a bug in dpkg-dev, which should know how to set ${Source-Version}
> > correctly for binNMUs.

> It can't really know, can it? If I have a control file with

>   Package: foo
>   Architecture: any

>   Package: foo-data-extra
>   Architecture: all

>   Package: foo-plugins
>   Architecture: any
>   Depends: foo (=${Source-Version}), foo-data-extra (=${Source-Version})

> then a binNMU ought to have foo-plugins depend on the binNMU'ed
> version of foo, but on the common version of foo-data-extra.
> If dpkg-gencontrol were to figure out that, it would need to parse a
> lot of data that it currently doesn't. And even if it did it
> correctly, the resulting behavior would be confusing.

> IMO it would be better to split ${Source-Version} into two substvars,
> one of which includes binNMU suffixes and one of which doesn't.

Yes; sorry, I thought it was self-evident that Source-Version ought to refer
to the *source* version, and that a new variable name is called for where
the binary version is needed.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply to: