[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#818907: live-build: Fails to integrate a binary package whose name contains an uppercase character



Hi,

I am not involved in live-build, but:

On Mon, Mar 21, 2016 at 04:41:18PM +0100, Raphaël Hertzog wrote:
> If you download a Nessus deb from here:
> https://www.tenable.com/products/nessus/select-your-operating-system
> 
> You get a Nessus-6.5.6-debian6_amd64.deb file for a "Nessus" package.
> Note the uppercase N in the package name... (both in the filename and
> in the .deb meta-data shown with dpkg -I)

Which is broken.

https://www.debian.org/doc/debian-policy/ch-binary.html#s3.1 points to
https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Package
which points to
https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source
which says

"Package names (both source and binary, see Package, Section 5.6.7) must consist only of lower case letters (a-z), digits (0-9), plus (+) and minus (-) signs, and periods (.). They must be at least two characters long and must start with an alphanumeric character."

I don't think it is a bug if one can't handle a broken package.

> Put that file in config/packages.chroot/ and try a live-build, you will
> get an error like this:
> [2016-03-19 19:50:13] lb chroot_install-packages install
> P: Begin installing packages (install pass)...
> Reading package lists...
> Building dependency tree...
> Reading state information...
> E: Unable to locate package Nessus

And isn't this apt/aptitude here, anyways? So it would be apt/aptitude "bug"?

Regards,

Rene


Reply to: