I am trying to add a repository (datastax) to my sources. This repository ask you to add your username and password, and also warn that you will have to urlencode special characters.
So I added:
deb https://email@example.com:p@firstname.lastname@example.org/enterprise stable main
apt-get update say:
W: Failed to fetch https://email@example.com/enterprise/dists/stable/main/binary-amd64/Packages Could not resolve host: firstname.lastname@example.org
At this point, I just changed
deb https://user%40mail.com:email@example.com/enterprise stable main
But no dice, the error stay the exact same.
Before changing my password to remove any special character and hoping the error will not move to not finding
mail.com:firstname.lastname@example.org, could someone explain what I failed to understand in how apt-get work with special character and password protected repo?