Synaptic. Невозможно получить все индексы репозитория

Автор Гаджи, 22 января 2020, 11:11:00

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

Гаджи


Не могу обновить список пакетов. Похоже проблема с источника, но не знаю, что делать дальше с этим. На гуглил много, только причины разные. Мои все ведут в /etc/apt/sources.list Я чайник, неделю, как перешел на линукс, много всего приходится скачивать, настраивать. Через терминал может что намудрил. [attach=1]


Gamliel

Покажите здесь содержимое файла /etc/apt/sources.list и всех файлов в каталоге /etc/apt/sources.list.d/ (поставьте [code] до содержимого файлов и [/code] после).

Гаджи

Цитата: Gamliel от 22 января 2020, 13:07:09
gadzhi@debian:~$ cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 NETINST 20191116-09:56]/ buster main

# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 NETINST 20191116-09:56]/ buster main

deb http://ftp.ru.debian.org/debian/ buster main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ buster 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

# buster-updates, previously known as 'volatile'
deb http://ftp.ru.debian.org/debian/ buster-updates main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ buster-updates main contrib non-free

# proposed additions

# 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.
deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
# deb-src [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
gadzhi@debian:~$ ls /etc/apt/sources.list.d/
alexlarsson-ubuntu-flatpak-focal.list
alexlarsson-ubuntu-flatpak-focal.list.save
google-chrome.list
google-chrome.list.save
opera-beta.list
opera-beta.list.save
opera.list
opera.list.save
opera-stable.list
opera-stable.list.save
otto-kesselgulasch-ubuntu-gimp-focal.list
otto-kesselgulasch-ubuntu-gimp-focal.list.save
vscode.list
vscode.list.save

[attach=1]
Так правильно?

Gamliel

Цитата: Гаджи от 22 января 2020, 13:25:26gadzhi@debian:~$ ls /etc/apt/sources.list.d/
alexlarsson-ubuntu-flatpak-focal.list
alexlarsson-ubuntu-flatpak-focal.list.save
google-chrome.list
google-chrome.list.save
opera-beta.list
opera-beta.list.save
opera.list
opera.list.save
opera-stable.list
opera-stable.list.save
otto-kesselgulasch-ubuntu-gimp-focal.list
otto-kesselgulasch-ubuntu-gimp-focal.list.save
vscode.list
vscode.list.save
Нужен не список, а содержимое файлов в каталоге /etc/apt/sources.list.d/ (только файлы с одним расширением .list, содержимое файлов с расширением .save приводить не нужно). Скриншот в данном случае не нужен.

qupl

Два раза один и тот же источник прописан, или закомментировать в основном файле, или удалить дополнительный.

Гаджи

Цитата: Gamliel от 22 января 2020, 13:37:53
gadzhi@debian:~$ cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 NETINST 20191116-09:56]/ buster main

# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 NETINST 20191116-09:56]/ buster main

deb http://ftp.ru.debian.org/debian/ buster main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ buster 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

# buster-updates, previously known as 'volatile'
deb http://ftp.ru.debian.org/debian/ buster-updates main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ buster-updates main contrib non-free

# proposed additions

# 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.
deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
# deb-src [arch=amd64] https://packages.microsoft.com/repos/vscode stable main

gadzhi@debian:~$ cat /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-focal.list
deb http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu focal main
# deb-src http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu focal main

gadzhi@debian:~$ cat /etc/apt/sources.list.d/google-chrome.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

gadzhi@debian:~$ cat /etc/apt/sources.list.d/opera-beta.list
# This file makes sure that Opera Browser is kept up-to-date
# as part of regular system upgrades

deb https://deb.opera.com/opera-beta/ stable non-free #Opera Browser (final releases)

gadzhi@debian:~$ cat /etc/apt/sources.list.d/opera.list
deb https://deb.opera.com/opera-stable/ stable non-free

gadzhi@debian:~$ cat /etc/apt/sources.list.d/opera-stable.list
# This file makes sure that Opera Browser is kept up-to-date
# as part of regular system upgrades

deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)

gadzhi@debian:~$ cat /etc/apt/sources.list.d/otto-kesselgulasch-ubuntu-gimp-focal.list
deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu focal main
# deb-src http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu focal main

gadzhi@debian:~$ cat /etc/apt/sources.list.d/vscode.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main

Оперу бету я удалил. У меня только одна. Не знаю почему их три в листе. Если это важно вообще

Гаджи

Цитата: qupl от 22 января 2020, 13:45:52
Тоже так подумал, но не знал какой. Вдруг еще что то нужно сделать.


Gamliel

Во время внесения нижеописанных изменений Synaptic должен быть закрыт.

Цитата: Гаджи от 22 января 2020, 13:59:37gadzhi@debian:~$ cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 NETINST 20191116-09:56]/ buster main

# deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Official amd64 NETINST 20191116-09:56]/ buster main

deb http://ftp.ru.debian.org/debian/ buster main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ buster 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

# buster-updates, previously known as 'volatile'
deb http://ftp.ru.debian.org/debian/ buster-updates main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ buster-updates main contrib non-free

# proposed additions

# 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.
deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
# deb-src [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
Цитата: Гаджи от 22 января 2020, 13:59:37gadzhi@debian:~$ cat /etc/apt/sources.list.d/vscode.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
Введите в терминал
sudo nano /etc/apt/sources.list
и удалите из файла /etc/apt/sources.list последние две строки:
deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main
# deb-src [arch=amd64] https://packages.microsoft.com/repos/vscode stable main

Нажмите Ctrl+v, Ctrl+x.

Цитата: Гаджи от 22 января 2020, 13:59:37gadzhi@debian:~$ cat /etc/apt/sources.list.d/opera.list
deb https://deb.opera.com/opera-stable/ stable non-free

gadzhi@debian:~$ cat /etc/apt/sources.list.d/opera-stable.list
# This file makes sure that Opera Browser is kept up-to-date
# as part of regular system upgrades

deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
Файлы /etc/apt/sources.list.d/opera.list и /etc/apt/sources.list.d/opera-stable.list полностью дублируют друг друга. Удалите любой из этих двух файлов.

Цитата: Гаджи от 22 января 2020, 13:59:37Оперу бету я удалил. У меня только одна. Не знаю почему их три в листе.
Вы удалили пакет, а ссылка на репозиторий осталась. Если она не нужна, удалите файл /etc/apt/sources.list.d/opera-beta.list.

После всего этого введите в терминал:
sudo apt update

Гаджи

Gamliel, Список ошибок сократился. Остались эти
Репозиторий «http://deb.debian.org/debian buster/updates Release» не содержит файла Release.
Обновление из этого репозитория нельзя выполнить безопасным способом, поэтому по умолчанию он отключён.
Информацию о создании репозитория и настройках пользователя смотрите в справочной странице apt-secure(8).

Репозиторий «http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu focal Release» не содержит файла Release.
Обновление из этого репозитория нельзя выполнить безопасным способом, поэтому по умолчанию он отключён.
Информацию о создании репозитория и настройках пользователя смотрите в справочной странице apt-secure(8).

Ошибка GPG: http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu focal InRelease:
Следующие подписи не могут быть проверены, так как недоступен открытый ключ: NO_PUBKEY 3BDAAC08614C4B38
Репозиторий «http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu focal InRelease» не подписан.

Гаджи

Gimp качал с Цп, не знаю почему слово убунту там

Гаджи

будет правильно если сделать так? apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3BDAAC08614C4B38
здесь наверное сервер накрылся «http://deb.debian.org/debian buster/updates Release»
Ещё нет ссылок на секьюрети, как у других.
Получается из за ошибок некоторых реп synaptic не будет работать и для всех остальных?
Ещё встретил такие сервера. Можно ли заменить на существующие или лучше не надо.
Открыть содержимое (спойлер)
deb http://mirror.yandex.ru/debian buster main
deb-src http://mirror.yandex.ru/debian buster main

deb http://mirror.yandex.ru/debian buster-updates main
deb-src http://mirror.yandex.ru/debian buster-updates main

deb https://mirror.yandex.ru/debian-security buster/updates main
deb-src https://mirror.yandex.ru/debian-security buster/updates main
[свернуть]
Вопросы по обновлениям у меня с самого начало. Хотелось бы всё правильно настроить, чтоб не пропускать важные системные обновления и нужные драйвера.

sidbar

Цитата: Гаджи от 22 января 2020, 17:01:20сервер накрылся
Проверь, так
deb [ trusted=yes allow-insecure=yes ] http://deb.debian.org/debian/ buster main contrib non-free
Devuan GNU/Linux

Гаджи

sidbar, за место какого? надо же закомментировать заменяющий.deb http://ftp.ru.debian.org/debian/ buster main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ buster 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

# buster-updates, previously known as 'volatile'
deb http://ftp.ru.debian.org/debian/ buster-updates main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ buster-updates main contrib non-free