[Treepkg-devel] Debian package names/versions on debian/sid systems.
Sascha L. Teichmann
sascha.teichmann at intevation.de
Fri Jan 7 15:46:26 CET 2011
Am 07.01.2011 12:41, schrieb Bernhard Herzog:
> [...]
>
> work, i.e. exit with exit code 1 but without error messages? I think it
> should because the version strings match the specification in the debian
> policy manual
> (http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version):
>
> The format is: [epoch:]upstream_version[-debian_revision]
> [...]
> upstream_version [...] may contain only alphanumerics[33] and the
> characters . + - : ~ (full stop, plus, hyphen, colon, tilde) and should
> start with a digit
> [...]
> debian_revision [...] may contain only alphanumerics and the characters
> + . ~ (plus, full stop, tilde)
>
> In your example, both upstream_version and debian_revision only contain
> alpha-numerics and full stops and upstream_version starts with a digit.
>
Argh! Sorry for the noise. I should have read my own script more
carefully. It calls "dpkg-deb -f xxx.deb Version" before to extract
the version number correctly.
- Sascha
More information about the Treepkg-devel
mailing list