Bug#500988: "not a valid DEB package" error while it is a valid package
On Fri, Oct 03, 2008 at 10:14:48AM +0200, Michal Čihař wrote:
> Package: apt-utils
> Version: 0.7.14+b1
> Severity: normal
> File: /usr/bin/apt-extracttemplates
> Tags: patch
>
> Hi
>
> apt-extracttemplates complains that deb is "not a valid DEB package"
> while dpkg has no problem handling this particullar package. The problem
> is caused by fact, that the package was manually created by GNU Ar,
> which adds trailing / to file names (to allow spaces in names). This
> situation is correctly handled by dpkg, but apt does not seem to handle
> this.
>
> Attached patch should fix this issue (it works with my test package).
Thanks for the bugreport and the patch.
I commited it to bzr and it will be part of the next upload.
Thanks,
michael
Reply to: