LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-12-2009, 07:13 AM   #1
mansoor323
LQ Newbie
 
Registered: Jul 2009
Posts: 17

Rep: Reputation: 0
problem in installing packages using Synaptic(ubuntu)


UBUNTU user:

when i'm trying to install anything(here In my case SAMBA) using Synaptic ..it throws an error:



W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/...tu3.1_i386.deb
407 Proxy Authentication Required


W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/...tu3.1_i386.deb
407 Proxy Authentication Required


W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/...tu3.1_i386.deb
407 Proxy Authentication Required


W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/...tu3.1_i386.deb
407 Proxy Authentication Required



i'm a college student and i'm using a proxy server to use internet...
i have a proper username/passwd for using that proxy.

Apart from that when i use "apt-get install samba" , it shows--
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?



urgent help required.!!
 
Old 11-12-2009, 07:21 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Try to add these lines to
/etc/apt/apt.conf

Code:
Acquire::http::Proxy "http://username:password@proxy:port";
Acquire::ftp::Proxy "ftp://username:password@proxy:port";
Quote:
Apart from that when i use "apt-get install samba" , it shows--
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Did you closed synaptic ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble having installing packages through Synaptic.P.M (ubuntu) mansoor323 Linux - Newbie 2 11-12-2009 10:17 AM
Installing packages using synaptic on Ubuntu 8.10 bipolar420 Linux - Newbie 5 01-05-2009 03:21 PM
Installing qt via synaptic on ubuntu Bucephalus Linux - Software 1 06-15-2008 04:34 PM
Xubuntu - Installing packages with Synaptic Package Manager. aamcle Linux - Software 6 09-10-2007 02:52 PM
Installing Ubuntu now and have some Synaptic questions. GameGuru Linux - Newbie 4 07-06-2005 04:56 AM


All times are GMT -5. The time now is 04:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration