curtin-dev team mailing list archive
-
curtin-dev team
-
Mailing list archive
-
Message #00922
Re: [Merge] ~raharper/curtin:fix/curtainer-minimal-ppa-keys into curtin:master
@Paride
Huh, I tried that but had issues; I must have made a mistake as I can confirm it;s working now:
(sabro) ~ % lxc launch ubuntu-minimal:xenial x1min
Creating x1min
Starting x1min
(sabro) ~ % lxc exec x1min bash
root@x1min:~# echo deb http://ppa.launchpad.net/curtin-dev/daily/ubuntu xenial main > /etc/apt/sources.list.d/curtin-daily-ppa.list
root@x1min:~# wget -q "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x1bc30f715a3b861247a81a5e55fe7c8c0165013e" -O /etc/apt/trusted.gpg.d/curtin-daily-ppa.asc
root@x1min:~# cd /etc/apt/trusted.gpg.d/
root@x1min:/etc/apt/trusted.gpg.d# ls -al
total 5
drwxr-xr-x 2 root root 3 Oct 6 16:50 .
drwxr-xr-x 7 root root 9 Dec 6 2019 ..
-rw-r--r-- 1 root root 1619 Oct 6 16:50 curtin-daily-ppa.asc
root@x1min:/etc/apt/trusted.gpg.d# apt update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:2 http://ppa.launchpad.net/curtin-dev/daily/ubuntu xenial InRelease [18.1 kB]
Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [1457 kB]
Err:2 http://ppa.launchpad.net/curtin-dev/daily/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 55FE7C8C0165013E
Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [347 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [9824 B]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [755 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [213 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [8228 B]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [2888 B]
Get:13 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7532 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en [4354 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1861 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [451 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [10.2 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [1177 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [344 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [23.0 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8632 B]
Get:24 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [9812 B]
Get:25 http://archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [4456 B]
Get:26 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [11.3 kB]
Get:27 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [4476 B]
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/curtin-dev/daily/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 55FE7C8C0165013E
E: The repository 'http://ppa.launchpad.net/curtin-dev/daily/ubuntu xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@x1min:/etc/apt/trusted.gpg.d# mv curtin-daily-ppa.asc /root/
root@x1min:/etc/apt/trusted.gpg.d# cat /root/curtin-daily-ppa.asc | gpg --dearmor --output curtin-daily-ppa.gpg
root@x1min:/etc/apt/trusted.gpg.d# ls -al
total 4
drwxr-xr-x 2 root root 3 Oct 6 16:51 .
drwxr-xr-x 7 root root 9 Dec 6 2019 ..
-rw-r--r-- 1 root root 1136 Oct 6 16:51 curtin-daily-ppa.gpg
root@x1min:/etc/apt/trusted.gpg.d# apt update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:3 http://ppa.launchpad.net/curtin-dev/daily/ubuntu xenial InRelease [18.1 kB]
Get:6 http://ppa.launchpad.net/curtin-dev/daily/ubuntu xenial/main amd64 Packages [1048 B]
Get:7 http://ppa.launchpad.net/curtin-dev/daily/ubuntu xenial/main Translation-en [404 B]
Fetched 19.5 kB in 1s (15.7 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
78 packages can be upgraded. Run 'apt list --upgradable' to see them.
--
https://code.launchpad.net/~raharper/curtin/+git/curtin/+merge/391842
Your team curtin developers is subscribed to branch curtin:master.
References