|
-
problem with apt-get commands
Hi,
I am using Ubuntu 10 under VMWare and behid a web proxy.
It's impossible for me to run apt-get commands (apt-get install,apt-get update, apt-get upgrade...)
Each time, I have systematically errors like :
Unable to connect to....
Unable to fetch ...
Any ideas please ?
-
-
Try sudo aptitude install to see if that is installed
-
-
Ps, check vm settings and see if you forgot to bridge you network card with vm
-
-
When your behind a Proxy, you have to export into the bash enviroment the proxy settings. Use this:
Code:
export HTTP_PROXY='http://$IP:$PORT'
export FTP_PROXY='ftp://$IP:$PORT'
That should close the deal. When you want to make this persistent, put it into the /etc/profile file.
Feel free to follow my blog.
-
-
Reply to nubbix :
Yes, aptitude is installed in my Ubuntu. And I get the same errors as when calling apt-get.
Concerning VM settings, I think there no problem with them because I can connect to Internet through VMWare without problems...
Reply to Akendo:
I export the proxy setting as you described but there is no change.
But, I tried to add my proxy parameters in the acquire section of the /etc/apt/apt.conf file:
And the behavior become like this :
The error "Unable to connect to...." no longer appear.
The error "Unable to fetch ..." persists.
I have this new error "400 Bad Request".
Remark : I am using Ubuntu 10.01.1 LTS
Any ideas?
-
-
Try using 12.04, version 10 is no longer supported
-
-
 Originally Posted by nubbix
Try using 12.04, version 10 is no longer supported
Version 10.04 is the LTS before version 12.04 and will still be supported until sometime in 2013.
-
-
Have you tried logging in to root from Terminal and install from there? or try sudo apt-get.
Linux Mint Fanatic
-
-
 Originally Posted by Victor Leigh
Version 10.04 is the LTS before version 12.04 and will still be supported until sometime in 2013.
Ok my bad, good to know, thanks
-
-
I had the same problem, actually helped. \ Thanks.
Lubię nowoczesne i wygodne łóżka oraz modne i nowoczesne gadzety .
-
Similar Threads
-
By zuhudfm in forum Linux Networking
Replies: 0
Last Post: 05-31-2012, 10:13 AM
-
By News in forum Linux News
Replies: 0
Last Post: 02-03-2012, 06:28 PM
-
By Fred in forum Linux News
Replies: 0
Last Post: 12-21-2011, 03:37 AM
-
By Fred in forum Linux News
Replies: 0
Last Post: 12-19-2011, 07:57 AM
-
By Fred in forum Linux News
Replies: 0
Last Post: 11-18-2011, 12:30 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Check out Linux Central for Linux software and other goodies!
» Recent Threads
» Stats
Members: 3,533
Threads: 3,911
Posts: 9,418
Top Poster: Fred (1,486)
Welcome to our newest member, bmavus
» Links
|
Bookmarks