Bug#1069874: E: Problem parsing Provides line of perccli:all=007.2616.0000.0000

2024-04-26 Thread David Kalnischkies
On Fri, Apr 26, 2024 at 08:30:42AM +0200, Harald Dunkel wrote:
> If I put Dell's current debian package for perccli into my local
> reprepro, then "apt update" complains

Oh boy, that is some heavy package… and that not only because it claims
to be 7GB large… I think the producer of that package meant 7 MB, but
didn't realize that Installed-Size is in KiB, not Bytes.

Anyway, this control file is not produced by dpkg-gencontrol; that
wouldn't include bogus empty lines, too. Maybe you can get them to fix
their package and in that process also clean it up… if they insist on
producing it by hand.


> E: Problem parsing Provides line of perccli:all=007.2616..
> E: Error occurred while processing perccli (NewVersion2)
> E: Problem with MergeList 
> /var/lib/apt/lists/debian.ac.aixigo.de_debian_dists_bookworm-experimental_main_binary-amd64_Packages
> E: The package lists or status file could not be parsed or opened.

Seems like this was simple enough to "fix" in libapt code…
https://salsa.debian.org/apt-team/apt/-/commit/c98bcdf00e5366fec101dd17094d36be21872a02

I would still advice to fix the package as this is somewhat unlikely
to reach users 'soon' (with trixie of course, but I doubt that gets
backports into oblivion).


Best regards

David Kalnischkies


signature.asc
Description: PGP signature


Bug#1069874: E: Problem parsing Provides line of perccli:all=007.2616.0000.0000

2024-04-26 Thread Harald Dunkel

Package: apt
Version: 2.6.1

If I put Dell's current debian package for perccli into my local
reprepro, then "apt update" complains

E: Problem parsing Provides line of perccli:all=007.2616..
E: Error occurred while processing perccli (NewVersion2)
E: Problem with MergeList 
/var/lib/apt/lists/debian.ac.aixigo.de_debian_dists_bookworm-experimental_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.

I get the same problem from "apt-cache search perccli". reprepro
seemed to be happy with the package.

AFAICT the problem is an empty "Provides" line. Looking through all
the current Packages files in /var/lib/apt/lists perccli is unique
in this case. control file is attached.

Unfortunately Dell's package can be downloaded via service tag
only. Hopefully the control file is sufficient. Please mail if
I can help.


Regards

HarriPackage: perccli
Version: 007.2616..
Section: perccli
Priority: optional
Architecture: all
Essential: no
Depends: bash
Pre-Depends: 
Recommends: 
Suggests: 
Installed-Size: 700
Maintainer: OS-Utils  
Conflicts: 
Replaces: 
Provides: 
Description: Storage Command Line Tool, manages storage controllers.