Garbage content in Packages file of nvidia-cuda repo?

Hi.

I am trying to create a local mirror of the NVIDIA CUDA Ubuntu 18.04 repository at https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ but the Packages file generated locally by Aptly (the APT mirroring solution I use) is corrupt. I don’t have any problems with other APT repos (e.g. Ubuntu repos or the libnvidia-container repo)

While searching for the root cause I found that the Packages file in the upstream CUDA repo appears to be corrupted as well.

A relevant snippet from https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/Packages:

   2661 bytes,   108 lines   *  preinst              #!/bin/sh
    508 bytes,    13 lines      shlibs               
     74 bytes,     2 lines      triggers             
Package: libnvidia-gl-455
Source: nvidia-graphics-drivers-455
Version: 455.32.00-0ubuntu1
Architecture: amd64
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Installed-Size: 261148
Depends: libnvidia-common-455, libgl1, libegl1, libopengl0, libgles2, libc6 (>= 2.7), libgcc1 (>= 1:4.2), libx11-6, libxext6
Conflicts: libnvidia-gl
...

I believe the top three lines should not be in the Packages file.

Maybe the output of some tool somehow got mixed into stdout when the Packages file was generated?

There are a lot of such garbage lines.