Install debian package from nexus with hosted apt repo.
What feature or behavior is this required for?
In order to fetch debian packages that have been uploaded to a hosted apt repo.
How could we solve this issue? (Not knowing is okay!)
According to this document https://wiki.debian.org/DebianRepository/Format#Date.2C_Valid-Until
The format of the Date field in the Release file needs to be in UTC format.
Currently it is in GMT format.
The error I receive when attempting to fetch a package from the hosted apt repo is " Unknown date format Bad header data".
From my Release file:
"Date: Fri, 25 Jan 2019 21:17:42 GMT"
Anything else?
I am not fluent in java but after looking at the source code I believe this file will need to be edited to set the date format to UTC.
Install debian package from nexus with hosted apt repo.
In order to fetch debian packages that have been uploaded to a hosted apt repo.
According to this document https://wiki.debian.org/DebianRepository/Format#Date.2C_Valid-Until The format of the Date field in the Release file needs to be in UTC format. Currently it is in GMT format. The error I receive when attempting to fetch a package from the hosted apt repo is " Unknown date format Bad header data".
From my Release file:
"Date: Fri, 25 Jan 2019 21:17:42 GMT"
https://github.com/sonatype-nexus-community/nexus-repository-apt/blob/master/src/main/java/net/staticsnow/nexus/repository/apt/internal/hosted/AptHostedFacet.java