Я пытаюсь настроить механизм распространения Raspbian (Raspberry Pi) на сервере Ubuntu. Я прочитал большинство постов здесь и статей, которые я мог найти о настройке репозитория APT. Я не знаю, работает ли это (я почти уверен, что это не так, поскольку я получаю сообщение об ошибке на стороне RPi) ... Отладка не очевидна.
Вот мои вопросы / проблемы:
Если я не ошибаюсь, сам сервер это просто старый Apache, который мы все любим. Правильно? Нет модулей? Мое здесь: (вы видите что-то не так?)
http://packator0.makenator.com/archive
Веб-сервер должен также распространять ваш открытый ключ GPG, верно? Мой здесь.
http://packator0.makenator.com/archive/makenator-archive-keyring/makenator-archive-keyring.gpg
У клиента должен быть список репо:
deb http:// packator0.makenator.com/archive stable/all/
deb http:// packator0.makenator.com/archive unstable/all/
Клиент должен узнать об открытом ключе:
gpg --keyserver http:// packator0.makenator.com/archive/makenator-archive-keyring/makenator-archive-keyring.gpg --recv 1EFBD9A7AEA2C37C
но я получаю:
gpg: requesting key AEA2C37C from http server packator0.makenator.com
gpg: /home/pi/.gnupg/trustdb.gpg: trustdb created
gpg: key AEA2C37C: public key "[information is ok, just removed it here]" imported
gpg: key 1BCD4B6B: rejected by import filter
gpg: Total number processed: 2
gpg: imported: 1 (RSA: 1)
И, конечно, когда я запускаю apt-get update для RPi, я получаю (ошибка в последней строке):
Ign http:// packator0.makenator.com stable/all/ InRelease
Ign http:// packator0.makenator.com unstable/all/ InRelease
Ign http:// packator0.makenator.com stable/all/ Release.gpg
...
Get:1 http:// packator0.makenator.com unstable/all/ Release.gpg [287 B]
Hit http:// packator0.makenator.com stable/all/ Release
Hit http:// archive.raspberrypi.org jessie/main armhf Packages
Hit http:// packator0.makenator.com unstable/all/ Release
Ign http:// packator0.makenator.com unstable/all/ Release
Hit http:// packator0.makenator.com stable/all/ Packages
...
Hit http:// packator0.makenator.com unstable/all/ Packages
...
Ign http:// packator0.makenator.com stable/all/ Translation-en_US
Ign http:// packator0.makenator.com stable/all/ Translation-en
Ign http:// packator0.makenator.com unstable/all/ Translation-en_US
Ign http:// packator0.makenator.com unstable/all/ Translation-en
...
Fetched 287 B in 6s (42 B/s)
Reading package lists... Done
W: GPG error: http:// packator0.makenator.com unstable/all/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1EFBD9A7AEA2C37C
Спасибо за вашу помощь. Частичные ответы тоже очень хороши!
(потому что я новичок здесь, я не смог опубликовать слишком много ссылок, отсюда и пробел в URL)