I am running into an issue while trying to proxy an apt repo, specifically the packagecloud.io/varnishcache/varnish41/debian repo
After configuring the proxy in nexus and running apt-get update on a debian client I get the following error:
E: Failed to fetch <nexus_domain>/repository/varnish41/pool/stretch/main/v/varnish (4.1.11-1)/varnish_4.1.11-1~stretch_amd64.deb 400 Invalid repository path
It seems that the cause of my problems is the space in the filename path, which is present in the upstream Packages file:
Filename: pool/stretch/main/v/varnish (4.1.11-1)/varnish_4.1.11-1~stretch_amd64.deb
This seems to work when adding the upstream repo as an apt source, but not when using the nexus mirror (see error above).
If I manually change the cached Packages file for apt on the client, and escape the whitespace in the Filename , apt-get install works with nexus.
Filename: pool/stretch/main/v/varnish\ (4.1.11-1)/varnish_4.1.11-1~stretch_amd64.deb
However, this does not seem like a workable solution that scales.
Does anyone have any suggestions or another solution for this?
All suggestions and help welcome!