#27 OpenBSD release key not present after installation

Закрыто
7 лет назад открыта and_who · комментариев: 8
Andrew Robbins прокомментировал 7 лет назад

The OpenBSD release key for which the current LibertyBSD is based upon should be retained as /etc/signify/openbsd-$VERSION-base.pub after installation. While this key is present in the installation image, it is not installed along with the rest of the system for some reason.

The OpenBSD key is required for verifying errata patches.

The OpenBSD release key for which the current LibertyBSD is based upon should be retained as `/etc/signify/openbsd-$VERSION-base.pub` after installation. While this key is present in the installation image, it is not installed along with the rest of the system for some reason. The OpenBSD key is required for verifying errata patches.
tomlukeywood прокомментировал 7 лет назад

Would this explain why I am unable to add packages from a repository with pkg_add? (after exporting PKG_PATH)

Would this explain why I am unable to add packages from a repository with pkg_add? (after exporting PKG_PATH)
Jaidyn Ann прокомментировал 7 лет назад
Владелец

@tomlukeywood: That's exactly why.

This ties into #12-- really, a person shouldn't need to OpenBSD release keys at all. Because of errata and packages, though, still need to. Both are bugs. (Though the former, errata, has more to do with libertybsd-website, so I'll file it there.)

EDIT: Oh, and as a workaround in the meantime, just add openbsd-61-pkg.pub to /etc/signify. You can get it here.

@tomlukeywood: That's exactly why. This ties into #12-- really, a person shouldn't need to OpenBSD release keys at all. Because of errata and packages, though, still need to. Both are bugs. (Though the former, errata, has more to do with libertybsd-website, so I'll file it there.) EDIT: Oh, and as a workaround in the meantime, just add openbsd-61-pkg.pub to /etc/signify. You can get it [here](https://raw.githubusercontent.com/openbsd/src/master/etc/signify/openbsd-61-pkg.pub).
tomlukeywood прокомментировал 7 лет назад

Thanks, I will try it.

Thanks, I will try it.
tomlukeywood прокомментировал 7 лет назад

I have added openbsd-61-pkg.pub to /etc/signify but when i try to insatll packages with pkg_add i get the same error.

Is there something else i am not doing?

I have added openbsd-61-pkg.pub to /etc/signify but when i try to insatll packages with pkg_add i get the same error. Is there something else i am not doing?
Jaidyn Ann прокомментировал 7 лет назад
Владелец

@tomlukeywood: What exactly is the error you're getting?

@tomlukeywood: What exactly is the error you're getting?
tomlukeywood прокомментировал 7 лет назад

here is the output: https://hastebin.com/asehalezis.pl

here is my /etc/installurl file:

https://ftp.libertybsd.net/pub/LibertyBSD

I have the file in /etc/signify:

cat /etc/signify/openbsd-61-pkg.pub
untrusted comment: OpenBSD 6.1 packages public key RWQbTjGFHEvnOckqY7u9iABhXAkEpF/6TQ3Mr6bMrWbT1wOM/HnbV9ov

here is the output: https://hastebin.com/asehalezis.pl here is my /etc/installurl file: https://ftp.libertybsd.net/pub/LibertyBSD I have the file in /etc/signify: cat /etc/signify/openbsd-61-pkg.pub untrusted comment: OpenBSD 6.1 packages public key RWQbTjGFHEvnOckqY7u9iABhXAkEpF/6TQ3Mr6bMrWbT1wOM/HnbV9ov
Jaidyn Ann прокомментировал 7 лет назад
Владелец

@tomlukeywood Try editing /etc/installurl, and set it to: "https://ftp.libertybsd.net/pub/LibertyBSD/6.1"

@tomlukeywood Try editing /etc/installurl, and set it to: "https://ftp.libertybsd.net/pub/LibertyBSD/6.1"
tomlukeywood прокомментировал 7 лет назад

I still get some weird messages, but it seems to be working now thanks!

output: http://paste.debian.net/plain/1016685

I still get some weird messages, but it seems to be working now thanks! output: http://paste.debian.net/plain/1016685
Войдите, чтобы присоединиться к обсуждению.
Нет меток
Нет этапа
Нет ответственного
3 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.