Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing gh cli fails due to key not being created/verified - Ubuntu 23.10 [SOLVED] #8988

Open
aarona opened this issue Apr 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@aarona
Copy link

aarona commented Apr 23, 2024

Describe the bug

Running the install script for gh command failed to create a gpg file and subsquently failed to install.

Steps to reproduce the behavior

(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
# this line of the command seemed to have failed (see below for details)
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh -y

During the sudo apt update portion of this script I got the following error:

W: GPG error: https://cli.github.com/packages stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059
E: The repository 'https://cli.github.com/packages stable 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.

I was able to run the command step by step to see what might have failed and learned the following:

  1. wget command to download the gpg file succeeds but either piping the result into sudo tee or sudo tee itself did not seem to work properly.
  2. It created the /etc/apt/keyrings/githubcli-archive-keyring.gpg file but it had 0 bytes.
  3. Running wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg > file.gpg and then replacing the /etc/apt/keyrings/githubcli-archive-keyring.gpg file with the file.gpg I created seemed to let me continue the process and complete the install.
  4. The end result was that I was able to get gh installed and gh --version results in the following output:
gh version 2.48.0 (2024-04-17)
https://github.com/cli/cli/releases/tag/v2.48.0

I'm running Ubuntu 23.10 with Kernel 6.5.0-28-generic if that helps.

@aarona aarona added the bug Something isn't working label Apr 23, 2024
@cliAutomation cliAutomation added the needs-triage needs to be reviewed label Apr 23, 2024
@andyfeller
Copy link
Contributor

andyfeller commented May 10, 2024

@aarona : thank you for opening up this issue and providing an initial assessment! ❤

I wonder if there is something specific to Ubuntu 23 coming into play? 🤔 I'm limited in my ability to produce VMs to Ubuntu 22 where this works as expected (realizing outputting binary file to terminal causes weird behavior but GPG key was created as expected):

Ubuntu 22.04 VM

s3��o�hk�C�I�����)�C�����s�:�㌩Ed3C����%A�]�̱L��D�����A��y��t��Y�ʦ�����c-:��D�Y ��u���zc&& sudo apt-get install wget -y))
parallels@ubuntu-linux-22-04-02-desktop:~$ sudo mkdir -p -m 755 /etc/apt/keyrings       �R�*�m̈0h֗\���
[sudo] password for parallels:                                                                      /r��{�Xs���[VWBߓrt'V�I�zU	t�
parallels@ubuntu-linux-22-04-02-desktop:~$ wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etcK��Z\���o���f��K�zl�Ӎ�)�����sT����>ݼ߇�,`@�KڇR\R��hWV���Ք�,V%;g���
parallels@ubuntu-linux-22-04-02-deskt�<&z� stat /etc/apt/keyrings/githubcli-archive-keyring.gpg 
F��e7w٘��}�Z�̢}�]=Y��0�d�ļ`H�.�Qw��CcD�<���G����ePY�V��Ws���׏V���P@�i��u"LUn�hx���bs��be:�B�HY"���;�ߦ�K%"=�m�w��
  Size: 2270      	Blocks: 8          IO Block: 4096   regular file                                      Z�Lh��?A�2�=Rx�Y��>���w��������?#��j' ͕^nݦG�Z�5�Gc.���VF.�������v�:aL7��	Inode: 918726      Links: 1
ԧ����8���W%C!�9ix��ۆ���-{�M��-: (    0/    root)   Gid: (    0/    root)
Access: 2024-05-10 13:24:39.29i��E��ؘ����_�׆Icj}��<�n��g��q�L�n��]᠄<$1�d�����P��~]<h��(��唰Fc$��n92�T��ݹ/��D<�e��^��� Z(h�P������y�O�F�a
Modify: 2024-05-10 13:24:39.481109943 -0400                                                                                             �~�dR[�v&�C3˽�`����8�w�+���¦f4���4-05-10 13:24:39.481109943 -0400
 Birth: 202��z�n�@�Z�Y��Ճ�k����M����Wj��B#��/��6 e��	ȋ��_o=S�J�goL�X�{�B�A�����D����X~�o���A�~���*Kr��`���k!�4�
parallels@ubuntu-linux-22-04-02-desktop:~$ cat /etc/apt/keyrings/githubcli-archive-keyring.gpg                    ����\����I=����mk)qhcQ�Um[�99͢��� �8���Q�aY �9�ג���#���O�䨣M�wSFR3���ih��HW��*9����l;f?jF!C�g:��(�Y�l;��|VGC��V�F+�"(�)��QM�0_�&!,a ��lz�s#���uq`Yc.�
��+�GİTw����,���a9N���t�1!�fP��{FzXJ��3s��-G]A;�qm�F>   �������k��o(cQ+ܷ�Q��$�f�7�SJ_�D����5�5^:�Gf1��%K�*��hU$��5<�8{���m�����=�����*"~@���M����n��t�+ߪ��^����E#���uq`Y�<u��Vɏ�~���;���a�:q�o��^B7;�8$a����p�tC�#I{��M�L�(��+?=t�8��}wsX�����"�.�M�v��욷�qAZTX��גhT��uP��X��}�l�1r��G7_>Ѭ͢�yO�2$+(��&uᓗP�ƘM���(]HF�Xu�r��i;̉>��N�7�l�fJX�>O�?G2/�=�4��vv#��U�\�wc�wΜ�pw�D!��!݋��d������];�1tm���;�t�c���3��!��Ԇ
�=����w٠n�:7ᑞ2]A�zi�����؞�C�1=g������������E�١.�ϳ5�73��u���LCa����3�6W���4J��z6m�����thU8T~Y��mpN��$0[�%;2L��eq��fw�.���Cц�V�=�����ț�[��η\���4v�����N�s7���9���	I�ə@����4x���+�5BB~�I�`���"�)©7����,�Y�%���]��8��9��!p�G.��r�4�Uw�jog��9���_�
6w�����]���T���Zim�*�/�{J��v��4m�;;��ƀ�3�m>>!,a ��lz�s#���uq`Yc.�	5
                                         2&�O�י5<�c�parallels@ubuntu-linux-22-04-02-desktop:~$ 
parallels@ubuntu-linux-22-04-02-desktop:~$ 
parallels@ubuntu-linux-22-04-02-desktop:~$ 
parallels@ubuntu-linux-22-04-02-desktop:~$ 
parallels@ubuntu-linux-22-04-02-desktop:~$ sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg
parallels@ubuntu-linux-22-04-02-desktop:~$ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
parallels@ubuntu-linux-22-04-02-desktop:~$ sudo apt update
Get:1 https://cli.github.com/packages stable InRelease [3917 B]
Get:2 https://cli.github.com/packages stable/main arm64 Packages [345 B]             
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [119 kB]
Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Get:6 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [110 kB]
Fetched 233 kB in 1s (208 kB/s)  
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
386 packages can be upgraded. Run 'apt list --upgradable' to see them.
parallels@ubuntu-linux-22-04-02-desktop:~$ sudo apt install gh -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  git git-man less liberror-perl
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  gh git git-man less liberror-perl
0 upgraded, 5 newly installed, 0 to remove and 386 not upgraded.
Need to get 16.9 MB of archives.
After this operation, 70.6 MB of additional disk space will be used.
Get:1 https://cli.github.com/packages stable/main arm64 gh arm64 2.49.1 [12.6 MB]
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 less arm64 590-1ubuntu0.22.04.3 [141 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 liberror-perl all 0.17029-1 [26.5 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 git-man all 1:2.34.1-1ubuntu1.10 [954 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 git arm64 1:2.34.1-1ubuntu1.10 [3223 kB]
Fetched 16.9 MB in 1s (13.6 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package less.
(Reading database ... 164327 files and directories currently installed.)
Preparing to unpack .../less_590-1ubuntu0.22.04.3_arm64.deb ...
Unpacking less (590-1ubuntu0.22.04.3) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../liberror-perl_0.17029-1_all.deb ...
Unpacking liberror-perl (0.17029-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.34.1-1ubuntu1.10_all.deb ...
Unpacking git-man (1:2.34.1-1ubuntu1.10) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.34.1-1ubuntu1.10_arm64.deb ...
Unpacking git (1:2.34.1-1ubuntu1.10) ...
Selecting previously unselected package gh.
Preparing to unpack .../archives/gh_2.49.1_arm64.deb ...
Unpacking gh (2.49.1) ...
Setting up less (590-1ubuntu0.22.04.3) ...
Setting up liberror-perl (0.17029-1) ...
Setting up git-man (1:2.34.1-1ubuntu1.10) ...
Setting up git (1:2.34.1-1ubuntu1.10) ...
Setting up gh (2.49.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
Scanning processes...                                                                                                                                         
Scanning linux images...                                                                                                                                      

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
parallels@ubuntu-linux-22-04-02-desktop:~$ sudo apt install gh -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gh is already the newest version (2.49.1).
0 upgraded, 0 newly installed, 0 to remove and 386 not upgraded.

Ubuntu 23.10 Container

root@ddc823c9d77f:/# (type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
&& sudo mkdir -p -m 755 /etc/apt/keyrings
root@ddc823c9d77f:/# ll /etc/apt/keyrings/
total 8
drwxr-xr-x 2 root root 4096 Aug  2  2023 ./
drwxr-xr-x 8 root root 4096 Apr 27 06:55 ../
root@ddc823c9d77f:/# wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null
root@ddc823c9d77f:/# stat /etc/apt/keyrings/githubcli-archive-keyring.gpg 
  File: /etc/apt/keyrings/githubcli-archive-keyring.gpg
  Size: 2270      	Blocks: 8          IO Block: 4096   regular file
Device: 0,137	Inode: 3149266     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2024-05-10 18:21:07.389392002 +0000
Modify: 2024-05-10 18:21:07.497392002 +0000
Change: 2024-05-10 18:21:07.497392002 +0000
 Birth: 2024-05-10 18:21:07.389392002 +0000
root@ddc823c9d77f:/# uname -a
Linux ddc823c9d77f 6.6.12-linuxkit #1 SMP Fri Jan 19 08:53:17 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
root@ddc823c9d77f:/# lsb_release -a
bash: lsb_release: command not found
root@ddc823c9d77f:/# apt-get install lsb-release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  lsb-release
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 6564 B of archives.
After this operation, 17.4 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 lsb-release all 12.0-2 [6564 B]
Fetched 6564 B in 0s (14.6 kB/s)      
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package lsb-release.
(Reading database ... 4900 files and directories currently installed.)
Preparing to unpack .../lsb-release_12.0-2_all.deb ...
Unpacking lsb-release (12.0-2) ...
Setting up lsb-release (12.0-2) ...
root@ddc823c9d77f:/# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 23.10
Release:	23.10
Codename:	mantic

root@ddc823c9d77f:/# sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg
root@ddc823c9d77f:/# echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
root@ddc823c9d77f:/# sudo apt update
Get:1 https://cli.github.com/packages stable InRelease [3917 B]
Get:2 https://cli.github.com/packages stable/main arm64 Packages [345 B]             
Hit:3 http://ports.ubuntu.com/ubuntu-ports mantic InRelease                       
Hit:4 http://ports.ubuntu.com/ubuntu-ports mantic-updates InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports mantic-backports InRelease
Hit:6 http://ports.ubuntu.com/ubuntu-ports mantic-security InRelease
Fetched 4262 B in 0s (8666 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@ddc823c9d77f:/# sudo apt install gh -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  adduser git git-man krb5-locales less libbrotli1 libbsd0 libcbor0.8 libcurl3-gnutls libedit2 liberror-perl libexpat1 libfido2-1 libgdbm-compat4 libgdbm6 libgssapi-krb5-2 libk5crypto3
  libkeyutils1 libkrb5-3 libkrb5support0 libldap-common libldap2 libnghttp2-14 libperl5.36 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh-4 libx11-6 libx11-data libxau6
  libxcb1 libxdmcp6 libxext6 libxmuu1 netbase openssh-client patch perl perl-modules-5.36 xauth
Suggested packages:
  liblocale-gettext-perl cron quota ecryptfs-utils gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n
  krb5-doc krb5-user libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql keychain libpam-ssh monkeysphere
  ssh-askpass ed diffutils-doc perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make libtap-harness-archive-perl
The following NEW packages will be installed:
  adduser gh git git-man krb5-locales less libbrotli1 libbsd0 libcbor0.8 libcurl3-gnutls libedit2 liberror-perl libexpat1 libfido2-1 libgdbm-compat4 libgdbm6 libgssapi-krb5-2
  libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-common libldap2 libnghttp2-14 libperl5.36 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh-4 libx11-6
  libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 netbase openssh-client patch perl perl-modules-5.36 xauth
0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.6 MB of archives.
After this operation, 140 MB of additional disk space will be used.
Get:1 https://cli.github.com/packages stable/main arm64 gh arm64 2.49.1 [12.6 MB]
Get:2 http://ports.ubuntu.com/ubuntu-ports mantic-updates/main arm64 perl-modules-5.36 all 5.36.0-9ubuntu1.1 [2984 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libgdbm6 arm64 1.23-3 [33.3 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libgdbm-compat4 arm64 1.23-3 [6258 B]
Get:5 http://ports.ubuntu.com/ubuntu-ports mantic-updates/main arm64 libperl5.36 arm64 5.36.0-9ubuntu1.1 [4675 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports mantic-updates/main arm64 perl arm64 5.36.0-9ubuntu1.1 [235 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 adduser all 3.137ubuntu1 [101 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 krb5-locales all 1.20.1-3ubuntu1 [13.4 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports mantic-updates/main arm64 less arm64 590-2ubuntu0.23.10.2 [141 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libbsd0 arm64 0.11.7-4 [40.8 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports mantic-updates/main arm64 libexpat1 arm64 2.5.0-2ubuntu0.1 [72.9 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libkrb5support0 arm64 1.20.1-3ubuntu1 [32.9 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libk5crypto3 arm64 1.20.1-3ubuntu1 [84.9 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libkeyutils1 arm64 1.6.3-2 [9296 B]
Get:15 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libkrb5-3 arm64 1.20.1-3ubuntu1 [345 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libgssapi-krb5-2 arm64 1.20.1-3ubuntu1 [139 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 netbase all 6.4 [13.1 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libcbor0.8 arm64 0.8.0-2ubuntu1 [24.3 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libedit2 arm64 3.1-20221030-2 [95.0 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libfido2-1 arm64 1.13.0-1 [83.5 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports mantic-updates/main arm64 libnghttp2-14 arm64 1.55.1-1ubuntu0.2 [73.1 kB]
Get:22 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libxau6 arm64 1:1.0.9-1build5 [7624 B]
Get:23 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libxdmcp6 arm64 1:1.1.3-0ubuntu5 [10.8 kB]
Get:24 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libxcb1 arm64 1.15-1 [47.6 kB]
Get:25 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libx11-data all 2:1.8.6-1ubuntu1 [116 kB]
Get:26 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libx11-6 arm64 2:1.8.6-1ubuntu1 [646 kB]
Get:27 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libxext6 arm64 2:1.3.4-1build1 [31.1 kB]
Get:28 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libxmuu1 arm64 2:1.1.3-3 [10.4 kB]
Get:29 http://ports.ubuntu.com/ubuntu-ports mantic-updates/main arm64 openssh-client arm64 1:9.3p1-1ubuntu3.3 [868 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 xauth arm64 1:1.1.2-1 [25.4 kB]
Get:31 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libbrotli1 arm64 1.0.9-2build8 [312 kB]
Get:32 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libsasl2-modules-db arm64 2.1.28+dfsg1-3 [21.0 kB]
Get:33 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libsasl2-2 arm64 2.1.28+dfsg1-3 [54.0 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libldap2 arm64 2.6.6+dfsg-1~exp1ubuntu1 [191 kB]
Get:35 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 librtmp1 arm64 2.4+20151223.gitfa8646d.1-2build4 [59.2 kB]
Get:36 http://ports.ubuntu.com/ubuntu-ports mantic-updates/main arm64 libssh-4 arm64 0.10.5-3ubuntu1.2 [188 kB]
Get:37 http://ports.ubuntu.com/ubuntu-ports mantic-updates/main arm64 libcurl3-gnutls arm64 8.2.1-1ubuntu3.3 [307 kB]
Get:38 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 liberror-perl all 0.17029-2 [25.6 kB]
Get:39 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 git-man all 1:2.40.1-1ubuntu1 [1085 kB]
Get:40 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 git arm64 1:2.40.1-1ubuntu1 [3676 kB]
Get:41 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libldap-common all 2.6.6+dfsg-1~exp1ubuntu1 [30.6 kB]
Get:42 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 libsasl2-modules arm64 2.1.28+dfsg1-3 [69.0 kB]
Get:43 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 patch arm64 2.7.6-7build2 [105 kB]
Fetched 29.6 MB in 6s (5038 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package perl-modules-5.36.
(Reading database ... 4905 files and directories currently installed.)
Preparing to unpack .../0-perl-modules-5.36_5.36.0-9ubuntu1.1_all.deb ...
Unpacking perl-modules-5.36 (5.36.0-9ubuntu1.1) ...
Selecting previously unselected package libgdbm6:arm64.
Preparing to unpack .../1-libgdbm6_1.23-3_arm64.deb ...
Unpacking libgdbm6:arm64 (1.23-3) ...
Selecting previously unselected package libgdbm-compat4:arm64.
Preparing to unpack .../2-libgdbm-compat4_1.23-3_arm64.deb ...
Unpacking libgdbm-compat4:arm64 (1.23-3) ...
Selecting previously unselected package libperl5.36:arm64.
Preparing to unpack .../3-libperl5.36_5.36.0-9ubuntu1.1_arm64.deb ...
Unpacking libperl5.36:arm64 (5.36.0-9ubuntu1.1) ...
Selecting previously unselected package perl.
Preparing to unpack .../4-perl_5.36.0-9ubuntu1.1_arm64.deb ...
Unpacking perl (5.36.0-9ubuntu1.1) ...
Selecting previously unselected package adduser.
Preparing to unpack .../5-adduser_3.137ubuntu1_all.deb ...
Unpacking adduser (3.137ubuntu1) ...
Setting up adduser (3.137ubuntu1) ...
Selecting previously unselected package krb5-locales.
(Reading database ... 6962 files and directories currently installed.)
Preparing to unpack .../00-krb5-locales_1.20.1-3ubuntu1_all.deb ...
Unpacking krb5-locales (1.20.1-3ubuntu1) ...
Selecting previously unselected package less.
Preparing to unpack .../01-less_590-2ubuntu0.23.10.2_arm64.deb ...
Unpacking less (590-2ubuntu0.23.10.2) ...
Selecting previously unselected package libbsd0:arm64.
Preparing to unpack .../02-libbsd0_0.11.7-4_arm64.deb ...
Unpacking libbsd0:arm64 (0.11.7-4) ...
Selecting previously unselected package libexpat1:arm64.
Preparing to unpack .../03-libexpat1_2.5.0-2ubuntu0.1_arm64.deb ...
Unpacking libexpat1:arm64 (2.5.0-2ubuntu0.1) ...
Selecting previously unselected package libkrb5support0:arm64.
Preparing to unpack .../04-libkrb5support0_1.20.1-3ubuntu1_arm64.deb ...
Unpacking libkrb5support0:arm64 (1.20.1-3ubuntu1) ...
Selecting previously unselected package libk5crypto3:arm64.
Preparing to unpack .../05-libk5crypto3_1.20.1-3ubuntu1_arm64.deb ...
Unpacking libk5crypto3:arm64 (1.20.1-3ubuntu1) ...
Selecting previously unselected package libkeyutils1:arm64.
Preparing to unpack .../06-libkeyutils1_1.6.3-2_arm64.deb ...
Unpacking libkeyutils1:arm64 (1.6.3-2) ...
Selecting previously unselected package libkrb5-3:arm64.
Preparing to unpack .../07-libkrb5-3_1.20.1-3ubuntu1_arm64.deb ...
Unpacking libkrb5-3:arm64 (1.20.1-3ubuntu1) ...
Selecting previously unselected package libgssapi-krb5-2:arm64.
Preparing to unpack .../08-libgssapi-krb5-2_1.20.1-3ubuntu1_arm64.deb ...
Unpacking libgssapi-krb5-2:arm64 (1.20.1-3ubuntu1) ...
Selecting previously unselected package netbase.
Preparing to unpack .../09-netbase_6.4_all.deb ...
Unpacking netbase (6.4) ...
Selecting previously unselected package libcbor0.8:arm64.
Preparing to unpack .../10-libcbor0.8_0.8.0-2ubuntu1_arm64.deb ...
Unpacking libcbor0.8:arm64 (0.8.0-2ubuntu1) ...
Selecting previously unselected package libedit2:arm64.
Preparing to unpack .../11-libedit2_3.1-20221030-2_arm64.deb ...
Unpacking libedit2:arm64 (3.1-20221030-2) ...
Selecting previously unselected package libfido2-1:arm64.
Preparing to unpack .../12-libfido2-1_1.13.0-1_arm64.deb ...
Unpacking libfido2-1:arm64 (1.13.0-1) ...
Selecting previously unselected package libnghttp2-14:arm64.
Preparing to unpack .../13-libnghttp2-14_1.55.1-1ubuntu0.2_arm64.deb ...
Unpacking libnghttp2-14:arm64 (1.55.1-1ubuntu0.2) ...
Selecting previously unselected package libxau6:arm64.
Preparing to unpack .../14-libxau6_1%3a1.0.9-1build5_arm64.deb ...
Unpacking libxau6:arm64 (1:1.0.9-1build5) ...
Selecting previously unselected package libxdmcp6:arm64.
Preparing to unpack .../15-libxdmcp6_1%3a1.1.3-0ubuntu5_arm64.deb ...
Unpacking libxdmcp6:arm64 (1:1.1.3-0ubuntu5) ...
Selecting previously unselected package libxcb1:arm64.
Preparing to unpack .../16-libxcb1_1.15-1_arm64.deb ...
Unpacking libxcb1:arm64 (1.15-1) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../17-libx11-data_2%3a1.8.6-1ubuntu1_all.deb ...
Unpacking libx11-data (2:1.8.6-1ubuntu1) ...
Selecting previously unselected package libx11-6:arm64.
Preparing to unpack .../18-libx11-6_2%3a1.8.6-1ubuntu1_arm64.deb ...
Unpacking libx11-6:arm64 (2:1.8.6-1ubuntu1) ...
Selecting previously unselected package libxext6:arm64.
Preparing to unpack .../19-libxext6_2%3a1.3.4-1build1_arm64.deb ...
Unpacking libxext6:arm64 (2:1.3.4-1build1) ...
Selecting previously unselected package libxmuu1:arm64.
Preparing to unpack .../20-libxmuu1_2%3a1.1.3-3_arm64.deb ...
Unpacking libxmuu1:arm64 (2:1.1.3-3) ...
Selecting previously unselected package openssh-client.
Preparing to unpack .../21-openssh-client_1%3a9.3p1-1ubuntu3.3_arm64.deb ...
Unpacking openssh-client (1:9.3p1-1ubuntu3.3) ...
Selecting previously unselected package xauth.
Preparing to unpack .../22-xauth_1%3a1.1.2-1_arm64.deb ...
Unpacking xauth (1:1.1.2-1) ...
Selecting previously unselected package libbrotli1:arm64.
Preparing to unpack .../23-libbrotli1_1.0.9-2build8_arm64.deb ...
Unpacking libbrotli1:arm64 (1.0.9-2build8) ...
Selecting previously unselected package libsasl2-modules-db:arm64.
Preparing to unpack .../24-libsasl2-modules-db_2.1.28+dfsg1-3_arm64.deb ...
Unpacking libsasl2-modules-db:arm64 (2.1.28+dfsg1-3) ...
Selecting previously unselected package libsasl2-2:arm64.
Preparing to unpack .../25-libsasl2-2_2.1.28+dfsg1-3_arm64.deb ...
Unpacking libsasl2-2:arm64 (2.1.28+dfsg1-3) ...
Selecting previously unselected package libldap2:arm64.
Preparing to unpack .../26-libldap2_2.6.6+dfsg-1~exp1ubuntu1_arm64.deb ...
Unpacking libldap2:arm64 (2.6.6+dfsg-1~exp1ubuntu1) ...
Selecting previously unselected package librtmp1:arm64.
Preparing to unpack .../27-librtmp1_2.4+20151223.gitfa8646d.1-2build4_arm64.deb ...
Unpacking librtmp1:arm64 (2.4+20151223.gitfa8646d.1-2build4) ...
Selecting previously unselected package libssh-4:arm64.
Preparing to unpack .../28-libssh-4_0.10.5-3ubuntu1.2_arm64.deb ...
Unpacking libssh-4:arm64 (0.10.5-3ubuntu1.2) ...
Selecting previously unselected package libcurl3-gnutls:arm64.
Preparing to unpack .../29-libcurl3-gnutls_8.2.1-1ubuntu3.3_arm64.deb ...
Unpacking libcurl3-gnutls:arm64 (8.2.1-1ubuntu3.3) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../30-liberror-perl_0.17029-2_all.deb ...
Unpacking liberror-perl (0.17029-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../31-git-man_1%3a2.40.1-1ubuntu1_all.deb ...
Unpacking git-man (1:2.40.1-1ubuntu1) ...
Selecting previously unselected package git.
Preparing to unpack .../32-git_1%3a2.40.1-1ubuntu1_arm64.deb ...
Unpacking git (1:2.40.1-1ubuntu1) ...
Selecting previously unselected package gh.
Preparing to unpack .../33-gh_2.49.1_arm64.deb ...
Unpacking gh (2.49.1) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../34-libldap-common_2.6.6+dfsg-1~exp1ubuntu1_all.deb ...
Unpacking libldap-common (2.6.6+dfsg-1~exp1ubuntu1) ...
Selecting previously unselected package libsasl2-modules:arm64.
Preparing to unpack .../35-libsasl2-modules_2.1.28+dfsg1-3_arm64.deb ...
Unpacking libsasl2-modules:arm64 (2.1.28+dfsg1-3) ...
Selecting previously unselected package patch.
Preparing to unpack .../36-patch_2.7.6-7build2_arm64.deb ...
Unpacking patch (2.7.6-7build2) ...
Setting up libexpat1:arm64 (2.5.0-2ubuntu0.1) ...
Setting up libxau6:arm64 (1:1.0.9-1build5) ...
Setting up libkeyutils1:arm64 (1.6.3-2) ...
Setting up libcbor0.8:arm64 (0.8.0-2ubuntu1) ...
Setting up libbrotli1:arm64 (1.0.9-2build8) ...
Setting up libsasl2-modules:arm64 (2.1.28+dfsg1-3) ...
Setting up libnghttp2-14:arm64 (1.55.1-1ubuntu0.2) ...
Setting up less (590-2ubuntu0.23.10.2) ...
Setting up krb5-locales (1.20.1-3ubuntu1) ...
Setting up libldap-common (2.6.6+dfsg-1~exp1ubuntu1) ...
Setting up libkrb5support0:arm64 (1.20.1-3ubuntu1) ...
Setting up libsasl2-modules-db:arm64 (2.1.28+dfsg1-3) ...
Setting up perl-modules-5.36 (5.36.0-9ubuntu1.1) ...
Setting up libx11-data (2:1.8.6-1ubuntu1) ...
Setting up librtmp1:arm64 (2.4+20151223.gitfa8646d.1-2build4) ...
Setting up patch (2.7.6-7build2) ...
Setting up libk5crypto3:arm64 (1.20.1-3ubuntu1) ...
Setting up libsasl2-2:arm64 (2.1.28+dfsg1-3) ...
Setting up git-man (1:2.40.1-1ubuntu1) ...
Setting up netbase (6.4) ...
Setting up libkrb5-3:arm64 (1.20.1-3ubuntu1) ...
Setting up libfido2-1:arm64 (1.13.0-1) ...
Setting up libbsd0:arm64 (0.11.7-4) ...
Setting up libldap2:arm64 (2.6.6+dfsg-1~exp1ubuntu1) ...
Setting up libgdbm6:arm64 (1.23-3) ...
Setting up libxdmcp6:arm64 (1:1.1.3-0ubuntu5) ...
Setting up libxcb1:arm64 (1.15-1) ...
Setting up libedit2:arm64 (3.1-20221030-2) ...
Setting up libgssapi-krb5-2:arm64 (1.20.1-3ubuntu1) ...
Setting up libgdbm-compat4:arm64 (1.23-3) ...
Setting up libssh-4:arm64 (0.10.5-3ubuntu1.2) ...
Setting up libx11-6:arm64 (2:1.8.6-1ubuntu1) ...
Setting up libperl5.36:arm64 (5.36.0-9ubuntu1.1) ...
Setting up libxmuu1:arm64 (2:1.1.3-3) ...
Setting up openssh-client (1:9.3p1-1ubuntu3.3) ...
Setting up libxext6:arm64 (2:1.3.4-1build1) ...
Setting up libcurl3-gnutls:arm64 (8.2.1-1ubuntu3.3) ...
Setting up perl (5.36.0-9ubuntu1.1) ...
Setting up xauth (1:1.1.2-1) ...
Setting up liberror-perl (0.17029-2) ...
Setting up git (1:2.40.1-1ubuntu1) ...
Setting up gh (2.49.1) ...
Processing triggers for libc-bin (2.38-1ubuntu6.2) ...
root@ddc823c9d77f:/# gh version
gh version 2.49.1 (2024-05-08)
https://github.com/cli/cli/releases/tag/v2.49.1

@aarona : Would you be willing to clear away the GPG key and Debian package repository, executing each statement separately to see what the error creating the GPG was?

@andyfeller andyfeller removed the needs-triage needs to be reviewed label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants