[debian-mysql] Bug#920415: Bug#920415: Bug#920415: dpkg: warning: version 'p.ci' has bad syntax: version number does not start with digit

Otto Kekäläinen otto at debian.org
Fri Jan 25 11:30:34 GMT 2019


> Bingo: https://salsa.debian.org/mariadb-team/mariadb-10.3/blob/master/debian/mariadb-server-10.3.preinst
>
> # Automatically set version to ease maintenance of this file.
> # Assume the filename is /path/to/mariadb-server-##.#.preinst
> # Pick version string based on location. Python equivalent would be x[-12:-8].
> VERSION=${0: -12:4}
>
> This look hacky. Could this assumption be false?
>
> $ ls -l debian-*.flag
> -rw-r--r-- 1 root root 0 Jan 25 10:09 debian-10.3.flag

Seems to be a mistake made in
https://salsa.debian.org/mariadb-team/mariadb-10.3/commit/6b1f48b3fafa1f1c732d313fea20b8c035c7b776



More information about the pkg-mysql-maint mailing list