Bug#977643: equivs: Can't specify spoofed package version
Axel Beckert
abe at debian.org
Fri Dec 18 02:15:22 GMT 2020
Hi,
5990 wrote:
> Anyway, I've tried with:
> ```
> Provides: python 2.7.16-1
> Provides: python: 2.7.16-1
> Provides: python=2.7.16-1
> Provides: python="2.7.16-1"
These are all the wrong syntax. Please try to use the syntax for
dependencies (and provides) in Debian packages:
Provides: python (= 2.7.16-1)
(The blank after the equal sign is optional.)
The format and syntax are documented in the Debian Policy, e.g. here:
https://www.debian.org/doc/debian-policy/ch-relationships.html
So from my point of view this is not really a bug. It though suggests
that there is a proper reference to the Debian policy for the format
of some fields missing.
Do you have any suggestion where to add such a reference? Where in the
equivs documentation did you look for such information?
> Where the full contents of `fakePython2.7.16` are:
> ```
[…]
> Description: <short description; defaults to some wise words>
> long description and info
> .
> second paragraph
> ```
For me equivs-build bails out earlier with that control file:
syntax error in control file: long description and info
In the last three lines (i.e. those after the line starting with
"Description:"), there must be at least one white space before every
line of the description. E.g. it should look like this:
Description: <short description; defaults to some wise words>
long description and info
.
second paragraph
But maybe that was just a mail client or editor issue.
> Linux kali 5.8.0-kali3-amd64 #1 SMP Debian 5.8.14-1kali1
> (2020-10-13) x86_64 GNU/Linux
Kali should have much newer version of equivs than 2.2.0. It should
have 2.3.1.
Regards, Axel
--
,''`. | Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
>
More information about the pkg-perl-maintainers
mailing list