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

8.11.0 seems to break flatpak update #15509

Closed
heirecka opened this issue Nov 7, 2024 · 9 comments
Closed

8.11.0 seems to break flatpak update #15509

heirecka opened this issue Nov 7, 2024 · 9 comments

Comments

@heirecka
Copy link

heirecka commented Nov 7, 2024

I did this

After updating curl to 8.11.0 flatpak update fails with

❯ flatpak update
Looking for updates…
F: Warning: Treating remote fetch error as non-fatal since app/org.kde.krename/x86_64/stable is already installed: No such ref 'app/org.kde.krename/x86_64/stable' in remote flathub
...

running it with --verbose gives me

❯ flatpak --verbose update
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/heiko/.local/share/flatpak
Looking for updates…
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using curl
F: Received 9310 bytes
F: Loading https://dl.flathub.org/repo/summaries/4ca90c4f724a16511d94856acc64cc3736a0786ff23e9618974b08cce7c14db6.idx.sig using curl
F: Loading https://dl.flathub.org/repo/summary.idx.sig using curl
F: Received 592 bytes
F: Failed to download optional summary index: Signature made Thu Jan  1 01:00:00 1970 using [unknown name] key ID 562702E9E3ED7EE8
BAD signature from "Flathub Repo Signing Key <flathub@flathub.org>"
Primary key ID 4184DD4D907A7CAE
Primary key expires Mon Jun 14 15:18:56 2027
...

Downgrading to 8.10.1 makes it work again

I expected the following

flatpak update to continue to fetch updates.

curl/libcurl version

curl 8.11.0 (x86_64-pc-linux-gnu) libcurl/8.11.0 OpenSSL/3.3.2 zlib/1.3.1 zstd/1.5.6 libidn2/2.3.7 libssh2/1.11.1 nghttp2/1.64.0
Release-Date: 2024-11-06
Protocols: dict file ftp ftps gopher gophers http https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp ws wss
Features: AsynchDNS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz SSL threadsafe TLS-SRP UnixSockets zst

operating system

Exherbo Linux

@bagder
Copy link
Member

bagder commented Nov 8, 2024

I'm afraid we are going to need more details about how this transfer is done and what it is that fails. Otherwise there really is nothing for us to act on here.

@meator
Copy link

meator commented Nov 8, 2024

This issue appears to be of high severity. Void Linux is also affected by this problem. I'll try to provide more verbose logs. I provide logs for curl 8.10.1 (which works as expected) and for curl 8.11.0 which is affected by this issue.


curl 8.10.1 (x86_64-unknown-linux-gnu) libcurl/8.10.1 OpenSSL/3.3.2 zlib/1.3.1 zstd/1.5.6 libidn2/2.3.4 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.63.0
Release-Date: 2024-09-18
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM PSL SSL threadsafe TLS-SRP UnixSockets zstd
Verbose log

> OSTREE_DEBUG_HTTP=true flatpak --verbose update
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/meator/.local/share/flatpak
Looking for updates…
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using curl
* Host dl.flathub.org:443 was resolved.
* IPv6: 2a04:4e42:41::347
* IPv4: 199.232.17.91
*   Trying [2a04:4e42:41::347]:443...
* Immediate connect fail for 2a04:4e42:41::347: Network is unreachable
*   Trying 199.232.17.91:443...
* ALPN: curl offers h2,http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256 / x25519 / RSASSA-PSS
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=dl.flathub.org
*  start date: Mar  6 21:50:11 2024 GMT
*  expire date: Apr  7 21:50:10 2025 GMT
*  subjectAltName: host "dl.flathub.org" matched cert's "dl.flathub.org"
*  issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Atlas R3 DV TLS CA 2024 Q1
*  SSL certificate verify ok.
*   Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 2: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
* Connected to dl.flathub.org (199.232.17.91) port 443
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://dl.flathub.org/repo/summary.idx
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: dl.flathub.org]
* [HTTP/2] [1] [:path: /repo/summary.idx]
* [HTTP/2] [1] [user-agent: Flatpak 1.15.10]
* [HTTP/2] [1] [accept: */*]
* [HTTP/2] [1] [accept-encoding: deflate, gzip, zstd]
> GET /repo/summary.idx HTTP/2
Host: dl.flathub.org
User-Agent: Flatpak 1.15.10
Accept: */*
Accept-Encoding: deflate, gzip, zstd

* Request completely sent off
< HTTP/2 200 
< server: nginx/1.22.1
< content-type: application/octet-stream
< last-modified: Fri, 08 Nov 2024 08:05:01 GMT
< etag: W/"672dc62d-2711"
< expires: Fri, 08 Nov 2024 09:05:03 GMT
< cache-control: max-age=3600
< content-encoding: gzip
< backend-name: 3DxooTFj8SlVTdJ0UTX8Jd--F_front_hex2
< via: 1.1 varnish, 1.1 varnish
< accept-ranges: bytes
< date: Fri, 08 Nov 2024 08:25:47 GMT
< age: 1244
< x-served-by: cache-lhr-egll1980029-LHR, cache-vie6340-VIE
< x-cache: HIT, HIT
< x-cache-hits: 17, 212
< x-timer: S1731054348.586009,VS0,VE0
< vary: Accept-Encoding
< strict-transport-security: max-age=31557600
< alt-svc: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
< content-length: 9309
< 
* Connection #0 to host dl.flathub.org left intact
F: Received 10001 bytes
F: Loaded indexed summary file 6dd6224cb6221d1f4246851120612a9f909db51bd250008774e11850a77e9b7a from cache for remote ‘flathub’
[cut]

curl 8.11.0 (x86_64-unknown-linux-gnu) libcurl/8.11.0 OpenSSL/3.3.2 zlib/1.3.1 zstd/1.5.6 libidn2/2.3.4 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.63.0
Release-Date: 2024-11-06
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM PSL SSL threadsafe TLS-SRP UnixSockets zstd
Verbose log

> OSTREE_DEBUG_HTTP=true flatpak --verbose update
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/meator/.local/share/flatpak
Looking for updates…
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using curl
* Host dl.flathub.org:443 was resolved.
* IPv6: 2a04:4e42:41::347
* IPv4: 199.232.17.91
*   Trying [2a04:4e42:41::347]:443...
* Immediate connect fail for 2a04:4e42:41::347: Network is unreachable
*   Trying 199.232.17.91:443...
* ALPN: curl offers h2,http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256 / x25519 / RSASSA-PSS
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=dl.flathub.org
*  start date: Mar  6 21:50:11 2024 GMT
*  expire date: Apr  7 21:50:10 2025 GMT
*  subjectAltName: host "dl.flathub.org" matched cert's "dl.flathub.org"
*  issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Atlas R3 DV TLS CA 2024 Q1
*  SSL certificate verify ok.
*   Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 2: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
* Connected to dl.flathub.org (199.232.17.91) port 443
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://dl.flathub.org/repo/summary.idx
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: dl.flathub.org]
* [HTTP/2] [1] [:path: /repo/summary.idx]
* [HTTP/2] [1] [user-agent: Flatpak 1.15.10]
* [HTTP/2] [1] [accept: */*]
* [HTTP/2] [1] [accept-encoding: deflate, gzip, zstd]
> GET /repo/summary.idx HTTP/2
Host: dl.flathub.org
User-Agent: Flatpak 1.15.10
Accept: */*
Accept-Encoding: deflate, gzip, zstd

* Request completely sent off
< HTTP/2 200 
< server: nginx/1.22.1
< content-type: application/octet-stream
< last-modified: Fri, 08 Nov 2024 08:05:01 GMT
< etag: W/"672dc62d-2711"
< expires: Fri, 08 Nov 2024 09:05:03 GMT
< cache-control: max-age=3600
< content-encoding: gzip
< backend-name: 3DxooTFj8SlVTdJ0UTX8Jd--F_front_hex2
< via: 1.1 varnish, 1.1 varnish
< accept-ranges: bytes
< date: Fri, 08 Nov 2024 08:24:21 GMT
< age: 1158
< x-served-by: cache-lhr-egll1980029-LHR, cache-vie6342-VIE
< x-cache: HIT, HIT
< x-cache-hits: 17, 176
< x-timer: S1731054261.330373,VS0,VE0
< vary: Accept-Encoding
< strict-transport-security: max-age=31557600
< alt-svc: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
< content-length: 9309
< 
* Connection #0 to host dl.flathub.org left intact
F: Received 9309 bytes
F: Loading https://dl.flathub.org/repo/summaries/14323a961af8d486c6774f85b431af1e0208a7f5ac43baddf426996c5a0dc8c1.idx.sig using curl
* Re-using existing connection with host dl.flathub.org
* [HTTP/2] [3] OPENED stream for https://dl.flathub.org/repo/summaries/14323a961af8d486c6774f85b431af1e0208a7f5ac43baddf426996c5a0dc8c1.idx.sig
* [HTTP/2] [3] [:method: GET]
* [HTTP/2] [3] [:scheme: https]
* [HTTP/2] [3] [:authority: dl.flathub.org]
* [HTTP/2] [3] [:path: /repo/summaries/14323a961af8d486c6774f85b431af1e0208a7f5ac43baddf426996c5a0dc8c1.idx.sig]
* [HTTP/2] [3] [user-agent: Flatpak 1.15.10]
* [HTTP/2] [3] [accept: */*]
* [HTTP/2] [3] [accept-encoding: deflate, gzip, zstd]
> GET /repo/summaries/14323a961af8d486c6774f85b431af1e0208a7f5ac43baddf426996c5a0dc8c1.idx.sig HTTP/2
Host: dl.flathub.org
User-Agent: Flatpak 1.15.10
Accept: */*
Accept-Encoding: deflate, gzip, zstd

* Request completely sent off
< HTTP/2 404 
< server: nginx/1.22.1
< content-type: text/html
< backend-name: 3DxooTFj8SlVTdJ0UTX8Jd--F_front_hex2
< accept-ranges: bytes
< via: 1.1 varnish, 1.1 varnish
< date: Fri, 08 Nov 2024 08:24:21 GMT
< x-served-by: cache-lhr-egll1980063-LHR, cache-vie6342-VIE
< x-cache: MISS, MISS
< x-cache-hits: 0, 0
< x-timer: S1731054261.434902,VS0,VE43
< strict-transport-security: max-age=31557600
< alt-svc: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
< content-length: 162
< 
* Connection #0 to host dl.flathub.org left intact
F: Loading https://dl.flathub.org/repo/summary.idx.sig using curl
* Re-using existing connection with host dl.flathub.org
* [HTTP/2] [5] OPENED stream for https://dl.flathub.org/repo/summary.idx.sig
* [HTTP/2] [5] [:method: GET]
* [HTTP/2] [5] [:scheme: https]
* [HTTP/2] [5] [:authority: dl.flathub.org]
* [HTTP/2] [5] [:path: /repo/summary.idx.sig]
* [HTTP/2] [5] [user-agent: Flatpak 1.15.10]
* [HTTP/2] [5] [accept: */*]
* [HTTP/2] [5] [accept-encoding: deflate, gzip, zstd]
> GET /repo/summary.idx.sig HTTP/2
Host: dl.flathub.org
User-Agent: Flatpak 1.15.10
Accept: */*
Accept-Encoding: deflate, gzip, zstd

* Request completely sent off
< HTTP/2 200 
< server: nginx/1.22.1
< content-type: application/octet-stream
< last-modified: Fri, 08 Nov 2024 08:05:01 GMT
< etag: "672dc62d-250"
< expires: Fri, 08 Nov 2024 09:06:36 GMT
< cache-control: max-age=3600
< backend-name: 3DxooTFj8SlVTdJ0UTX8Jd--F_front_sov
< via: 1.1 varnish, 1.1 varnish
< accept-ranges: bytes
< age: 1065
< date: Fri, 08 Nov 2024 08:24:21 GMT
< x-served-by: cache-lhr-egll1980081-LHR, cache-vie6342-VIE
< x-cache: HIT, HIT
< x-cache-hits: 4, 0
< x-timer: S1731054261.498900,VS0,VE1
< strict-transport-security: max-age=31557600
< alt-svc: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
< content-length: 592
< 
* Connection #0 to host dl.flathub.org left intact
F: Received 592 bytes
F: Failed to download optional summary index: Signature made Thu 01 Jan 1970 01:00:00 AM CET using [unknown name] key ID 562702E9E3ED7EE8
BAD signature from "Flathub Repo Signing Key <flathub@flathub.org>"
Primary key ID 4184DD4D907A7CAE
Primary key expires Mon 14 Jun 2027 03:18:56 PM CEST
F: Transaction: update [cut]
[cut (the previous line repeated several times for the different packages)]
F: Error updating remote metadata for 'flathub': Unable to load summary from remote flathub: Signature made Thu 01 Jan 1970 01:00:00 AM CET using [unknown name] key ID 562702E9E3ED7EE8
BAD signature from "Flathub Repo Signing Key <flathub@flathub.org>"
Primary key ID 4184DD4D907A7CAE
Primary key expires Mon 14 Jun 2027 03:18:56 PM CEST
[cut]
Nothing to do.
F: flathub:x86_64 appstream age 7656443 is greater than ttl 86400
F: Updating appstream data for remote flathub
F: Fetching summary index file for remote ‘flathub’
F: Loading https://dl.flathub.org/repo/summary.idx using curl
* Host dl.flathub.org:443 was resolved.
* IPv6: 2a04:4e42:41::347
* IPv4: 199.232.17.91
*   Trying [2a04:4e42:41::347]:443...
* Immediate connect fail for 2a04:4e42:41::347: Network is unreachable
*   Trying 199.232.17.91:443...
* ALPN: curl offers h2,http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256 / x25519 / RSASSA-PSS
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=dl.flathub.org
*  start date: Mar  6 21:50:11 2024 GMT
*  expire date: Apr  7 21:50:10 2025 GMT
*  subjectAltName: host "dl.flathub.org" matched cert's "dl.flathub.org"
*  issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Atlas R3 DV TLS CA 2024 Q1
*  SSL certificate verify ok.
*   Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
*   Certificate level 2: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
* Connected to dl.flathub.org (199.232.17.91) port 443
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://dl.flathub.org/repo/summary.idx
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: dl.flathub.org]
* [HTTP/2] [1] [:path: /repo/summary.idx]
* [HTTP/2] [1] [user-agent: Flatpak 1.15.10]
* [HTTP/2] [1] [accept: */*]
* [HTTP/2] [1] [accept-encoding: deflate, gzip, zstd]
> GET /repo/summary.idx HTTP/2
Host: dl.flathub.org
User-Agent: Flatpak 1.15.10
Accept: */*
Accept-Encoding: deflate, gzip, zstd

* Request completely sent off
< HTTP/2 200 
< server: nginx/1.22.1
< content-type: application/octet-stream
< last-modified: Fri, 08 Nov 2024 08:05:01 GMT
< etag: W/"672dc62d-2711"
< expires: Fri, 08 Nov 2024 09:05:03 GMT
< cache-control: max-age=3600
< content-encoding: gzip
< backend-name: 3DxooTFj8SlVTdJ0UTX8Jd--F_front_hex2
< via: 1.1 varnish, 1.1 varnish
< accept-ranges: bytes
< date: Fri, 08 Nov 2024 08:24:22 GMT
< age: 1159
< x-served-by: cache-lhr-egll1980029-LHR, cache-vie6382-VIE
< x-cache: HIT, HIT
< x-cache-hits: 17, 158
< x-timer: S1731054262.100325,VS0,VE0
< vary: Accept-Encoding
< strict-transport-security: max-age=31557600
< alt-svc: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
< content-length: 9309
< 
* Connection #0 to host dl.flathub.org left intact
F: Received 9309 bytes
F: Loading https://dl.flathub.org/repo/summaries/14323a961af8d486c6774f85b431af1e0208a7f5ac43baddf426996c5a0dc8c1.idx.sig using curl
* Re-using existing connection with host dl.flathub.org
* [HTTP/2] [3] OPENED stream for https://dl.flathub.org/repo/summaries/14323a961af8d486c6774f85b431af1e0208a7f5ac43baddf426996c5a0dc8c1.idx.sig
* [HTTP/2] [3] [:method: GET]
* [HTTP/2] [3] [:scheme: https]
* [HTTP/2] [3] [:authority: dl.flathub.org]
* [HTTP/2] [3] [:path: /repo/summaries/14323a961af8d486c6774f85b431af1e0208a7f5ac43baddf426996c5a0dc8c1.idx.sig]
* [HTTP/2] [3] [user-agent: Flatpak 1.15.10]
* [HTTP/2] [3] [accept: */*]
* [HTTP/2] [3] [accept-encoding: deflate, gzip, zstd]
> GET /repo/summaries/14323a961af8d486c6774f85b431af1e0208a7f5ac43baddf426996c5a0dc8c1.idx.sig HTTP/2
Host: dl.flathub.org
User-Agent: Flatpak 1.15.10
Accept: */*
Accept-Encoding: deflate, gzip, zstd

* Request completely sent off
< HTTP/2 404 
< server: nginx/1.22.1
< content-type: text/html
< backend-name: 3DxooTFj8SlVTdJ0UTX8Jd--F_front_hex2
< accept-ranges: bytes
< via: 1.1 varnish, 1.1 varnish
< date: Fri, 08 Nov 2024 08:24:22 GMT
< x-served-by: cache-lhr-egll1980063-LHR, cache-vie6382-VIE
< x-cache: MISS, MISS
< x-cache-hits: 0, 0
< x-timer: S1731054262.143027,VS0,VE37
< strict-transport-security: max-age=31557600
< alt-svc: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
< content-length: 162
< 
* Connection #0 to host dl.flathub.org left intact
F: Loading https://dl.flathub.org/repo/summary.idx.sig using curl
* Re-using existing connection with host dl.flathub.org
* [HTTP/2] [5] OPENED stream for https://dl.flathub.org/repo/summary.idx.sig
* [HTTP/2] [5] [:method: GET]
* [HTTP/2] [5] [:scheme: https]
* [HTTP/2] [5] [:authority: dl.flathub.org]
* [HTTP/2] [5] [:path: /repo/summary.idx.sig]
* [HTTP/2] [5] [user-agent: Flatpak 1.15.10]
* [HTTP/2] [5] [accept: */*]
* [HTTP/2] [5] [accept-encoding: deflate, gzip, zstd]
> GET /repo/summary.idx.sig HTTP/2
Host: dl.flathub.org
User-Agent: Flatpak 1.15.10
Accept: */*
Accept-Encoding: deflate, gzip, zstd

* Request completely sent off
< HTTP/2 200 
< server: nginx/1.22.1
< content-type: application/octet-stream
< last-modified: Fri, 08 Nov 2024 08:05:01 GMT
< etag: "672dc62d-250"
< expires: Fri, 08 Nov 2024 09:06:36 GMT
< cache-control: max-age=3600
< backend-name: 3DxooTFj8SlVTdJ0UTX8Jd--F_front_sov
< via: 1.1 varnish, 1.1 varnish
< accept-ranges: bytes
< date: Fri, 08 Nov 2024 08:24:22 GMT
< age: 1066
< x-served-by: cache-lhr-egll1980081-LHR, cache-vie6382-VIE
< x-cache: HIT, HIT
< x-cache-hits: 4, 1
< x-timer: S1731054262.203262,VS0,VE1
< strict-transport-security: max-age=31557600
< alt-svc: h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
< content-length: 592
< 
* Connection #0 to host dl.flathub.org left intact
F: Received 592 bytes
F: Failed to download optional summary index: Signature made Thu 01 Jan 1970 01:00:00 AM CET using [unknown name] key ID 562702E9E3ED7EE8
BAD signature from "Flathub Repo Signing Key <flathub@flathub.org>"
Primary key ID 4184DD4D907A7CAE
Primary key expires Mon 14 Jun 2027 03:18:56 PM CEST
F: Error updating: Error updating appstream2: No such ref 'appstream2/x86_64' in remote flathub; Error updating appstream: No such ref 'appstream/x86_64' in remote flathub

I have [cut] some stuff from the logs.

@razzeee
Copy link

razzeee commented Nov 8, 2024

Should probably be raised with flatpak. The code is contained to this file mostly https://github.com/flatpak/flatpak/blob/main/common/flatpak-utils-http.c

@icing
Copy link
Contributor

icing commented Nov 8, 2024

Without deeper knowledge, this looks like a signature is downloaded just fine, but fails to verify the already downloaded packages. What if the packages have been downloaded wrong?

There was #15511 in 8.11.0.

@bagder
Copy link
Member

bagder commented Nov 8, 2024

There was #15511 in 8.11.0.

... which very well might be exactly the problem based on this code snippet from flatpak:

https://github.com/flatpak/flatpak/blob/b730771bd793b34fb63fcbf292beed35476e5b92/common/flatpak-utils-http.c#L514-L526

@icing
Copy link
Contributor

icing commented Nov 8, 2024

Update: looking at the log, the downloaded .sig may have been broken due to its content-encoding: gzip and the #15511 bug.

@heirecka
Copy link
Author

heirecka commented Nov 8, 2024

That seems to be indeed the case. After adding 878bc42 to 8.11.0 flatpak update works fine again for me.
Thanks to all involved!

@meator
Copy link

meator commented Nov 8, 2024

I can also confirm that 878bc42 fixes the issue.

@bagder
Copy link
Member

bagder commented Nov 8, 2024

Duplicate of #15511

@bagder bagder marked this as a duplicate of #15511 Nov 8, 2024
@bagder bagder closed this as completed Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants