Got it

Can not update the Ubuntu server

Created: 2022-4-10 19:02:17Latest reply: Apr 12, 2022 16:05:15 219 8 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi Hi 


When I try to update my Ubuntu server 20.04. 

I occured the following error 


407  Proxy Authentication Required


looking for a soulution with explanation.


Featured Answers
zaheernew
MVE Author Created 2022-4-10 19:11:36

Hi my fellow,


I hope this is regarding the proxy server authentication issue.

Due to this case you have to properly configure your proxy servers and follow the steps.

Always try to understand the fundamentals theory and it will be easy to move on this.


Step-01


Open your terminal and edit the apt.conf file:


sudo vi /etc/apt/apt.conf


Step -02


Add or Edit the following codes starting with Acquire keyword,


Acquire::http::Proxy "http://username:password@proxyhost:port/";

Acquire::https::Proxy "https://username:password@proxyhost:port/";

Acquire::ftp::Proxy "ftp://username:password@proxyhost:port/";


Sample CODE:

follow this sample and re-edit your proxy IP with the password.


My username      : zaheer

Password     : huawei@123

Proxy IP             : 10.1.1.20


Sample CODE:

Acquire::http::Proxy "http://zaheer:huawei@123@10.1.1.20:8080/";

Acquire::https::Proxy "https://zaheer:huawei@123@10.1.1.20:8080/";

Acquire::ftp::Proxy "ftp://zaheer:huawei@123@10.1.1.20:21/";



If your password contains special characters like @,$,! (e.g. huawei@123: huawei@123) then replace the special characters by their hex code equivalents with % prefix like this:


@==>@

$==>$

!==>!



I hope my answer will help you. If yes mark it as a Best Answer.

Thanks 


View more
  • x
  • convention:

BWGARM
BWGARM Created 2022-4-10 19:16 (0) (0)
Wonderful Sir,

Thanks for your quick reply. I will try n let you know  
Saqibaz
Saqibaz Created 2022-4-12 16:05 (0) (0)
 
All Answers
Hello, dear please kindly wait for a while.
View more
  • x
  • convention:

zaheernew
zaheernew MVE Author Created 2022-4-10 19:04:54

This is a proxy-related issue. wait I'll reply u ASAP
View more
  • x
  • convention:

zaheernew
zaheernew MVE Author Created 2022-4-10 19:11:36

Hi my fellow,


I hope this is regarding the proxy server authentication issue.

Due to this case you have to properly configure your proxy servers and follow the steps.

Always try to understand the fundamentals theory and it will be easy to move on this.


Step-01


Open your terminal and edit the apt.conf file:


sudo vi /etc/apt/apt.conf


Step -02


Add or Edit the following codes starting with Acquire keyword,


Acquire::http::Proxy "http://username:password@proxyhost:port/";

Acquire::https::Proxy "https://username:password@proxyhost:port/";

Acquire::ftp::Proxy "ftp://username:password@proxyhost:port/";


Sample CODE:

follow this sample and re-edit your proxy IP with the password.


My username      : zaheer

Password     : huawei@123

Proxy IP             : 10.1.1.20


Sample CODE:

Acquire::http::Proxy "http://zaheer:huawei@123@10.1.1.20:8080/";

Acquire::https::Proxy "https://zaheer:huawei@123@10.1.1.20:8080/";

Acquire::ftp::Proxy "ftp://zaheer:huawei@123@10.1.1.20:21/";



If your password contains special characters like @,$,! (e.g. huawei@123: huawei@123) then replace the special characters by their hex code equivalents with % prefix like this:


@==>@

$==>$

!==>!



I hope my answer will help you. If yes mark it as a Best Answer.

Thanks 


View more
  • x
  • convention:

BWGARM
BWGARM Created 2022-4-10 19:16 (0) (0)
Wonderful Sir,

Thanks for your quick reply. I will try n let you know  
Saqibaz
Saqibaz Created 2022-4-12 16:05 (0) (0)
 
Sir,

Thank you so much for your answers.

Its work.

I got the your logic as well.

View more
  • x
  • convention:

zaheernew
zaheernew Created 2022-4-11 03:18 (0) (0)
Hi mate.

Thanks for choosing as "best answer".

Don't need to say Sir... just say brother (we can close more..)

I am happy because you got the solution.
don't stop learning, continue until you can...

I'm looking for new questions from you and I'm ready to reply to you.

Allah blesses you.  
Good answer
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.