apt-get failed

Asked by jagan

Ign http://security.ubuntu.com saucy-security InRelease
Err http://security.ubuntu.com saucy-security Release.gpg
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Ign http://security.ubuntu.com saucy-security Release
Ign http://us.archive.ubuntu.com saucy InRelease
Ign http://us.archive.ubuntu.com saucy-updates InRelease
Ign http://us.archive.ubuntu.com saucy-backports InRelease
Err http://us.archive.ubuntu.com saucy Release.gpg
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://us.archive.ubuntu.com saucy-updates Release.gpg
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://us.archive.ubuntu.com saucy-backports Release.gpg
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Ign http://us.archive.ubuntu.com saucy Release
Ign http://us.archive.ubuntu.com saucy-updates Release
Ign http://us.archive.ubuntu.com saucy-backports Release
Err http://security.ubuntu.com saucy-security/main Sources
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://security.ubuntu.com saucy-security/restricted Sources
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://security.ubuntu.com saucy-security/universe Sources
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://security.ubuntu.com saucy-security/multiverse Sources
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://security.ubuntu.com saucy-security/main amd64 Packages
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://security.ubuntu.com saucy-security/restricted amd64 Packages
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://security.ubuntu.com saucy-security/universe amd64 Packages
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://security.ubuntu.com saucy-security/multiverse amd64 Packages
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://security.ubuntu.com saucy-security/main i386 Packages
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://security.ubuntu.com saucy-security/restricted i386 Packages
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://security.ubuntu.com saucy-security/universe i386 Packages
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://security.ubuntu.com saucy-security/multiverse i386 Packages
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://security.ubuntu.com saucy-security/main Translation-en_US
  Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)
Err http://security.ubuntu.com saucy-security/main Translation-en

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/multiverse/binary-amd64/Packages Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/main/binary-i386/Packages Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/restricted/binary-i386/Packages Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/universe/binary-i386/Packages Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/multiverse/binary-i386/Packages Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/main/i18n/Translation-en_US Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/main/i18n/Translation-en Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/multiverse/i18n/Translation-en_US Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/multiverse/i18n/Translation-en Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/saucy-backports/restricted/i18n/Translation-en_US Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu nautilus Edit question
Assignee:
No assignee Edit question
Solved by:
jagan
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of :

grep -i proxy /etc/environment; grep -i proxy ~/.bashrc; cat /etc/apt/apt.conf; echo $http_proxy; echo $ftp_proxy

Thanks

Revision history for this message
jagan (jagan-padhi) said :
#2

root@pxe:~# grep -i proxy /etc/environment
root@pxe:~# grep -i proxy ~/.bashrc
root@pxe:~# cat /etc/apt/apt.conf
Acquire::http::Proxy "10.156.190.8:8080";
root@pxe:~# echo $http_proxy
http://10.156.190.8:8080/
root@pxe:~# echo $ftp_proxy

root@pxe:~#

Thanks in advance

Revision history for this message
jagan (jagan-padhi) said :
#3

thanks ...i think i am doing wrong here in apt.conf file
let me check and revert you back...

thanks for your support

Revision history for this message
jagan (jagan-padhi) said :
#4

Thanks once again...
i got struck in the next section when i am trying to install

root@:~# sudo apt-get install -y ubuntu-orchestra-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ubuntu-orchestra-server

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

what is the output of:

sudo apt-get update; lsb_release -a

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Also, as you are root, why do you feel the need to use sudo?

Revision history for this message
jagan (jagan-padhi) said :
#7

yes,I just tried with sudo and without sudo.

root# apt-get install -y ubuntu-orchestra-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ubuntu-orchestra-server
root#

ot@pxe:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
root@pxe:~#

apt-get update output looks correct..

last 2 lines of apt-get output

Ign http://us.archive.ubuntu.com saucy-backports/universe Translation-en_US
Reading package lists... Done

thanks,

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

You don't need sudo if you are root, are you logging in to the system as root, or did you use sudo to become root (via 'sudo -i' etc)? If you are root, using sudo and not using sudo makes no difference at all......

If you checked out http://packages.ubuntu.com you will have seen that the package you want is only in Precise. So it's not installable in Saucy as far as I can see.

http://packages.ubuntu.com/search?keywords=ubuntu-orchestra-server

Revision history for this message
jagan (jagan-padhi) said :
#9

i am directly ssh to the server through root...i should not use sudo in that case..

Thanks for your support...

Revision history for this message
jagan (jagan-padhi) said :
#10

you are really great :)Saucy won't support ubuntu-orchestra-server...
thank you so much for your support

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

Please mark as solved if this is so
Thanks

Revision history for this message
jagan (jagan-padhi) said :
#12

Thanks,This issue has been solved...