Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    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 ?




  2. #2
    Join Date
    Jun 2012
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Try sudo aptitude install to see if that is installed

  3. #3
    Join Date
    Jun 2012
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Ps, check vm settings and see if you forgot to bridge you network card with vm

  4. #4
    Join Date
    Feb 2012
    Location
    Europe
    Posts
    138
    Thanks
    4
    Thanked 6 Times in 5 Posts
    Rep Power
    2
    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.

  5. #5
    Join Date
    Jun 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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?

  6. #6
    Join Date
    Jun 2012
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Try using 12.04, version 10 is no longer supported

  7. #7
    Join Date
    Nov 2011
    Location
    GMT +8
    Posts
    212
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    2
    Quote Originally Posted by nubbix View Post
    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.

  8. #8
    Join Date
    Apr 2012
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Have you tried logging in to root from Terminal and install from there? or try sudo apt-get.
    Linux Mint Fanatic

  9. #9
    Join Date
    Jun 2012
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by Victor Leigh View Post
    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

  10. #10
    Join Date
    Apr 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I had the same problem, actually helped. \ Thanks.
    Lubię nowoczesne i wygodne łóżka oraz modne i nowoczesne gadzety .

 

 

Similar Threads

  1. Problem with cdma modem
    By zuhudfm in forum Linux Networking
    Replies: 0
    Last Post: 05-31-2012, 10:13 AM
  2. Replies: 0
    Last Post: 02-03-2012, 06:28 PM
  3. Are the new user interfaces really a problem?
    By Fred in forum Linux News
    Replies: 0
    Last Post: 12-21-2011, 03:37 AM
  4. Replies: 0
    Last Post: 12-19-2011, 07:57 AM
  5. HOWTO: Use APT without the Bloat
    By Fred in forum Linux News
    Replies: 0
    Last Post: 11-18-2011, 12:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
           








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,533
Threads: 3,911
Posts: 9,418
Top Poster: Fred (1,486)
Welcome to our newest member, bmavus

» Links



Powered by vBadvanced CMPS