Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
25
rated 0 times [  25] [ 0]  / answers: 1 / hits: 41547  / 2 Years ago, sat, june 18, 2022, 3:34:11

I want to update ubuntu 11.04 throught apt-get.
So I added the following lines in apt.conf



export http_proxy=http://username:[email protected]:port/
export ftp_proxy=http://username:[email protected]/

export http_proxy=http://deepak:Deepak@[email protected]:3128


My question is: how do I insert special characters to a username or password?



For instance: my password for proxy is Deepak@123 and it is getting an error.


More From » apt

 Answers
5

You need to escape special characters. So place a in front of the @ like so:



export http_proxy=http://deepak:Deepak@[email protected]:3128


Alernatively you can also use %40.


[#43591] Saturday, June 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
motivengry

Total Points: 459
Total Questions: 112
Total Answers: 108

Location: Bonaire
Member since Sat, May 1, 2021
3 Years ago
motivengry questions
Tue, Oct 4, 22, 10:02, 2 Years ago
Wed, May 31, 23, 14:33, 12 Months ago
;