Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

apt-get update couldn't run.

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
t.man
Posts: 6
Joined: 2009-06-17 06:48

apt-get update couldn't run.

#1 Post by t.man »

i'm having problem with apt-get update command.

i get several of these error messages:

W: Failed to fetch http://volatile.debian.org/debian-volat ... ce/Sources Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]

any help?

User avatar
brain
Posts: 253
Joined: 2006-04-25 17:15

Re: apt-get update couldn't run.

#2 Post by brain »

It seems you're not correctly connected to Internet. Do web browsing work?

t.man
Posts: 6
Joined: 2009-06-17 06:48

Re: apt-get update couldn't run.

#3 Post by t.man »

brain wrote:It seems you're not correctly connected to Internet. Do web browsing work?
web browsing is working fine.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: apt-get update couldn't run.

#4 Post by craigevil »

Can you post your sources.list? It looks like from the link in the OP you have a deb-src line for volatile, as far as I know there isn't a deb-src for it.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

t.man
Posts: 6
Joined: 2009-06-17 06:48

Re: apt-get update couldn't run.

#5 Post by t.man »

craigevil wrote:Can you post your sources.list? It looks like from the link in the OP you have a deb-src line for volatile, as far as I know there isn't a deb-src for it.
another thing i forgot to mention is that when i install the os, along the process i got this message:

"The repository on volatile.debian.org couldn't be accessed, so its updates will not be made available to you at this time. You should investigate this later.

Commented out entries fro volatile.debian.org have been added to the etc/apt/sources.list file"

so is this the cause of the problem?

t.man
Posts: 6
Joined: 2009-06-17 06:48

Re: apt-get update couldn't run.

#6 Post by t.man »

craigevil wrote:Can you post your sources.list? It looks like from the link in the OP you have a deb-src line for volatile, as far as I know there isn't a deb-src for it.
here are the contents of the sources.list

Code: Select all

# 
# deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 DVD Binary-1 20090413-00:33]/ lenny contrib main

deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 DVD Binary-1 20090413-00:33]/ lenny contrib main

deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 DVD Binary-2 20090413-00:33]/ lenny contrib main

deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 DVD Binary-3 20090413-00:33]/ lenny contrib main

deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 DVD Binary-4 20090413-00:33]/ lenny contrib main

deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 DVD Binary-5 20090413-00:33]/ lenny contrib main

deb cdrom:[Debian GNU/Linux 5.0.1 Update DVD 20090414: i386 DVD 1]/ lenny contrib main non-free

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

# Line commented out by installer because it failed to verify:
#deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
# Line commented out by installer because it failed to verify:
#deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: apt-get update couldn't run.

#7 Post by craigevil »

Comment out the cd-rom lines unless you are trying to install packages from a cd/dvd.

The following will give you pretty much any package you night need.

Code: Select all

#Stable 
deb http://ftp.debian.org/debian/ lenny main contrib non-free 
#Stable Sources
deb-src http://ftp.debian.org/debian/ lenny main contrib non-free 
#Security Updates Stable
deb http://security.debian.org/ lenny/updates main contrib non-free 

# Debian Volatile http://www.debian.org/volatile/
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

# Debian Stable Backports 
#deb http://www.backports.org/debian lenny-backports main contrib non-free

#Debian-multimedia.org apt-get install debian-multimedia-keyring
# deb http://www.debian-multimedia.org lenny  main 
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

t.man
Posts: 6
Joined: 2009-06-17 06:48

Re: apt-get update couldn't run.

#8 Post by t.man »

here is the modification i made, but with no success

Code: Select all

# 
# deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 DVD Binary-1 20090413-00:33]/ lenny contrib main

#deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 DVD Binary-1 20090413-00:33]/ lenny contrib main

#deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 DVD Binary-2 20090413-00:33]/ lenny contrib main

#deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 DVD Binary-3 20090413-00:33]/ lenny contrib main

#deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 DVD Binary-4 20090413-00:33]/ lenny contrib main

#deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official i386 DVD Binary-5 20090413-00:33]/ lenny contrib main

#deb cdrom:[Debian GNU/Linux 5.0.1 Update DVD 20090414: i386 DVD 1]/ lenny contrib main non-free

#Stable
deb http://ftp.debian.org/debian/ lenny main contrib non-free
#Stable Sources
deb-src http://ftp.debian.org/debian lenny main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ lenny/updates main contrib non-free

# Debian Volatile http://www.debian.org/volatile/
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

# Debian Stable Backports
#deb http://www.backports.org/debian lenny-backports main contrib non-free

#Debian-multimedia.org apt-get install debian-multimedia-keyring
# deb http://www.debian-multimedia.org lenny main
and this the message i get:

Code: Select all

nul-mokoena:~# sudo apt-get update
Err http://ftp.debian.org lenny Release.gpg
  Could not connect to ftp.debian.org:80 (130.89.149.226). - connect (111 Connection refused)
Err http://ftp.debian.org lenny/main Translation-en_ZA                         
  Could not connect to ftp.debian.org:80 (130.89.149.226). - connect (111 Connection refused)
Err http://ftp.debian.org lenny/contrib Translation-en_ZA                      
  Could not connect to ftp.debian.org:80 (130.89.149.226). - connect (111 Connection refused)
Err http://ftp.debian.org lenny/non-free Translation-en_ZA                     
  Could not connect to ftp.debian.org:80 (130.89.149.226). - connect (111 Connection refused)
Err http://security.debian.org lenny/updates Release.gpg                       
  Could not connect to security.debian.org:80 (212.211.132.250). - connect (111 Connection refused)
Err http://security.debian.org lenny/updates/main Translation-en_ZA            
  Could not connect to security.debian.org:80 (212.211.132.250). - connect (111 Connection refused)
Err http://security.debian.org lenny/updates/contrib Translation-en_ZA         
  Could not connect to security.debian.org:80 (212.211.132.250). - connect (111 Connection refused)
Err http://security.debian.org lenny/updates/non-free Translation-en_ZA        
  Could not connect to security.debian.org:80 (212.211.132.250). - connect (111 Connection refused)
Err http://volatile.debian.org lenny/volatile Release.gpg                      
  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]
Err http://volatile.debian.org lenny/volatile/main Translation-en_ZA
  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]
Err http://volatile.debian.org lenny/volatile/contrib Translation-en_ZA
  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]
Err http://volatile.debian.org lenny/volatile/non-free Translation-en_ZA
  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]
Ign http://volatile.debian.org lenny/volatile Release  
Ign http://volatile.debian.org lenny/volatile/main Packages
Ign http://volatile.debian.org lenny/volatile/contrib Packages
Ign http://volatile.debian.org lenny/volatile/non-free Packages
Ign http://volatile.debian.org lenny/volatile/main Packages
Ign http://volatile.debian.org lenny/volatile/contrib Packages
Ign http://volatile.debian.org lenny/volatile/non-free Packages
Err http://volatile.debian.org lenny/volatile/main Packages
  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]
Err http://volatile.debian.org lenny/volatile/contrib Packages
  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]
Err http://volatile.debian.org lenny/volatile/non-free Packages
  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]
Reading package lists... Done                           
W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/Release.gpg  Could not connect to ftp.debian.org:80 (130.89.149.226). - connect (111 Connection refused)

W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/main/i18n/Translation-en_ZA.bz2  Could not connect to ftp.debian.org:80 (130.89.149.226). - connect (111 Connection refused)

W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/contrib/i18n/Translation-en_ZA.bz2  Could not connect to ftp.debian.org:80 (130.89.149.226). - connect (111 Connection refused)

W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/non-free/i18n/Translation-en_ZA.bz2  Could not connect to ftp.debian.org:80 (130.89.149.226). - connect (111 Connection refused)

W: Failed to fetch http://security.debian.org/dists/lenny/updates/Release.gpg  Could not connect to security.debian.org:80 (212.211.132.250). - connect (111 Connection refused)

W: Failed to fetch http://security.debian.org/dists/lenny/updates/main/i18n/Translation-en_ZA.bz2  Could not connect to security.debian.org:80 (212.211.132.250). - connect (111 Connection refused)

W: Failed to fetch http://security.debian.org/dists/lenny/updates/contrib/i18n/Translation-en_ZA.bz2  Could not connect to security.debian.org:80 (212.211.132.250). - connect (111 Connection refused)

W: Failed to fetch http://security.debian.org/dists/lenny/updates/non-free/i18n/Translation-en_ZA.bz2  Could not connect to security.debian.org:80 (212.211.132.250). - connect (111 Connection refused)

W: Failed to fetch http://volatile.debian.org/debian-volatile/dists/lenny/volatile/Release.gpg  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]

W: Failed to fetch http://volatile.debian.org/debian-volatile/dists/lenny/volatile/main/i18n/Translation-en_ZA.bz2  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]

W: Failed to fetch http://volatile.debian.org/debian-volatile/dists/lenny/volatile/contrib/i18n/Translation-en_ZA.bz2  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]

W: Failed to fetch http://volatile.debian.org/debian-volatile/dists/lenny/volatile/non-free/i18n/Translation-en_ZA.bz2  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]

W: Failed to fetch http://volatile.debian.org/debian-volatile/dists/lenny/volatile/main/binary-i386/Packages  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]

W: Failed to fetch http://volatile.debian.org/debian-volatile/dists/lenny/volatile/contrib/binary-i386/Packages  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]

W: Failed to fetch http://volatile.debian.org/debian-volatile/dists/lenny/volatile/non-free/binary-i386/Packages  Cannot initiate the connection to volatile.debian.org:80 (2001:610:1908:a000::149:227). - connect (101 Network is unreachable) [IP: 2001:610:1908:a000::149:227 80]

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems
nul-mokoena:~# 


User avatar
bugsbunny
Posts: 5354
Joined: 2008-07-06 17:04
Been thanked: 1 time

Re: apt-get update couldn't run.

#9 Post by bugsbunny »

Blacklist ipv6 and see if that helps.

1) Modify /etc/modprobe.d/aliases
Change

Code: Select all

alias net-pf-10 ipv6
to

Code: Select all

# alias net-pf-10 ipv6
alias net-pf-10 off
alias ipv6 off
2) This shouldn't be required, but won't hurt:
Modify /etc/modprobe.d/blacklist (possibly blacklist.conf)
Add the following line:

Code: Select all

blacklist ipv6
In iceweasel about:config find network.dns.disableIPv6 and set it to true

Post Reply