После apt-get source package_name получаю
gpgv: Can't check signature: public key not found
При этом ключи из пакета debian-keyring установлены.
Как лучше всего пофиксить это в убунте16.04 ?
apt не находит ключи
Модератор: Модераторы разделов
-
- Модератор
- Сообщения: 21035
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: apt не находит ключи
Из какого репозитория этот пакет?
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 52
Re: apt не находит ключи
Код: Выделить всё
$ apt-cache policy debian-keyring
debian-keyring:
Installed: 2016.01.20
Candidate: 2016.01.20
Version table:
*** 2016.01.20 500
500 http://ru.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
100 /var/lib/dpkg/status
Код: Выделить всё
$ aptitude show debian-keyring
Package: debian-keyring
State: installed
Automatically installed: no
Version: 2016.01.20
Priority: optional
Section: universe/misc
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: all
Uncompressed Size: 34.4 M
Recommends: gnupg (>= 1.0.6-4)
Conflicts: debian-maintainers
Replaces: debian-maintainers
Provides: debian-maintainers
Description: GnuPG keys of Debian Developers and Maintainers
The Debian project wants developers to digitally sign the announcements of their packages with GnuPG, to protect against
forgeries. This package contains keyrings of GnuPG and keys of Debian Developers (uploading and non-uploading), as well as of
Debian Maintainers.
Homepage: http://keyring.debian.org/
-
- Модератор
- Сообщения: 21035
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: apt не находит ключи
Я не про debian-keyring, а про пакет, имя которого Вы скрываете (package_name).
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 52
Re: apt не находит ключи
Любой из этих: xfce4-terminal, xfce4-session, linux-image-4.4.0-22-generic, gedit
Из лога apt:
Из лога apt:
Код: Выделить всё
Get:1 http://ru.archive.ubuntu.com/ubuntu xenial/universe xfce4-terminal 0.6.3-2ubuntu1 (dsc) [2,350 B]
Get:2 http://ru.archive.ubuntu.com/ubuntu xenial/universe xfce4-terminal 0.6.3-2ubuntu1 (tar) [815 kB]
Get:3 http://ru.archive.ubuntu.com/ubuntu xenial/universe xfce4-terminal 0.6.3-2ubuntu1 (diff) [9,164 B]
Get:1 http://ru.archive.ubuntu.com/ubuntu xenial/universe xfce4-session 4.12.1-3ubuntu1 (dsc) [2,144 B]
Get:2 http://ru.archive.ubuntu.com/ubuntu xenial/universe xfce4-session 4.12.1-3ubuntu1 (tar) [1,289 kB]
Get:3 http://ru.archive.ubuntu.com/ubuntu xenial/universe xfce4-session 4.12.1-3ubuntu1 (diff) [18.9 kB]
Get:1 http://ru.archive.ubuntu.com/ubuntu xenial-updates/main linux 4.4.0-64.85 (dsc) [9,613 B]
Get:2 http://ru.archive.ubuntu.com/ubuntu xenial-updates/main linux 4.4.0-64.85 (tar) [133 MB]
Get:1 http://ru.archive.ubuntu.com/ubuntu xenial/main gedit 3.18.3-0ubuntu4 (dsc) [2,031 B]
Get:2 http://ru.archive.ubuntu.com/ubuntu xenial/main gedit 3.18.3-0ubuntu4 (tar) [2,933 kB]
Get:3 http://ru.archive.ubuntu.com/ubuntu xenial/main gedit 3.18.3-0ubuntu4 (diff) [25.4 kB]
-
- Модератор
- Сообщения: 21035
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: apt не находит ключи
Так, погодите, у Вас же ubuntu. ubuntu-keyring установлен?
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 52
Re: apt не находит ключи
Установлен
Код: Выделить всё
$ apt-cache policy ubuntu-keyring
ubuntu-keyring:
Installed: 2012.05.19
Candidate: 2012.05.19
Version table:
*** 2012.05.19 500
500 http://ru.archive.ubuntu.com/ubuntu xenial/main i386 Packages
100 /var/lib/dpkg/status
$ aptitude show ubuntu-keyring
Package: ubuntu-keyring
State: installed
Automatically installed: no
Multi-Arch: foreign
Version: 2012.05.19
Priority: important
Section: misc
Maintainer: Michael Vogt <michael.vogt@canonical.com>
Architecture: all
Uncompressed Size: 47.1 k
Recommends: gpgv
Description: GnuPG keys of the Ubuntu archive
The Ubuntu project digitally signs its Release files. This package contains the archive keys used for that.
Код: Выделить всё
$ ls -l /usr/share/keyrings/
total 33064
-rw-r--r-- 1 root root 29964255 Jan 21 2016 debian-keyring.gpg
-rw-r--r-- 1 root root 0 Jan 21 2016 debian-keyring.pgp
-rw-r--r-- 1 root root 3440892 Jan 21 2016 debian-maintainers.gpg
-rw-r--r-- 1 root root 390640 Jan 21 2016 debian-nonupload.gpg
-rw-r--r-- 1 root root 24748 Jan 21 2016 debian-role-keys.gpg
-rw-r--r-- 1 root root 12335 May 19 2012 ubuntu-archive-keyring.gpg
-rw-r--r-- 1 root root 0 May 19 2012 ubuntu-archive-removed-keys.gpg
-rw-r--r-- 1 root root 591 Sep 21 2010 ubuntu-extras-keyring.gpg
-rw-r--r-- 1 root root 0 Sep 21 2010 ubuntu-extras-keyring-removed-keys.gpg
-rw-r--r-- 1 root root 1227 May 19 2012 ubuntu-master-keyring.gpg
-
- Модератор
- Сообщения: 21035
- Статус: nulla salus bello
- ОС: Debian GNU/Linux
Re: apt не находит ключи
Что говорит apt-key list?
Пишите правильно:
в консоли вку́пе (с чем-либо) в общем вообще | в течение (часа) новичок нюанс по умолчанию | приемлемо проблема пробовать трафик |
-
- Сообщения: 52
Re: apt не находит ключи
Код: Выделить всё
$ apt-key list
/etc/apt/trusted.gpg
--------------------
pub 1024D/437D05B5 2004-09-12
uid Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
sub 2048g/79164387 2004-09-12
pub 4096R/C0B21F32 2012-05-11
uid Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
pub 4096R/EFE21092 2012-05-11
uid Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>
pub 1024D/FBB75451 2004-12-30
uid Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>
/etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg
----------------------------------------------------------
pub 4096R/2B90D010 2014-11-21 [expires: 2022-11-19]
uid Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>
/etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg
-------------------------------------------------------------------
pub 4096R/C857C906 2014-11-21 [expires: 2022-11-19]
uid Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>
/etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg
-------------------------------------------------------
pub 4096R/518E17E1 2013-08-17 [expires: 2021-08-15]
uid Jessie Stable Release Key <debian-release@lists.debian.org>
/etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg
-----------------------------------------------------------
pub 4096R/473041FA 2010-08-27 [expires: 2018-03-05]
uid Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>
/etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg
--------------------------------------------------------
pub 4096R/B98321F9 2010-08-07 [expires: 2017-08-05]
uid Squeeze Stable Release Key <debian-release@lists.debian.org>
/etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg
----------------------------------------------------------
pub 4096R/46925553 2012-04-27 [expires: 2020-04-25]
uid Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>
/etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg
-------------------------------------------------------
pub 4096R/65FFB764 2012-05-08 [expires: 2019-05-07]
uid Wheezy Stable Release Key <debian-release@lists.debian.org>