apt -get update возвращает ошибки

Если вы не возражаете против получения заголовка имени файла, а также интервала, то, по крайней мере, с реализациями GNU Coreutils head/ tailвы могли бы сделать

tail -n +1 *

или

head -n -0 *
0
03.01.2021, 15:10
2 ответа

Возможно, у вас есть файл в /etc/apt/sources.list.d, содержащий недопустимое определение репозитория. Удалите это, и ошибка больше не будет возникать.

2
18.03.2021, 22:39
E: The repository 'https://download.docker.com/linux/debian kali-rolling Release' does not have a Release file.

У Docker нет версии для kali-rolling. Вы должны использовать кодовые имена Debian.

Поддерживаемые платформы

Users of Debian derivatives such as “BunsenLabs Linux”, “Kali Linux” or “LMDE” (Debian-based Mint) should follow the installation instructions for Debian, substituting the version of their distro for the corresponding Debian release. Refer to the documentation of your distro to find which Debian release corresponds with your derivative version

Установите Docker Engine на Debian

echo "deb [arch=amd64] https://download.docker.com/linux/debian buster stable" | \
sudo tee /etc/apt/sources.list.d/docker-ce.list

Как сказал Стивен , удалить файл под /etc/apt/sources.list.d, который является основной причиной ошибки.

0
18.03.2021, 22:39

Теги

Похожие вопросы