sudo apt-get install connection failed

Asked by Nightmare

I don't know why this happens, It's only started happening recently so I have reinstalled ubuntu 6.06 LTS and I'm waiting for the newest version to be sent to me.
I get an error while I'm trying to install things.. Here is an example,

ben@home:~$ sudo apt-get install konversation
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  kdelibs-bin kdelibs-data kdelibs4c2a libarts1c2a libartsc0 libavahi-qt3-1 libopenexr2c2a libpcre3 libqt3-mt menu-xdg
Suggested packages:
  libsoap-lite-perl libqt3-mt-psql libqt3-mt-mysql libqt3-mt-odbc
Recommended packages:
  perl-suid ruby akode menu
The following NEW packages will be installed
  kdelibs-bin kdelibs-data kdelibs4c2a konversation libarts1c2a libartsc0 libavahi-qt3-1 libopenexr2c2a libpcre3 libqt3-mt
  menu-xdg
0 upgraded, 11 newly installed, 0 to remove and 139 not upgraded.
Need to get 25.8MB of archives.
After unpacking 81.7MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  libartsc0 libqt3-mt libarts1c2a libavahi-qt3-1 libopenexr2c2a libpcre3 kdelibs-data kdelibs4c2a menu-xdg kdelibs-bin
  konversation
Install these packages without verification [y/N]? y
Errhttp://gb.archive.ubuntu.com dapper/main libartsc0 1.5.2-0ubuntu1
  Connection failed
Errhttp://gb.archive.ubuntu.com dapper-updates/main libqt3-mt 3:3.3.6-1ubuntu6
  Connection failed
Errhttp://gb.archive.ubuntu.com dapper/main libarts1c2a 1.5.2-0ubuntu1
  Connection failed
Errhttp://gb.archive.ubuntu.com dapper/main libavahi-qt3-1 0.6.10-0ubuntu3
  Connection failed
Errhttp://gb.archive.ubuntu.com dapper/main libopenexr2c2a 1.2.2-4ubuntu2
  Connection failed
Errhttp://gb.archive.ubuntu.com dapper/main libpcre3 6.4-1.1ubuntu4
  Connection failed
Errhttp://gb.archive.ubuntu.com dapper/main kdelibs-data 4:3.5.2-0ubuntu18
  Connection failed
Errhttp://gb.archive.ubuntu.com dapper/main kdelibs4c2a 4:3.5.2-0ubuntu18
  Connection failed
Errhttp://gb.archive.ubuntu.com dapper/main menu-xdg 0.2.2
  Connection failed
Errhttp://gb.archive.ubuntu.com dapper/main kdelibs-bin 4:3.5.2-0ubuntu18
  Connection failed
Errhttp://gb.archive.ubuntu.com dapper/main konversation 0.19-0ubuntu4
  Connection failed
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/a/arts/libartsc0_1.5.2-0ubuntu1_i386.deb Connection failed
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/q/qt-x11-free/libqt3-mt_3.3.6-1ubuntu6_i386.deb Connection failed
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/a/arts/libarts1c2a_1.5.2-0ubuntu1_i386.deb Connection failed
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/a/avahi/libavahi-qt3-1_0.6.10-0ubuntu3_i386.deb Connection failed
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/o/openexr/libopenexr2c2a_1.2.2-4ubuntu2_i386.deb Connection failed
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/p/pcre3/libpcre3_6.4-1.1ubuntu4_i386.deb Connection failed
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/k/kdelibs/kdelibs-data_3.5.2-0ubuntu18_all.deb Connection failed
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/k/kdelibs/kdelibs4c2a_3.5.2-0ubuntu18_i386.deb Connection failed
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/m/menu-xdg/menu-xdg_0.2.2_all.deb Connection failed
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/k/kdelibs/kdelibs-bin_3.5.2-0ubuntu18_i386.deb Connection failed
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/k/konversation/konversation_0.19-0ubuntu4_i386.deb Connection failed
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I have tried to run sudo apt-get update but this also brings errors, if you'd like to see the errors which It brings then I'll be happy to post that for you.
Thanks,
Ben.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Nightmare
Solved:
Last query:
Last reply:
Revision history for this message
debianmigrant (debianmigrant) said :
#1

Try:

$sudo apt-get update && sudo apt-get (dist-)upgrade

then:

$ gpg --keyserver subkeys.pgp.net --recv 437D05B5

then:

$ gpg --export --armor 437D05B5 | sudo apt-key add -

then:

$sudo apt-get install update

Retry installing the app

Revision history for this message
Nightmare (bennyboi118) said :
#2

Again, this has failed, I've tried different mirrors too - but no luck.
This is really strange, the first time I installed ubuntu this never happened but after a few months it just wouldn't get and install anything, I tried installing today and I'm still having the same errors..
I've tried what you have said and it always returns the same errors as what it did In my first post for help, I've asked in #ubuntu on freenode but all they are telling me is that the servers are down and to try different mirrors which I have done.

Revision history for this message
debianmigrant (debianmigrant) said :
#3

sudo apt-get clean && sudo apt-get update

Are you connected via a router? You could try rebooting that if you haven't already

Revision history for this message
Nightmare (bennyboi118) said :
#4

I have just tried that, debianmigrant.
I just reset my router and now..

ben@home:~$ sudo apt-get clean && sudo apt-get update
Errhttp://security.ubuntu.com dapper-security Release.gpg
  Connection failed
Ign http://security.ubuntu.com dapper-security Release
Errhttp://br.archive.ubuntu.com dapper Release.gpg
  Connection failed
Ign http://security.ubuntu.com dapper-security/main Packages
Ign http://security.ubuntu.com dapper-security/restricted Packages
Ign http://br.archive.ubuntu.com dapper Release
Ign http://security.ubuntu.com dapper-security/main Sources
Ign http://security.ubuntu.com dapper-security/restricted Sources
Ign http://security.ubuntu.com dapper-security/universe Packages
Ign http://br.archive.ubuntu.com dapper/main Packages
Ign http://security.ubuntu.com dapper-security/universe Sources
Errhttp://security.ubuntu.com dapper-security/main Packages
  Connection failed
Errhttp://security.ubuntu.com dapper-security/restricted Packages
  Connection failed
Errhttp://br.archive.ubuntu.com dapper/main Packages
  Connection failed
Errhttp://security.ubuntu.com dapper-security/main Sources
  Connection failed
Errhttp://security.ubuntu.com dapper-security/restricted Sources
  Connection failed
Errhttp://security.ubuntu.com dapper-security/universe Packages
  Connection failed
Errhttp://security.ubuntu.com dapper-security/universe Sources
  Connection failed
22% [Connecting to ca.archive.ubuntu.com (206.167.141.10)]

It just won't move from 22%

Revision history for this message
Sam Cater (wraund-deactivatedaccount) said :
#5

check to see if anything is going wrong in 'software sources' (system>admin>)

Revision history for this message
Nightmare (bennyboi118) said :
#6

There is no 'software sources' in 'system --> administration', I use version 6.06.
I hope that when newest version is sent to me there won't be this problem :)

Revision history for this message
debianmigrant (debianmigrant) said :
#7

The software sources would be found in synaptic ->Settings -> Repositories but if you have re-installed I doubt it will make any difference. Sounds to me like it's a router or ISP issue.

Revision history for this message
Best Nightmare (bennyboi118) said :
#8

Okay, I will contact my ISP :)

Revision history for this message
asala (asala) said :
#9

Quite likely this will be unread (it's 3 year old) but I'm having sort of same problem.

My apt-get or aptitude are a mess after upgrading from lucid to Maverick.

Internet works perfectly (I mean, I am writing this, so DNS, routing, etc. should be all right, shouldn't it?).
I changed repositories main, spain, us, ... but no luck.

I'm out of patience and I have devote many hours searching for a fix.
I don't want to reinstall...

_________________

apt-get update returns:

Ign http://archive.canonical.com maverick Release.gpg
Ign http://archive.canonical.com/ubuntu/ maverick/partner Translation-en
Err http://ftp.caliu.cat maverick Release.gpg
  Fallo la conexión
Ign http://archive.canonical.com/ubuntu/ maverick/partner Translation-es
Ign http://archive.canonical.com maverick Release
Ign http://archive.canonical.com maverick/partner amd64 Packages
Ign http://archive.canonical.com maverick/partner amd64 Packages
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick/main Translation-en
  Fallo la conexión
Err http://archive.canonical.com maverick/partner amd64 Packages
  404 Not Found
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick/main Translation-es
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick/multiverse Translation-en
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick/multiverse Translation-es
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick/restricted Translation-en
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick/restricted Translation-es
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick/universe Translation-en
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick/universe Translation-es
  Fallo la conexión
Err http://ftp.caliu.cat maverick-updates Release.gpg
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-updates/main Translation-en
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-updates/main Translation-es
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-updates/multiverse Translation-en
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-updates/multiverse Translation-es
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-updates/restricted Translation-en
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-updates/restricted Translation-es
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-updates/universe Translation-en
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-updates/universe Translation-es
  Fallo la conexión
Err http://ftp.caliu.cat maverick-security Release.gpg
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-security/main Translation-en
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-security/main Translation-es
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-security/multiverse Translation-en
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-security/multiverse Translation-es
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-security/restricted Translation-en
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-security/restricted Translation-es
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-security/universe Translation-en
  Fallo la conexión
Err http://ftp.caliu.cat/pub/distribucions/ubuntu/archive/ maverick-security/universe Translation-es
  Fallo la conexión
Ign http://ftp.caliu.cat maverick Release
Ign http://ftp.caliu.cat maverick-updates Release
Ign http://ftp.caliu.cat maverick-security Release
Ign http://ftp.caliu.cat maverick/main Sources
Ign http://ftp.caliu.cat maverick/restricted Sources
Ign http://ftp.caliu.cat maverick/universe Sources
Ign http://ftp.caliu.cat maverick/multiverse Sources
Ign http://ftp.caliu.cat maverick/main amd64 Packages
Ign http://ftp.caliu.cat maverick/restricted amd64 Packages
Ign http://ftp.caliu.cat maverick/universe amd64 Packages
Ign http://ftp.caliu.cat maverick/multiverse amd64 Packages
Ign http://ftp.caliu.cat maverick-updates/main Sources
Ign http://ftp.caliu.cat maverick-updates/restricted Sources
Ign http://ftp.caliu.cat maverick-updates/universe Sources
Ign http://ftp.caliu.cat maverick-updates/multiverse Sources
Ign http://ftp.caliu.cat maverick-updates/main amd64 Packages
Ign http://ftp.caliu.cat maverick-updates/restricted amd64 Packages
Ign http://ftp.caliu.cat maverick-updates/universe amd64 Packages
Ign http://ftp.caliu.cat maverick-updates/multiverse amd64 Packages
Ign http://ftp.caliu.cat maverick-security/main Sources
Ign http://ftp.caliu.cat maverick-security/restricted Sources
Ign http://ftp.caliu.cat maverick-security/universe Sources
Ign http://ftp.caliu.cat maverick-security/multiverse Sources
Ign http://ftp.caliu.cat maverick-security/main amd64 Packages
Ign http://ftp.caliu.cat maverick-security/restricted amd64 Packages
Ign http://ftp.caliu.cat maverick-security/universe amd64 Packages
Ign http://ftp.caliu.cat maverick-security/multiverse amd64 Packages
Ign http://ftp.caliu.cat maverick/main Sources
Ign http://ftp.caliu.cat maverick/restricted Sources
Ign http://ftp.caliu.cat maverick/universe Sources
Ign http://ftp.caliu.cat maverick/multiverse Sources
Ign http://ftp.caliu.cat maverick/main amd64 Packages
Ign http://ftp.caliu.cat maverick/restricted amd64 Packages
Ign http://ftp.caliu.cat maverick/universe amd64 Packages
Ign http://ftp.caliu.cat maverick/multiverse amd64 Packages
Ign http://ftp.caliu.cat maverick-updates/main Sources
Ign http://ftp.caliu.cat maverick-updates/restricted Sources
Ign http://ftp.caliu.cat maverick-updates/universe Sources
Ign http://ftp.caliu.cat maverick-updates/multiverse Sources
Ign http://ftp.caliu.cat maverick-updates/main amd64 Packages
Ign http://ftp.caliu.cat maverick-updates/restricted amd64 Packages
Ign http://ftp.caliu.cat maverick-updates/universe amd64 Packages
Ign http://ftp.caliu.cat maverick-updates/multiverse amd64 Packages
Ign http://ftp.caliu.cat maverick-security/main Sources
Ign http://ftp.caliu.cat maverick-security/restricted Sources
Ign http://ftp.caliu.cat maverick-security/universe Sources
Ign http://ftp.caliu.cat maverick-security/multiverse Sources
Ign http://ftp.caliu.cat maverick-security/main amd64 Packages
Ign http://ftp.caliu.cat maverick-security/restricted amd64 Packages
Ign http://ftp.caliu.cat maverick-security/universe amd64 Packages
Ign http://ftp.caliu.cat maverick-security/multiverse amd64 Packages
Err http://ftp.caliu.cat maverick/main Sources
  Fallo la conexión
Err http://ftp.caliu.cat maverick/restricted Sources
  Fallo la conexión
Err http://ftp.caliu.cat maverick/universe Sources
  Fallo la conexión
Err http://ftp.caliu.cat maverick/multiverse Sources
  Fallo la conexión
Err http://ftp.caliu.cat maverick/main amd64 Packages
  Fallo la conexión
Err http://ftp.caliu.cat maverick/restricted amd64 Packages
  Fallo la conexión
Err http://ftp.caliu.cat maverick/universe amd64 Packages
  Fallo la conexión
Err http://ftp.caliu.cat maverick/multiverse amd64 Packages
  Fallo la conexión
Err http://ftp.caliu.cat maverick-updates/main Sources
  Fallo la conexión
Err http://ftp.caliu.cat maverick-updates/restricted Sources
  Fallo la conexión
Err http://ftp.caliu.cat maverick-updates/universe Sources
  Fallo la conexión
Err http://ftp.caliu.cat maverick-updates/multiverse Sources
  Fallo la conexión
Err http://ftp.caliu.cat maverick-updates/main amd64 Packages
  Fallo la conexión
Err http://ftp.caliu.cat maverick-updates/restricted amd64 Packages
  Fallo la conexión
Err http://ftp.caliu.cat maverick-updates/universe amd64 Packages
  Fallo la conexión
Err http://ftp.caliu.cat maverick-updates/multiverse amd64 Packages
  Fallo la conexión
Err http://ftp.caliu.cat maverick-security/main Sources
  Fallo la conexión
Err http://ftp.caliu.cat maverick-security/restricted Sources
  Fallo la conexión
Err http://ftp.caliu.cat maverick-security/universe Sources
  Fallo la conexión
Err http://ftp.caliu.cat maverick-security/multiverse Sources
  Fallo la conexión
Err http://ftp.caliu.cat maverick-security/main amd64 Packages
  Fallo la conexión
Err http://ftp.caliu.cat maverick-security/restricted amd64 Packages
  Fallo la conexión
Err http://ftp.caliu.cat maverick-security/universe amd64 Packages
  Fallo la conexión
Err http://ftp.caliu.cat maverick-security/multiverse amd64 Packages
  Fallo la conexión