LINUX.ORG.RU
решено ФорумAdmin

Проблема с Sources.list

 , ,


0

2

Убедил пересесть друга на линух, он нагуглился до установки дебиана, и удалил /etc/apt/sources.list /etc/apt/sources.list.d

Генератором собрал дефолотный набор в sources.list

Пишу apt-get update.

Результат:

Ign:1 http://deb.debian.org/debian stable InRelease
Get:2 http://deb.debian.org/debian stable-updates InRelease [91.0 kB]
Get:3 http://deb.debian.org/debian-security stable/updates InRelease [94.3 kB]
Ign:2 http://deb.debian.org/debian stable-updates InRelease 
Get:4 http://deb.debian.org/debian stable Release [118 kB]  
Ign:3 http://deb.debian.org/debian-security stable/updates InRelease
Hit:5 https://download.sublimetext.com apt/stable/ InRelease
Get:6 http://deb.debian.org/debian stable Release.gpg [2,434 B]
Ign:6 http://deb.debian.org/debian stable Release.gpg          
Hit:7 http://deb.debian.org/debian stable/main Sources
Ign:7 http://deb.debian.org/debian stable/main Sources
Hit:8 http://deb.debian.org/debian stable/contrib Sources
Ign:8 http://deb.debian.org/debian stable/contrib Sources
Hit:9 http://deb.debian.org/debian stable/non-free Sources
Ign:9 http://deb.debian.org/debian stable/non-free Sources
Hit:7 http://deb.debian.org/debian stable/main Sources
Ign:7 http://deb.debian.org/debian stable/main Sources
Hit:8 http://deb.debian.org/debian stable/contrib Sources
Ign:8 http://deb.debian.org/debian stable/contrib Sources
Hit:9 http://deb.debian.org/debian stable/non-free Sources
Ign:9 http://deb.debian.org/debian stable/non-free Sources
Hit:7 http://deb.debian.org/debian stable/main Sources
Hit:8 http://deb.debian.org/debian stable/contrib Sources
Hit:9 http://deb.debian.org/debian stable/non-free Sources
Fetched 306 kB in 3s (98.9 kB/s)                   
Reading package lists... Done
W: GPG error: http://deb.debian.org/debian stable-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
W: The repository 'http://deb.debian.org/debian stable-updates InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://deb.debian.org/debian-security stable/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
W: The repository 'http://deb.debian.org/debian-security stable/updates InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://deb.debian.org/debian stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
W: The repository 'http://deb.debian.org/debian stable Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

----------

Ключи по совету генератора на каждый из репов прописаны, записались без ошибок. По итогу: sources.list забит дефолтными репами, а папка sources.list.d пустая. Спасибо!

Ответ на: комментарий от mandala
pub   rsa4096 2017-05-08 [SCEA]
      1EDD E2CD FC02 5D17 F6DA  9EC0 ADAE 6AD2 8A8F 901A
uid           [ unknown] Sublime HQ Pty Ltd <support@sublimetext.com>
sub   rsa4096 2017-05-08 [S]

pub   rsa4096 2017-04-11 [SC] [expires: 2019-09-28]
      D4CC 8597 4C31 396B 18B3  6837 D615 560B A5C7 FF72
uid           [ unknown] Opera Software Archive Automatic Signing Key 2017 <packager@opera.com>
sub   rsa4096 2017-04-11 [E] [expires: 2019-09-28]

pub   rsa4096 2016-04-22 [SC]
      B9F8 D658 297A F3EF C18D  5CDF A2F6 83C5 2980 AECF
uid           [ unknown] Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>
sub   rsa4096 2016-04-22 [E]

pub   dsa1024 2010-05-18 [SC]
      7B0F AB3A 13B9 0743 5925  D9C9 5442 2A4B 98AB 5139
uid           [ unknown] Oracle Corporation (VirtualBox archive signing key) <info@virtualbox.org>
sub   elg2048 2010-05-18 [E]

Уже после публикации вопроса догуглился до ручного добавления ключей, но все ключи репа дебиана сваливаются в это:

root@debian:~# gpg --keyserver pgp.mit.edu --recv-keys EF0F382A1A7B6500
gpg: key EF0F382A1A7B6500: "Debian Stable Release Key (9/stretch) <debian-release@lists.debian.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

Хотя ключи виртуал бокса и оперы добавились

karlichaikin ()
Ответ на: комментарий от karlichaikin

Вообще я подозреваю что виноваты веерные блокировки всех подряд, т.к. раньше все работало. Если починось — отметьте тему решенной (кнопка в первом посте темы).

mandala ★★★★ ()