apt-get update did not run even after updating apt.conf file

Bug #1004541 reported by Gyanesh Kumar Mahana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Generally I am a FEDORA user. I formatted my system and installed ubuntu yesterday.I could not update even after the correct network setting.My network connection is correct and I am able to browse through net.
I updated apt.conf for proxy settings
I updated the source.list file too
but bug remains same

I installed system twice and changed apt.conf :
"Acquire::http::username:<email address hidden>:80/"
as
"Acquire :: http :: username : gkm010mkg@<email address hidden>:80/"
then I realized the big bug............

my password contained @ symbol.and the SOFTWARE WRITTEN TO READ THE APT.CONF READS IT 'LEFT TO RIGHT'; AS MY PASSWD CONTAINED @ SYMBOL, IT TOOK '<email address hidden>' as the server address INSTEAD OF 'proxy.cse.iitb.ac.in',and obviously could not fetch it..!!
::::::::::::::::::::::::::::::::::::::::::REMEDY::::::::::::::::::::::::::::::::::::::::
THE SOFTWARE SHOULD BE RECODED AS READING APT.CONF FROM RIGHT TO LEFT FOR ROBUSTNESS.

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1004541/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → apt (Ubuntu)
Revision history for this message
David Kalnischkies (donkult) wrote :

The option is called: Acquire::http::Proxy, so your setting should be
Acquire::http::Proxy "username:<email address hidden>:80";

Host-specific settings would be Acquire::http::Proxy::<host> there <host> is the address of the sources.list entry (e.g. if you have to use a proxy only for certain parts of the web).

If you want to use a "special" character in username or password you have to encode it, so try to use "%40" instead of "@".

Revision history for this message
Julian Andres Klode (juliank) wrote :

Closing as per David's comment from 2012

Changed in apt (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.