Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8391097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:10:14+00:00 2026-06-09T19:10:14+00:00

I wish to update the local package index with the latest changes made in

  • 0

I wish to update the local package index with the latest changes made in repositories and am using following command :

     sudo apt-get update 

On executing this command I get several error messages such as one below :

  W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-i386/Packages  407  Proxy Authentication Required

What i did to in order to try resolving this issue is the following :

Open terminal and the file

/etc/bash.bashrsc

sudo gedit /etc/bash.bashrc

and add at the bottom of the file these 2 lines :

export http_proxy=http://user:password@host:port/
export ftp_proxy=http://user:pass@host:port/

However it is still not working for me and am getting the same error.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T19:10:16+00:00Added an answer on June 9, 2026 at 7:10 pm

    For apt-get to work

     sudo gedit /etc/apt/apt.conf
    

    And then add

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

    The syntax should be strictly followed

    This may fail if our password or possibly username (i don’t know) has ‘@’ in it.

    We can add proxy for other protocols like ftp etc. also there..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wish to update MYSQL data using text instead of using submit button. Admin
I have a table users. I wish to update the column email based on
I have two entities STOCK(name,amount) and PC_SYSTEMS(name,c_name), and i wish to update the components
I wish to do this using only XAML - How to add an additional
I've an app where I wish to update the Activity (List activity to be
Well the issue I'm facing is I wish to update a mysql record whenever
I have a table column that uses an enum type. I wish to update
I wish to Insert or Update a row in a table - so I
I have a table that I wish to update (or insert if no previous
I am using a hash table similar to the following to store the letters

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.