LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 08:06 AM   #1
mansoor323
LQ Newbie
 
Registered: Jul 2009
Posts: 17

Rep: Reputation: 0
Trouble having installing packages through Synaptic.P.M (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.!!

Last edited by mansoor323; 11-12-2009 at 08:07 AM.
 
Old 11-12-2009, 09:05 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,328

Rep: Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089
Quote:
Originally Posted by mansoor323 View Post
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

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.!!
Sorry, this isn't urgent for anyone but you. Don't tell people to hurry, when we VOLUNTEER our time to help folks out. If you need **URGENT** 24/7 tech support, then pay someone for it...then they'll be there for you. Otherwise, we answer when we can, IF we want to.

Your first problem is that you need to set up your proxy server to get to the internet. You're obviously behind a firewall/proxy-server, that you need to log in to. Firefox is probably set up for it, but you need to configure your system to pass the user/password, too. Google can direct you to more, but this page: http://www.linuxforums.org/forum/ubu...ng-ubuntu.html may help.

Second, you need to be root to run apt-get, or run it with the sudo prefix. Otherwise, you don't have permissions to install things.
 
Old 11-12-2009, 11:17 AM   #3
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 218

Rep: Reputation: 29
Also if you have synaptic open you can't use apt from cli until you close 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
Installing packages using synaptic on Ubuntu 8.10 bipolar420 Linux - Newbie 5 01-05-2009 04:21 PM
Installing qt via synaptic on ubuntu Bucephalus Linux - Software 1 06-15-2008 05:34 PM
Xubuntu - Installing packages with Synaptic Package Manager. aamcle Linux - Software 6 09-10-2007 03:52 PM
trouble installing packages oneinfour Slackware 5 10-17-2006 08:19 PM
Installing Ubuntu now and have some Synaptic questions. GameGuru Linux - Newbie 4 07-06-2005 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:23 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
Open Source Consulting | Domain Registration