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

 

 

 

Linux update problem

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
asgare
Posts: 3
Joined: 2020-10-11 07:13

Linux update problem

#1 Post by asgare »

Hi
After several years of installing Linux now getting new error but couldn't know how to handle it.

here is my source list:

Code: Select all

# deb cdrom:[Debian GNU/Linux 10.5.0 _Buster_ - Official amd64 DVD Binary-1 20200801-11:35]/ buster contrib main
#deb cdrom:[Debian GNU/Linux 10.5.0 _Buster_ - Official amd64 DVD Binary-1 20200801-11:35]/ buster contrib main
deb http://ftp.de.debian.org/debian/ buster main non-free contrib
deb-src http://ftp.de.debian.org/debian/ buster main non-free contrib
deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
# buster-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ buster-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ buster-updates main contrib non-free
deb http://deb.debian.org/debian/ buster main contrib non-free
deb-src http://deb.debian.org/debian/ buster main contrib non-free
deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
deb http://ftp.cz.debian.org/debian/ buster-updates main contrib
deb-src http://ftp.cz.debian.org/debian/ buster-updates main contrib
deb http://ftp.tr.debian.org/debian/ buster-updates main contrib
deb-src http://ftp.tr.debian.org/debian/ buster-updates main contrib
deb http://ftp.at.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.at.debian.org/debian/ jessie main contrib non-free
deb http://ftp.us.debian.org/debian/ buster main
deb-src http://ftp.us.debian.org/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib
# buster-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ buster-updates main contrib
Since I live in Iran, I set in a way that the nearest location fetches updates. Always this method worked for me but now even my new and old server is not working.


here are the update command results:

Code: Select all

root@ns1:~# apt-get update

Err:1 http://security.debian.org/debian-security buster/updates InRelease
  Temporary failure resolving 'security.debian.org'
Err:2 http://ftp.us.debian.org/debian buster InRelease
  Temporary failure resolving 'ftp.us.debian.org'
Err:3 http://deb.debian.org/debian buster InRelease
  Temporary failure resolving 'deb.debian.org'
Err:4 http://ftp.tr.debian.org/debian buster-updates InRelease
  Temporary failure resolving 'ftp.tr.debian.org'
Err:5 http://ftp.de.debian.org/debian buster InRelease
  Temporary failure resolving 'ftp.de.debian.org'
Err:6 http://ftp.cz.debian.org/debian buster-updates InRelease
  Temporary failure resolving 'ftp.cz.debian.org'
Err:7 http://ftp.at.debian.org/debian jessie InRelease
  Temporary failure resolving 'ftp.at.debian.org'
Err:8 http://ftp.us.debian.org/debian buster-updates InRelease
  Temporary failure resolving 'ftp.us.debian.org'
Err:9 http://ftp.de.debian.org/debian buster-updates InRelease
  Temporary failure resolving 'ftp.de.debian.org'
Reading package lists... Done
W: Failed to fetch http://ftp.de.debian.org/debian/dists/buster/InRelease  Temporary failure resolving 'ftp.de.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease  Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://ftp.de.debian.org/debian/dists/buster-updates/InRelease  Temporary failure resolving 'ftp.de.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease  Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://ftp.cz.debian.org/debian/dists/buster-updates/InRelease  Temporary failure resolving 'ftp.cz.debian.org'
W: Failed to fetch http://ftp.tr.debian.org/debian/dists/buster-updates/InRelease  Temporary failure resolving 'ftp.tr.debian.org'
W: Failed to fetch http://ftp.at.debian.org/debian/dists/jessie/InRelease  Temporary failure resolving 'ftp.at.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/buster/InRelease  Temporary failure resolving 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/buster-updates/InRelease  Temporary failure resolving 'ftp.us.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list:19
W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list:19
W: Target Sources (non-free/source/Sources) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list:19
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list:34
W: Target Sources (contrib/source/Sources) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list:34
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:18
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:18
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:18
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:18
W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:18
W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:18
W: Target Translations (contrib/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:18
W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:18
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:18
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:18
W: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:18
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:18
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:33
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:33
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:33
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:33
W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:33
W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:33
W: Target Translations (contrib/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:33
W: Target Translations (contrib/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:33
Also, I change the domain name to IP address via ping command but also that wasn't worked for me.
Almost for about two weeks, I got stuck in this situation and need urgent help. Please let me know if anyone experienced this situation.

User avatar
sickpig
Posts: 592
Joined: 2019-01-23 10:34
Has thanked: 1 time
Been thanked: 1 time

Re: Linux update problem

#2 Post by sickpig »

Try the cdn ones

Code: Select all

deb http://cdn-fastly.deb.debian.org/debian stable main
deb http://cdn-fastly.deb.debian.org/debian-security stable/updates main
ref http://deb.debian.org/

fastly is an American company though they might have an embargo against traffic originating from Iran. I don't know.

asgare
Posts: 3
Joined: 2020-10-11 07:13

Re: Linux update problem

#3 Post by asgare »

sickpig wrote:Try the cdn ones

Code: Select all

deb http://cdn-fastly.deb.debian.org/debian stable main
deb http://cdn-fastly.deb.debian.org/debian-security stable/updates main
ref http://deb.debian.org/

fastly is an American company though they might have an embargo against traffic originating from Iran. I don't know.
Hi
Thanks for your prompt reply
regretable this CDN not worked for me. Here is the result:

Code: Select all

root@ns1:~# apt-get update
0% [Connecting to cdn-fastly.deb.debian.org] [Connecting to ftp.de.debian.org] [Connecting to security.debian.org] [Connecting to deb.debian.org] [Connecting to ftp.cz.deb


User avatar
sickpig
Posts: 592
Joined: 2019-01-23 10:34
Has thanked: 1 time
Been thanked: 1 time

Re: Linux update problem

#4 Post by sickpig »

is the internet on that box working?

asgare
Posts: 3
Joined: 2020-10-11 07:13

Re: Linux update problem

#5 Post by asgare »

sickpig wrote:is the internet on that box working?
yes

User avatar
sickpig
Posts: 592
Joined: 2019-01-23 10:34
Has thanked: 1 time
Been thanked: 1 time

Re: Linux update problem

#6 Post by sickpig »

comment out all entries in sources.list and in all files under /etc/apt/sources.d/
leave just the cdn entries in the sources.list and then check with

Code: Select all

apt update

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Linux update problem

#7 Post by arochester »

Are you using a VPN? Are you in Iran at the moment?

de=Germany cz=Czech Republic

User avatar
metreo
Posts: 20
Joined: 2020-10-08 19:15

Re: Linux update problem

#8 Post by metreo »

I've been hearing about network traffic blocking from within Iran. I believe some chat application protocols have also been disallowed.

sgosnell
Posts: 975
Joined: 2011-03-14 01:49

Re: Linux update problem

#9 Post by sgosnell »

You have far too many entries in /etc/apt/sources.list. You have both Buster and Jessie, perhaps more that I didn't see, and the same Buster repositories many times. Get rid of the duplicates. If that doesn't solve your problem, and it may not, it may be an issue with your service provider.
Take my advice, I'm not using it.

Post Reply