lan downloads

Asked by china_13

hi there, i managed to update my ubuntu version on our campus lan... now i want to download codecs for mp3 playback on totem, my problem is that i cant seem to find where i enter my proxy authentication for the application. i have gone to System > Preferences >network proxy and entered my details there, but the when i try downloading this is the error i get

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/main/f/ffmpeg/libavutil1d_0.cvs20070307-5ubuntu7_i386.deb
  407 Proxy Authentication Required

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/main/libg/libgsm/libgsm1_1.0.12-1_i386.deb
  407 Proxy Authentication Required

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/main/f/ffmpeg/libavcodec1d_0.cvs20070307-5ubuntu7_i386.deb
  407 Proxy Authentication Required

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/main/libd/libdc1394/libdc1394-13_1.1.0-5ubuntu1_i386.deb
  407 Proxy Authentication Required

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/main/f/ffmpeg/libavformat1d_0.cvs20070307-5ubuntu7_i386.deb
  407 Proxy Authentication Required

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/main/f/ffmpeg/libpostproc1d_0.cvs20070307-5ubuntu7_i386.deb
  407 Proxy Authentication Required

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/universe/g/gstreamer0.10-ffmpeg/gstreamer0.10-ffmpeg_0.10.3-6_i386.deb
  407 Proxy Authentication Required

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/universe/a/a52dec/liba52-0.7.4_0.7.4-11ubuntu1_i386.deb
  407 Proxy Authentication Required

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/universe/libd/libdvdread/libdvdread3_0.9.7-8ubuntu1_i386.deb
  407 Proxy Authentication Required

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/main/libi/libid3tag/libid3tag0_0.15.1b-10_i386.deb
  407 Proxy Authentication Required

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/main/libm/libmad/libmad0_0.15.1b-2.1ubuntu1_i386.deb
  407 Proxy Authentication Required

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/universe/m/mpeg2dec/libmpeg2-4_0.4.1-1_i386.deb
  407 Proxy Authentication Required

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/universe/libs/libsidplay/libsidplay1_1.36.59-4_i386.deb
  407 Proxy Authentication Required

W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/pool/universe/g/gst-plugins-ugly0.10/gstreamer0.10-plugins-ugly_0.10.7-3_i386.deb
  407 Proxy Authentication Required

how do i fix this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu libdbd-sqlite3-perl Edit question
Assignee:
No assignee Edit question
Solved by:
china_13
Solved:
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1

Hello

There are multiple sides to this

1. System->Preferences->Network Proxy-> Set : Direct Internet Connection.
2. System->Administration->Synaptic Package Manager->Settings->Preferences->Network-> Set : Direct Internet Connection.

Then create a filename in:
/etc/apt/apt.conf

add the following lines:

Acquire::http::Proxy "http://username:password@proxy:port";
Acquire::ftp::Proxy "ftp://username:password@proxy:port";

and save the file.

In the terminal run:

sudo apt-get update

Both apt and synaptic should work now. (You might need to restart your networking or your PC)

sudo /etc/init.d/networking stop

sudo /etc/init.d/networking start

sudo reboot

Regards,

Bhavani Shankar.

Revision history for this message
china_13 (shan-1302) said :
#2