Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th October 2009, 13:37
qriz qriz is offline
Member
 
Join Date: Jan 2009
Location: Daytona Beach - Florida
Posts: 32
Thanks: 7
Thanked 1 Time in 1 Post
Default Debian Lenny apt-get update failed to fetch

here's the out put of apt-get update

Quote:
# apt-get update
Err http://ftp.us.debian.org lenny Release.gpg
Cannot initiate the connection to ftp.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]
Err http://ftp.us.debian.org lenny/main Translation-en_US
Cannot initiate the connection to ftp.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]
Ign http://ftp.us.debian.org lenny Release
Ign http://ftp.us.debian.org lenny/main Packages/DiffIndex
Ign http://ftp.us.debian.org lenny/main Sources/DiffIndex
Ign http://ftp.us.debian.org lenny/main Packages
Ign http://ftp.us.debian.org lenny/main Sources
Ign http://ftp.us.debian.org lenny/main Packages
Ign http://ftp.us.debian.org lenny/main Sources
Err http://ftp.us.debian.org lenny/main Packages
Cannot initiate the connection to ftp.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]
Err http://ftp.us.debian.org lenny/main Sources
Cannot initiate the connection to ftp.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]
Err http://volatile.debian.org lenny/volatile Release.gpg
Cannot initiate the connection to volatile.debian.org:80 (130.89.149.227). - connect (22 Invalid argument) [IP: 130.89.149.227 80]
Err http://http.us.debian.org stable Release.gpg
Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]
Err http://http.us.debian.org stable/main Translation-en_US
Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]
Err http://http.us.debian.org stable/contrib Translation-en_US
Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]
Err http://http.us.debian.org stable/non-free Translation-en_US
Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]
Ign http://http.us.debian.org stable Release
Ign http://http.us.debian.org stable/main Packages
Ign http://http.us.debian.org stable/contrib Packages
Ign http://http.us.debian.org stable/non-free Packages
Ign http://http.us.debian.org stable/main Packages
Ign http://http.us.debian.org stable/contrib Packages
Ign http://http.us.debian.org stable/non-free Packages
Err http://http.us.debian.org stable/main Packages
Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]
Err http://http.us.debian.org stable/contrib Packages
Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]
Err http://http.us.debian.org stable/non-free Packages
Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]
Err http://volatile.debian.org lenny/volatile/main Translation-en_US
Cannot initiate the connection to volatile.debian.org:80 (130.89.149.227). - connect (22 Invalid argument) [IP: 130.89.149.227 80]
Err http://security.debian.org lenny/updates Release.gpg
Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]
Ign http://volatile.debian.org lenny/volatile Release
Err http://security.debian.org lenny/updates/main Translation-en_US
Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]
Ign http://volatile.debian.org lenny/volatile/main Packages
Err http://security.debian.org stable/updates Release.gpg
Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]
Ign http://volatile.debian.org lenny/volatile/main Sources
Err http://security.debian.org stable/updates/main Translation-en_US
Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]
Ign http://volatile.debian.org lenny/volatile/main Packages
Err http://security.debian.org stable/updates/contrib Translation-en_US
Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]
Ign http://volatile.debian.org lenny/volatile/main Sources
Err http://security.debian.org stable/updates/non-free Translation-en_US
Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]
Err http://volatile.debian.org lenny/volatile/main Packages
Cannot initiate the connection to volatile.debian.org:80 (130.89.149.227). - connect (22 Invalid argument) [IP: 130.89.149.227 80]
Ign http://security.debian.org lenny/updates Release
Err http://volatile.debian.org lenny/volatile/main Sources
Cannot initiate the connection to volatile.debian.org:80 (130.89.149.227). - connect (22 Invalid argument) [IP: 130.89.149.227 80]
Ign http://security.debian.org stable/updates Release
Ign http://security.debian.org lenny/updates/main Packages
Ign http://security.debian.org lenny/updates/main Sources
Ign http://security.debian.org stable/updates/main Packages
Ign http://security.debian.org stable/updates/contrib Packages
Ign http://security.debian.org stable/updates/non-free Packages
Ign http://security.debian.org lenny/updates/main Packages
Ign http://security.debian.org lenny/updates/main Sources
Ign http://security.debian.org stable/updates/main Packages
Ign http://security.debian.org stable/updates/contrib Packages
Ign http://security.debian.org stable/updates/non-free Packages
Err http://security.debian.org lenny/updates/main Packages
Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]
Err http://security.debian.org lenny/updates/main Sources
Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]
Err http://security.debian.org stable/updates/main Packages
Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]
Err http://security.debian.org stable/updates/contrib Packages
Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]
Err http://security.debian.org stable/updates/non-free Packages
Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny/Release.gpg Cannot initiate the connection to ftp.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dist...tion-en_US.bz2 Cannot initiate the connection to ftp.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]

W: Failed to fetch http://security.debian.org/dists/len...es/Release.gpg Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]

W: Failed to fetch http://security.debian.org/dists/len...tion-en_US.bz2 Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]

W: Failed to fetch http://volatile.debian.org/debian-vo...le/Release.gpg Cannot initiate the connection to volatile.debian.org:80 (130.89.149.227). - connect (22 Invalid argument) [IP: 130.89.149.227 80]

W: Failed to fetch http://volatile.debian.org/debian-vo...tion-en_US.bz2 Cannot initiate the connection to volatile.debian.org:80 (130.89.149.227). - connect (22 Invalid argument) [IP: 130.89.149.227 80]

W: Failed to fetch http://http.us.debian.org/debian/dis...le/Release.gpg Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]

W: Failed to fetch http://http.us.debian.org/debian/dis...tion-en_US.bz2 Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]

W: Failed to fetch http://http.us.debian.org/debian/dis...tion-en_US.bz2 Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]

W: Failed to fetch http://http.us.debian.org/debian/dis...tion-en_US.bz2 Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]

W: Failed to fetch http://security.debian.org/dists/sta...es/Release.gpg Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]

W: Failed to fetch http://security.debian.org/dists/sta...tion-en_US.bz2 Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]

W: Failed to fetch http://security.debian.org/dists/sta...tion-en_US.bz2 Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]

W: Failed to fetch http://security.debian.org/dists/sta...tion-en_US.bz2 Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dist...-i386/Packages Cannot initiate the connection to ftp.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]

W: Failed to fetch http://ftp.us.debian.org/debian/dist...source/Sources Cannot initiate the connection to ftp.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]

W: Failed to fetch http://http.us.debian.org/debian/dis...-i386/Packages Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]

W: Failed to fetch http://http.us.debian.org/debian/dis...-i386/Packages Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]

W: Failed to fetch http://http.us.debian.org/debian/dis...-i386/Packages Cannot initiate the connection to http.us.debian.org:80 (204.152.191.39). - connect (22 Invalid argument) [IP: 204.152.191.39 80]

W: Failed to fetch http://volatile.debian.org/debian-vo...-i386/Packages Cannot initiate the connection to volatile.debian.org:80 (130.89.149.227). - connect (22 Invalid argument) [IP: 130.89.149.227 80]

W: Failed to fetch http://volatile.debian.org/debian-vo...source/Sources Cannot initiate the connection to volatile.debian.org:80 (130.89.149.227). - connect (22 Invalid argument) [IP: 130.89.149.227 80]

W: Failed to fetch http://security.debian.org/dists/len...-i386/Packages Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]

W: Failed to fetch http://security.debian.org/dists/len...source/Sources Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]

W: Failed to fetch http://security.debian.org/dists/sta...-i386/Packages Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]

W: Failed to fetch http://security.debian.org/dists/sta...-i386/Packages Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]

W: Failed to fetch http://security.debian.org/dists/sta...-i386/Packages Cannot initiate the connection to security.debian.org:80 (128.31.0.36). - connect (22 Invalid argument) [IP: 128.31.0.36 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.
/etc/apt/sources.list looks like this
Quote:
#
# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 CD Binary-1 20090905-08:23]/ lenny main

#deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 CD Binary-1 20090905-08:23]/ lenny main

deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free
what can i do?
__________________
________
Qriz

Last edited by qriz; 30th October 2009 at 13:41. Reason: typo in title
Reply With Quote
Sponsored Links
  #2  
Old 31st October 2009, 13:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,727 Times in 2,565 Posts
Default

That's strange. Does it still happen, or was it a temporary issue?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 31st October 2009, 17:54
beezer1424 beezer1424 is offline
Junior Member
 
Join Date: Oct 2009
Posts: 14
Thanks: 0
Thanked 2 Times in 1 Post
Default I am no expert, but...

that happened to me last night as I was reinstalling a new server (from the perfect server debian +ISPConfig3). What was happening was that my existing DHCP server was set to hand out old local DNS server IPs. I editted the dhcp server to send only the external DNS servers and I was able to install the system with no issue.

I don't know if this is a similar situation for you, but good luck
Reply With Quote
The Following 2 Users Say Thank You to beezer1424 For This Useful Post:
feeninuoumn (17th January 2014), qriz (31st October 2009)
  #4  
Old 31st October 2009, 22:19
qriz qriz is offline
Member
 
Join Date: Jan 2009
Location: Daytona Beach - Florida
Posts: 32
Thanks: 7
Thanked 1 Time in 1 Post
Thumbs up Thanks

Quote:
Originally Posted by beezer1424 View Post
that happened to me last night as I was reinstalling a new server (from the perfect server debian +ISPConfig3). What was happening was that my existing DHCP server was set to hand out old local DNS server IPs. I editted the dhcp server to send only the external DNS servers and I was able to install the system with no issue.

I don't know if this is a similar situation for you, but good luck
I don't know how it happened (the only thing i can think of was a power outage), but my /etc/network/interfaces suddenly looked like this

Quote:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

auto eth0:0
iface eth0:0 inet static
address 127.0.0.1
netmask 255.255.255.0
network 127.0.0.0
broadcast 127.0.0.255
gateway 192.168.0.1

and on top of it /etc/hosts

Quote:
127.0.0.1 localhost.localdomain localhost
127.0.0.1 xxxx.xxxx.xxx xxxxxxx

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
after changing both back to perfect server guide specs everything's back to normal
__________________
________
Qriz
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 18:20
apt-get update Fails For UBUNTU Gutsy Gibbon giganet Server Operation 1 1st May 2009 15:24
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40
Perfect Xen 3.0 setup for Debian gurneyzap HOWTO-Related Questions 4 26th March 2006 11:30


All times are GMT +2. The time now is 05:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.