# dpkg —print-architecture
amd64
# dpkg —print-foreign-architectures
в ответе ничего нет
# uname -a
Linux server1 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux
# ping mirror.mephi.ru -c 4
PING point.mephi.ru (85.143.112.112) 56(84) bytes of data.
64 bytes from 85.143.112.112: icmp_seq=1 ttl=51 time=74.3 ms
64 bytes from 85.143.112.112: icmp_seq=2 ttl=51 time=73.5 ms
64 bytes from 85.143.112.112: icmp_seq=4 ttl=51 time=73.9 ms
— point.mephi.ru ping statistics —
4 packets transmitted, 3 received, 25% packet loss, time 3008ms
rtt min/avg/max/mdev = 73.591/73.984/74.363/0.315 ms
# ping security.debian.org -c 4
PING security.debian.org (133.242.99.74) 56(84) bytes of data.
64 bytes from setoguchi.debian.org (133.242.99.74): icmp_seq=1 ttl=43 time=342 ms
64 bytes from setoguchi.debian.org (133.242.99.74): icmp_seq=2 ttl=43 time=341 ms
64 bytes from setoguchi.debian.org (133.242.99.74): icmp_seq=3 ttl=43 time=341 ms
64 bytes from setoguchi.debian.org (133.242.99.74): icmp_seq=4 ttl=43 time=341 ms
— security.debian.org ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 341.336/341.588/342.032/0.770 ms
[свернуть]
I have just done a clean installation of Debian buster, and I’m having trouble with APT.
I run sudo apt update and I get this
Ign:1 cdrom://[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 NETINST 20190908-01:07] buster InRelease
Err:2 cdrom://[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 NETINST 20190908-01:07] buster Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 http://deb.debian.org/debian buster InRelease
Ign:4 http://deb.debian.org/debian buster/updates InRelease
Hit:5 http://deb.debian.org/debian buster-updates InRelease
Err:6 http://deb.debian.org/debian buster/updates Release
404 Not Found [IP: 151.101.132.204 80]
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 NETINST 20190908-01:07] buster Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://deb.debian.org/debian buster/updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list:4
Here you have the content of my sources.list
#
deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 NETINST 20190908-01:07]/ buster main
deb cdrom:[Debian GNU/Linux 10.1.0 _Buster_ - Official amd64 NETINST 20190908-01:07]/ buster main
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://deb.debian.org/debian/ buster/updates main
deb-src http://deb.debian.org/debian/ buster/updates main
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
I really can’t understand what’s the problem here, if these are the default sources that came with my clean installation inside the file, I changed nothing.
![]()
Zanna
3,44117 silver badges27 bronze badges
asked Sep 20, 2019 at 21:04
![]()
Comment your deb cdrom: lines and comment / remove the lines
deb http://deb.debian.org/debian/ buster/updates main
deb-src http://deb.debian.org/debian/ buster/updates main
and replace them with
deb http://deb.debian.org/debian-security/ buster/updates main
deb-src http://deb.debian.org/debian-security/ buster/updates main
I don’t know if these repositories were changed, but these are (working) repos taken from the Debian wiki.
Or copy & paste an example source.list from the wiki, here is the one with the additional contrib and non-free repos
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://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free
and run sudo apt update again.
answered Sep 20, 2019 at 21:49
![]()
I hit this problem upgrading Debian 9 Stretch to Debian 10 Buster, my issue was a backport duplication error:

To Solve:
- Find the duplicated line with
cat /etc/apt/sources.list.d/cat /etc/apt/sources.list.d/buster-backports.list
(Substituting «buster-backports.list» with «YOUR-DOUBLY-CONFIGURED-FILENAME») - Open sources.list with
sudo gedit /etc/apt/sources.list, find the duplicate line and comment it out with# - Save file and update system with
sudo apt update
Should be good to go. This Linux Mint Forum helped me find my answer, might help you, too.
answered Sep 7, 2020 at 20:40
![]()
KellyKelly
2705 silver badges10 bronze badges
Similar error, i386, Debian-10-server, without desktop env. I had a similar install on another machine with a desktop env without the problem. I simply edited /etc/apt/sources.list to match the working system.
root@svr2:/etc/apt# cat sources.list
#
# deb cdrom:[Debian GNU/Linux 10.5.0 _Buster_ - Official i386 NETINST 20200801-13:11]/ buster main
#deb cdrom:[Debian GNU/Linux 10.5.0 _Buster_ - Official i386 NETINST 20200801-13:11]/ buster main
deb http://mirror.cc.columbia.edu/debian/ buster main
deb-src http://mirror.cc.columbia.edu/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
# buster-updates, previously known as 'volatile'
deb http://mirror.cc.columbia.edu/debian/ buster-updates main
deb-src http://mirror.cc.columbia.edu/debian/ buster-updates main
root@svr2:/etc/apt# apt-get update
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Hit:2 http://mirror.cc.columbia.edu/debian buster InRelease
Get:3 http://mirror.cc.columbia.edu/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main Sources [152 kB]
Fetched 269 kB in 2s (177 kB/s)
Reading package lists... Done
answered Oct 22, 2020 at 13:20
cat /etc/apt/sources.list
deb http://deb.debian.org/debian jessie main
deb http://deb.debian.org/debian jessie-updates main
deb http://security.debian.org jessie/updates main
then apt-get update is failing.
If i remove the second line then above command is working fine.
I checked in the repositories. there is no folder with name jessie-updates.
We have many docker builds which requires apt-get update.
I can’t update all the docker files to remove that second line.
What is best approach to go ahead and also if they are removed permanently or a temporary glitch
Braiam
4,6493 gold badges25 silver badges57 bronze badges
asked Mar 26, 2019 at 7:54
3
According to the IRC channel for Debian, jessie-updates is now not supported:
Oldstable: Debian Jessie, jessie-updates and jessie-backports REMOVED 2019-03-24
Your solution is either to upgrade to Stretch, or update your /etc/apt/sources.list to the following:
deb http://archive.debian.org/debian/ jessie main
deb-src http://archive.debian.org/debian/ jessie main
deb http://security.debian.org jessie/updates main
deb-src http://security.debian.org jessie/updates main
jessie-updates has been removed and jessie-backports has been archived
Thanks to comments from Stephen Kitt & Daniel below.
answered Mar 26, 2019 at 9:44
Dan ClarkeDan Clarke
5083 silver badges5 bronze badges
6
The debian Team did not move jessie-updates to the archive repository (yet). But they already removed it from the regular repositories. So you currently have no access to jessie-updates. Therefore you need to remove it from the sources.list.
My currently working sources.list:
deb http://deb.debian.org/debian jessie main
deb http://security.debian.org/debian-security jessie/updates main
answered Mar 26, 2019 at 14:22
A.K.A.K.
1512 bronze badges
5
Jessie is no longer supported. They have taken it off the automatic updates for security reasons.
You need to do a full reinstall of bionic beaver.
At least that’s what I did.
answered Mar 27, 2019 at 4:44
![]()
1
0
1
Два месяца назад был установлен Debian Linux 9 на хосте провайдера.
Все работало как надо, но сегодня перестали ставиться пакеты. Обновление тоже завершается ошибкой:
> apt-get update
Err:1 http://deb.debian.org/debian stretch InRelease
Temporary failure resolving 'deb.debian.org'
Err:2 http://security.debian.org/debian-security stretch/updates InRelease
Temporary failure resolving 'security.debian.org'
Err:3 http://deb.debian.org/debian stretch-updates InRelease
Temporary failure resolving 'deb.debian.org'
Reading package lists... Done
W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease Temporary failure resolving 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Содержимое /etc/apt/sources.list дефолтное и не менялось:
> cat /etc/apt/sources.list
# deb http://deb.debian.org/debian stretch main
deb http://deb.debian.org/debian stretch main
deb-src http://deb.debian.org/debian stretch main
deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main
# stretch-updates, previously known as 'volatile'
deb http://deb.debian.org/debian stretch-updates main
deb-src http://deb.debian.org/debian stretch-updates main
Что нужно сделать, чтобы пакеты нормально устанавливались?
I have no idea what you mean. I’m quite new to Linux
Do i have Mint?? Buster was installed.
Then why do you have Mint repositories, ? Maybe you installed Mint,
we have no way of knowing.
Looks like a mess, the result of not read anything before installing and using Debian,…
https://wiki.debian.org/SourcesList
=============================
Maybe: I’m quite new to Linux, what do I need to know to install Debian
======================
https://www.debian.org/doc/manuals/debi … ng.en.html
==========================
https://www.debian.org/intro/about
And there is much more, please read some of the documentation, after
you have done that, and if you still have questions, of course feel free to ask.
Debian, is a Linux distribution, but it is not the same as other Linux distributions, they are all different,..they all have their own package repositories, special for each distribution, mixing repositories and various
Linux distributions does not work well. Even more so with some one new to it all, but new Linux users, often fail to understand that, especially when they do not read anything about the distribution, nor linux, before trying it.
https://wiki.debian.org/DontBreakDebian
Don’t make a FrankenDebian
Debian Stable should not be combined with other releases. If you’re trying to install software that isn’t available in the current Debian Stable release, it’s not a good idea to add repositories for other Debian releases. The problems might not happen right away, but the next time you install updates.
The reason things can break is because the software packaged for one Debian release is built to be compatible with the rest of the software for that release. For example, installing packages from buster on a stretch system could also install newer versions of core libraries including libc6. This results in a system that is not testing or stable but a broken mix of the two.
Repositories that can create a FrankenDebian if used with Debian Stable:
Debian testing release (currently buster)
Debian unstable release (also known as sid)
Ubuntu, Mint or other derivative repositories are not compatible with Debian!
Ubuntu PPAs
It appears , you are not running Debian testing (will be Buster, when released), nor any other Linux distro, you are running a Farnkie—- something,
maybe Linux Mint, maybe Buster, or some strange mutation that has occurred,
using the http://www.deb-multimedia.org/ repos,…
Good luck,…
When using the desktop version of Ubuntu you’ll eventually get or probably have the problem that apt-get update throws a lot «Failed to fetch 404 Not Found» errors. Additionally, you may have the same problem when running apt-get install. Don’t worry, it will be fixed in a minute.
The Problem
You may see messages like the ones below when executing apt-get update or apt-get install. That is because Ubuntu releases are only supported for 9 months. LTS (Long Term Support) releases have support for 5 years. Once support is cut for the version you’re using, you’ll see those error messages. Ubuntu moves the repositories to another server and the defined URL to reach the sources are no longer available on default location http://archive.ubuntu.com/ubuntu/dist/.
$ sudo apt-get update
Ign http://de.archive.ubuntu.com raring Release.gpg
Ign http://de.archive.ubuntu.com raring-updates Release.gpg
Ign http://de.archive.ubuntu.com raring-backports Release.gpg
Ign http://security.ubuntu.com raring-security Release.gpg
Ign http://de.archive.ubuntu.com raring Release
Ign http://de.archive.ubuntu.com raring-updates Release
Ign http://de.archive.ubuntu.com raring-backports Release
…
404 Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com raring-security/restricted Sources
404 Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com raring-security/universe Sources
404 Not Found [IP: 91.189.92.201 80]
Err http://security.ubuntu.com raring-security/multiverse Sources
404 Not Found [IP: 91.189.92.201 80]
Ign http://de.archive.ubuntu.com raring-backports/main Translation-en
Ign http://de.archive.ubuntu.com raring-backports/multiverse Translation-en
Err http://security.ubuntu.com raring-security/main amd64 Packages
…
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/raring/restricted/source/Sources 404 Not Found [IP: 141.30.13.30 80]
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/raring/universe/source/Sources 404 Not Found [IP: 141.30.13.30 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/raring-security/main/source/Sources 404 Not Found [IP: 91.189.92.201 80]
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/raring/multiverse/source/Sources 404 Not Found [IP: 141.30.13.30 80]
…
E: Some index files failed to download. They have been ignored, or old ones used instead.
How to Fix The Problem
There are two solutions to get your apt commands working again. First: upgrade the Ubuntu release. Second: update the sources url to the old package repositories. Both solutions are described below in more detail.
Distribution Upgrade
The most simple solution is to upgrade your Ubuntu instance to the newest release:
sudo apt-get dist-upgrade
If the distribution upgrade is not an option right now, you can update the sources url for the Ubuntu repositories to find the old packages.
Update Packages Url
You can use the sed command to update the sources in /etc/apt/sources.list file to the new location for old package repositories2.
Run the following command to update archive.ubuntu.com and security.ubuntu.com package repository4 URLs with old-releases.ubuntu.com. Since the normal Ubuntu releases link to the archive.… and security.… URLs, the support will be removed after their live cycle of 9 months and respective repositories3 moved to old-releases.….
sudo sed -i -e 's/archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
**Linux Mint additionally requires the execution of this command:**
sudo sed -i -e 's/archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list.d/official-package-repositories.list
To check whether there are other files in /etc/apt/sources.list.d/ which need to be updated, use the following grep command.
grep -E 'archive.ubuntu.com|security.ubuntu.com' /etc/apt/sources.list.d/*
That’s it. Now you can update your sources again.
sudo apt-get update
Bazinga!
- 1: Myles McNamara’s blog post saved me a lot of time to understand the problem and find a solution
- 2: Ask Ubuntu: Install Software From Old Repositories (sed command)
- 3: Ubuntu Old Releases
- 4: Ubuntu Current Releases