I’ve just added my first my first apt repo.
Uploading artefacts is working great, but I’m struggeling to add the repo to apt. Right now it needs a user for downloading the files. Doing that manually works great too. And I know how to add auth info to apt, which is working as well (if I change the PW I get a 401 instead of the other error I’m about to describe).
Now when I add it apt and run
apt-get update, I get this error message from apt:
E: Failed to fetch https://repo.mycompany.com/repository/apt-develop/dists/buster/InRelease 400 Bad Request [IP: 10.128.1.101 443] E: The repository 'https://repo.mycompany.com/repository/apt-develop buster InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
I checked the Nexus logs but there was nothing to be found either.
What can I do?
I just double checked some things. When I allow anonymous users to access the repo and remove the auth from the config then it works.
So Nexus isn’t liking something about the request when auth is used.