Bug#962741: apt: illegal package name in EDSP Provides field when installing from *.deb
Package: apt
Version: 2.1.6
Severity: normal
Hi,
steps to reproduce:
$ cd /tmp
$ equivs-build /usr/share/doc/equivs/examples/webserver.ctl
$ APT_EDSP_DUMP_FILENAME=/tmp/dump.edsp apt install --simulate --solver dump /tmp/webserver-dummy_1.0_all.deb
$ grep webserver-dummy /tmp/dump.edsp
Install: webserver-dummy:amd64
Package: webserver-dummy
Source: webserver-dummy
Provides: /tmp/webserver-dummy_1.0_all.deb (= 1.0), httpd, httpd, httpd
The problem is, that the full path of the *.deb file is added to the
EDSP Provides field but even the package filename by itself is not a
valid package name. Consequently, apt-cudf will error out when it
receives such an EDSP file.
Thanks!
cheers, josch
Reply to: