Apt update fails

I got a new Librem 13 today and am trying to install scdaemon to use the Librem Key. However both sudo apt update and sudo apt-get update fail with glib errors. I’ve seen previous forum posts about updates failing and don’t know if this is related. I’d be happy to post any additional information.

omsai@xm2:~$ sudo apt install scdaemon
[sudo] password for omsai:
Reading package lists... Done
Building dependency tree    
Reading state information... Done
The following NEW packages will be installed:
  scdaemon
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 564 kB of archives.
After this operation, 849 kB of additional disk space will be used.
Err:1 https://repo.puri.sm/pureos green/main amd64 scdaemon amd64 2.2.8-3
  404  Not Found [IP: 138.201.228.45 443]
E: Failed to fetch https://repo.puri.sm/pureos/pool/main/g/gnupg2/scdaemon_2.2.8-3_amd64.deb  404  Not Found [IP: 138.201.228.45 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
omsai@xm2:~$ sudo apt-get update
Get:1 https://repo.puri.sm/pureos green InRelease [10.5 kB]
Get:2 https://repo.puri.sm/pureos green/main amd64 Packages [6,702 kB]
Get:3 https://repo.puri.sm/pureos green/main Translation-en [5,867 kB]      
Get:4 https://repo.puri.sm/pureos green/main amd64 DEP-11 Metadata [2,528 kB]
Get:5 https://repo.puri.sm/pureos green/main DEP-11 64x64 Icons [7,358 kB]  
Fetched 22.5 MB in 21s (1,093 kB/s)                                        

(appstreamcli:3521): GLib-CRITICAL **: 12:45:03.615: g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed

(appstreamcli:3521): GLib-CRITICAL **: 12:45:03.615: g_variant_new_variant: assertion 'value != NULL' failed

(appstreamcli:3521): GLib-ERROR **: 12:45:03.615: g_variant_new_parsed: 11-13:invalid GVariant format string
Trace/breakpoint trap
Reading package lists... Done
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'
E: Sub-process returned an error code
omsai@xm2:~$

A post was merged into an existing topic: PureOS: apt update fails