LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-03-2011, 12:28 AM   #1
jpksampath
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
Question ubuntu apt-get update doesn't work (Cannot initiate the connection to connect (22 I)


Hi expertises,
I am working on ubuntu (Xubuntos) using VMware virtual machine. when I enter apt-get update it gives following error;
Code:
xubuntos@xubuntos-tinyos:~$ sudo apt-get update
Code:
 Err http://tinyos.stanford.edu edgy Release.gpg
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://tinyos.stanford.edu edgy/main Translation-en_US
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Ign http://tinyos.stanford.edu edgy Release
Ign http://tinyos.stanford.edu edgy/main Packages
Err http://tinyos.stanford.edu edgy/main Packages
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty Release.gpg
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty/main Translation-en_US
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty/restricted Translation-en_US
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty/universe Translation-en_US
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty/multiverse Translation-en_US
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-updates Release.gpg
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-updates/main Translation-en_US
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-updates/restricted Translation-en_US
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-updates/universe Translation-en_US
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-security Release.gpg
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-security/main Translation-en_US
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-security/restricted Translation-en_US
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-security/universe Translation-en_US
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-security/multiverse Translation-en_US
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Ign http://archive.ubuntu.com feisty Release
Ign http://archive.ubuntu.com feisty-updates Release
Ign http://archive.ubuntu.com feisty-security Release
Ign http://archive.ubuntu.com feisty/main Packages
Ign http://archive.ubuntu.com feisty/restricted Packages
Ign http://archive.ubuntu.com feisty/main Sources
Ign http://archive.ubuntu.com feisty/restricted Sources
Ign http://archive.ubuntu.com feisty/universe Packages
Ign http://archive.ubuntu.com feisty/universe Sources
Ign http://archive.ubuntu.com feisty/multiverse Packages
Ign http://archive.ubuntu.com feisty/multiverse Sources
Ign http://archive.ubuntu.com feisty-updates/main Packages
Ign http://archive.ubuntu.com feisty-updates/restricted Packages
Ign http://archive.ubuntu.com feisty-updates/main Sources
Ign http://archive.ubuntu.com feisty-updates/restricted Sources
Ign http://archive.ubuntu.com feisty-updates/universe Packages
Ign http://archive.ubuntu.com feisty-security/main Packages
Ign http://archive.ubuntu.com feisty-security/restricted Packages
Ign http://archive.ubuntu.com feisty-security/main Sources
Ign http://archive.ubuntu.com feisty-security/restricted Sources
Ign http://archive.ubuntu.com feisty-security/universe Packages
Ign http://archive.ubuntu.com feisty-security/universe Sources
Ign http://archive.ubuntu.com feisty-security/multiverse Packages
Ign http://archive.ubuntu.com feisty-security/multiverse Sources
Err http://archive.ubuntu.com feisty/main Packages
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty/restricted Packages
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty/main Sources
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty/restricted Sources
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty/universe Packages
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty/universe Sources
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty/multiverse Packages
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty/multiverse Sources
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-updates/main Packages
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-updates/restricted Packages
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-updates/main Sources
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-updates/restricted Sources
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-updates/universe Packages
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-security/main Packages
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-security/restricted Packages
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-security/main Sources
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-security/restricted Sources
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-security/universe Packages
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-security/universe Sources
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-security/multiverse Packages
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Err http://archive.ubuntu.com feisty-security/multiverse Sources
  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty/Release.gpg  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty/main/i18n/Translation-en_US.bz2  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty/restricted/i18n/Translation-en_US.bz2  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty/universe/i18n/Translation-en_US.bz2  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty/multiverse/i18n/Translation-en_US.bz2  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-updates/Release.gpg  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-updates/main/i18n/Translation-en_US.bz2  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-updates/restricted/i18n/Translation-en_US.bz2  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-updates/universe/i18n/Translation-en_US.bz2  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-security/Release.gpg  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-security/main/i18n/Translation-en_US.bz2  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-security/restricted/i18n/Translation-en_US.bz2  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-security/universe/i18n/Translation-en_US.bz2  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-security/multiverse/i18n/Translation-en_US.bz2  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://tinyos.stanford.edu/tinyos/dists/ubuntu/dists/edgy/Release.gpg  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://tinyos.stanford.edu/tinyos/dists/ubuntu/dists/edgy/main/i18n/Translation-en_US.bz2  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://tinyos.stanford.edu/tinyos/dists/ubuntu/dists/edgy/main/binary-i386/Packages.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty/main/binary-i386/Packages.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty/restricted/binary-i386/Packages.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty/main/source/Sources.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty/restricted/source/Sources.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty/universe/binary-i386/Packages.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty/universe/source/Sources.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty/multiverse/binary-i386/Packages.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty/multiverse/source/Sources.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-updates/main/binary-i386/Packages.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-updates/restricted/binary-i386/Packages.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-updates/main/source/Sources.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-updates/restricted/source/Sources.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-updates/universe/binary-i386/Packages.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-security/main/binary-i386/Packages.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-security/restricted/binary-i386/Packages.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-security/main/source/Sources.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-security/restricted/source/Sources.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-security/universe/binary-i386/Packages.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-security/universe/source/Sources.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-security/multiverse/binary-i386/Packages.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/feisty-security/multiverse/source/Sources.gz  Cannot initiate the connection to 3127:80 (0.0.12.55). - connect (22 Invalid argument)
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
,

My network is quite ok and I can connect internet using firefox. I have a proxy and I set my proxy this way;
Code:
xubuntos@xubuntos-tinyos:~$ gksu mousepad ~/.bashrc
,
and append,
Code:
http_proxy=http://x.x.x.x:<PORT>
export http_proxy
,
Even after read a lot about this I couldn't able to fix this.
I referred suggestions in following links

(http://www.linuxquestions.org/questi...5/#post2956189
http://ubuntuforums.org/showthread.php?t=248765
http://ubuntuforums.org/showthread.php?t=924855
http://art.ubuntuforums.org/showthread.php?t=561138
http://ubuntuforums.org/showthread.php?t=152031)

Can anyone please suggest me how to proceed?
Thanks in advance
BR
SAMPATH
 
Old 01-03-2011, 12:41 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
try
Code:
export "http_proxy=http://x.x.x.x:PORT"
Or set the proxy in
Code:
/etc/apt/apt.conf
Kind regards

Last edited by repo; 01-03-2011 at 12:47 AM.
 
1 members found this post helpful.
  


Reply



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
Why apt-get update doesn't work? yuri16 Linux - Newbie 3 02-11-2009 12:07 AM
Why apt-get update doesn't work? yuri16 Debian 4 02-10-2009 11:17 PM
Ubuntu Installed Without Network Connection: Apt and Synaptic Don't Work Peatmoss Ubuntu 5 10-09-2008 11:10 PM
apt-get update doesn't work cccc Debian 1 01-04-2008 02:47 AM
Connection - install - apt-get update tommytomato Linux - General 2 06-30-2007 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:41 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