Flatpak failed in updating freedesktop packages for months now

Hello everyone!

I’m new here and using Manjaro for quite some time now.

I’m having trouble while trying to update nvidia packages (550-xxx) of freedesktop flatpak packages. My system shows up 12 freedesktop updates for quite some time.
Whenever I try to update them using Manjaro’s GUI for that, it tells me that it couldn’t connect to the server.

I then tried to update it within the shell by running “flatpak update” (as user)
It showed up those 12 updates, asking me whether I want to update. Confirming that the update ends up again with getting fetching errors (Could not connect to server)

I copied one of those links and it seems to me, that the updater tries to fetch the link which includes a trailing colon. Without that colon it downloads well.

e.g.: https://us.download.nvidia.com/XFree86/Linux-x86_64/550.90.07/NVIDIA-Linux-x86_64-550.90.07.run:

Right now I don’t know how to continue.

flatpak update
flatpak update --system
flatpak upgrade

are all just showing up the freedesktop updates

Any help is appreciated :slight_smile:

Cheers
Alf

Please test the connection:

curl -v -I https://us.download.nvidia.com/XFree86/Linux-x86_64/550.90.07/NVIDIA-Linux-x86_64-550.90.07.run -o /dev/null

Share the output please as text.

2 Likes

What did it tell you? Exactly.

Have you tried updating your list of mirrors?
(although this should not affect flatpaks)

copy/paste is easy - just format the output as “preformatted text”
(</> in the top row of the edit window here)
Let us see what you see.
No screenshots, please!

1 Like
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Host us.download.nvidia.com:443 was resolved.
* IPv6: ::
* IPv4: 0.0.0.0
*   Trying [::]:443...
* connect to :: port 443 from ::1 port 40826 failed: Verbindungsaufbau abgelehnt
*   Trying 0.0.0.0:443...
* connect to 0.0.0.0 port 443 from 127.0.0.1 port 35534 failed: Verbindungsaufbau abgelehnt
* Failed to connect to us.download.nvidia.com port 443 after 3 ms: Could not connect to server
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* closing connection #0
curl: (7) Failed to connect to us.download.nvidia.com port 443 after 3 ms: Could not connect to server

I’m wondering about those errors. When copyying the exactly same link without that trailing colon in firefox it downloads well. Please see next post for those links I’m talking about.

The output of flatpak update is as following:

flatpak update
Suche nach Aktualisierungen …


        KENNUNG                                                      Zweig              Op             Gegenstelle             Herunterladen
 1. [✗] org.freedesktop.Platform.GL.nvidia-550-135                   1.4                u              flathub                 1,0 KB / 308,4 MB
 2. [✗] org.freedesktop.Platform.GL.nvidia-550-144-03                1.4                i              flathub                 1,0 KB / 308,4 MB
 3. [✗] org.freedesktop.Platform.GL32.nvidia-545-29-06               1.4                u              flathub                 1,0 KB / 325,8 MB
 4. [✗] org.freedesktop.Platform.GL32.nvidia-550-100                 1.4                u              flathub                 1,0 KB / 308,1 MB
 5. [✗] org.freedesktop.Platform.GL32.nvidia-550-107-02              1.4                u              flathub                 1,0 KB / 308,3 MB
 6. [✗] org.freedesktop.Platform.GL32.nvidia-550-120                 1.4                u              flathub                 1,0 KB / 308,2 MB
 7. [✗] org.freedesktop.Platform.GL32.nvidia-550-135                 1.4                u              flathub                 1,0 KB / 308,4 MB
 8. [✗] org.freedesktop.Platform.GL32.nvidia-550-144-03              1.4                i              flathub                 1,0 KB / 308,4 MB
 9. [✗] org.freedesktop.Platform.GL32.nvidia-550-54-14               1.4                u              flathub                 1,0 KB / 307,9 MB
10. [✗] org.freedesktop.Platform.GL32.nvidia-550-67                  1.4                u              flathub                 1,0 KB / 307,8 MB
11. [✗] org.freedesktop.Platform.GL32.nvidia-550-78                  1.4                u              flathub                 1,0 KB / 308,0 MB
12. [✗] org.freedesktop.Platform.GL32.nvidia-550-90-07               1.4                u              flathub                 1,0 KB / 308,7 MB

Warning: Während des Herunterladens von https://us.download.nvidia.com/XFree86/Linux-x86_64/550.135/NVIDIA-Linux-x86_64-550.135.run: While fetching https://us.download.nvidia.com/XFree86/Linux-x86_64/550.135/NVIDIA-Linux-x86_64-550.135.run: [7] Could not connect to server
Warning: Während des Herunterladens von https://us.download.nvidia.com/XFree86/Linux-x86_64/550.144.03/NVIDIA-Linux-x86_64-550.144.03.run: While fetching https://us.download.nvidia.com/XFree86/Linux-x86_64/550.144.03/NVIDIA-Linux-x86_64-550.144.03.run: [7] Could not connect to server
Warning: Während des Herunterladens von https://us.download.nvidia.com/XFree86/Linux-x86_64/545.29.06/NVIDIA-Linux-x86_64-545.29.06.run: While fetching https://us.download.nvidia.com/XFree86/Linux-x86_64/545.29.06/NVIDIA-Linux-x86_64-545.29.06.run: [7] Could not connect to server
Warning: Während des Herunterladens von https://us.download.nvidia.com/XFree86/Linux-x86_64/550.100/NVIDIA-Linux-x86_64-550.100.run: While fetching https://us.download.nvidia.com/XFree86/Linux-x86_64/550.100/NVIDIA-Linux-x86_64-550.100.run: [7] Could not connect to server
Warning: Während des Herunterladens von https://us.download.nvidia.com/XFree86/Linux-x86_64/550.107.02/NVIDIA-Linux-x86_64-550.107.02.run: While fetching https://us.download.nvidia.com/XFree86/Linux-x86_64/550.107.02/NVIDIA-Linux-x86_64-550.107.02.run: [7] Could not connect to server
Warning: Während des Herunterladens von https://us.download.nvidia.com/XFree86/Linux-x86_64/550.120/NVIDIA-Linux-x86_64-550.120.run: While fetching https://us.download.nvidia.com/XFree86/Linux-x86_64/550.120/NVIDIA-Linux-x86_64-550.120.run: [7] Could not connect to server
Warning: Während des Herunterladens von https://us.download.nvidia.com/XFree86/Linux-x86_64/550.135/NVIDIA-Linux-x86_64-550.135.run: While fetching https://us.download.nvidia.com/XFree86/Linux-x86_64/550.135/NVIDIA-Linux-x86_64-550.135.run: [7] Could not connect to server
Warning: Während des Herunterladens von https://us.download.nvidia.com/XFree86/Linux-x86_64/550.144.03/NVIDIA-Linux-x86_64-550.144.03.run: While fetching https://us.download.nvidia.com/XFree86/Linux-x86_64/550.144.03/NVIDIA-Linux-x86_64-550.144.03.run: [7] Could not connect to server
Warning: Während des Herunterladens von https://us.download.nvidia.com/XFree86/Linux-x86_64/550.54.14/NVIDIA-Linux-x86_64-550.54.14.run: While fetching https://us.download.nvidia.com/XFree86/Linux-x86_64/550.54.14/NVIDIA-Linux-x86_64-550.54.14.run: [7] Could not connect to server
Warning: Während des Herunterladens von https://us.download.nvidia.com/XFree86/Linux-x86_64/550.67/NVIDIA-Linux-x86_64-550.67.run: While fetching https://us.download.nvidia.com/XFree86/Linux-x86_64/550.67/NVIDIA-Linux-x86_64-550.67.run: [7] Could not connect to server
Warning: Während des Herunterladens von https://us.download.nvidia.com/XFree86/Linux-x86_64/550.78/NVIDIA-Linux-x86_64-550.78.run: While fetching https://us.download.nvidia.com/XFree86/Linux-x86_64/550.78/NVIDIA-Linux-x86_64-550.78.run: [7] Could not connect to server
Warning: Während des Herunterladens von https://us.download.nvidia.com/XFree86/Linux-x86_64/550.90.07/NVIDIA-Linux-x86_64-550.90.07.run: While fetching https://us.download.nvidia.com/XFree86/Linux-x86_64/550.90.07/NVIDIA-Linux-x86_64-550.90.07.run: [7] Could not connect to server
Änderungen abgeschlossen.

Since I’m german the output is partly also german…

These are quite a lot of what looks like pretty much the same - only different versions.
You really need all of these?
Or are these just old versions - no longer available, perhaps?

… just a side note (I’m german, too):
prepend the command with:
LC_ALL=C
like so:
LC_ALL=C flatpak update
and the output will be all english.

But I think everyone get’s the meaning here:

Could not connect to server

for each one


That will be all I can contribute - I have zero experience with flatpaks and pamac.
… and Nvidia …

1 Like

Seems to be a problem with your DNS. Curl cannot resolve the IP from the Domain.

Check:

cat /etc/resolv.conf 

Do you use a DNS Cache? A Proxy? A VPN?

Firefox can use its own DNS-Server.

That works for me:

$ curl -v -I https://us.download.nvidia.com/XFree86/Linux-x86_64/550.90.07/NVIDIA-Linux-x86_64-550.90.07.run -o /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Host us.download.nvidia.com:443 was resolved.
* IPv6: (none)
* IPv4: 2.16.27.207, 2.16.27.198
*   Trying 2.16.27.207:443...
* ALPN: curl offers h2,http/1.1
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [29 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [4387 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [79 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / x25519 / id-ecPublicKey
* ALPN: server accepted h2
* Server certificate:
*  subject: C=US; ST=California; L=Santa Clara; O=NVIDIA Corporation; CN=it.nvidia.com
*  start date: Dec  2 00:00:00 2024 GMT
*  expire date: Dec  2 23:59:59 2025 GMT
*  subjectAltName: host "us.download.nvidia.com" matched cert's "*.download.nvidia.com"
*  issuer: C=US; O=DigiCert Inc; CN=DigiCert TLS RSA SHA256 2020 CA1
*  SSL certificate verify ok.
*   Certificate level 0: Public key type EC/prime256v1 (256/128 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 sha1WithRSAEncryption
* Connected to us.download.nvidia.com (2.16.27.207) port 443
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://us.download.nvidia.com/XFree86/Linux-x86_64/550.90.07/NVIDIA-Linux-x86_64-550.90.07.run
* [HTTP/2] [1] [:method: HEAD]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: us.download.nvidia.com]
* [HTTP/2] [1] [:path: /XFree86/Linux-x86_64/550.90.07/NVIDIA-Linux-x86_64-550.90.07.run]
* [HTTP/2] [1] [user-agent: curl/8.11.1]
* [HTTP/2] [1] [accept: */*]
} [5 bytes data]
> HEAD /XFree86/Linux-x86_64/550.90.07/NVIDIA-Linux-x86_64-550.90.07.run HTTP/2
> Host: us.download.nvidia.com
> User-Agent: curl/8.11.1
> Accept: */*
> 
* Request completely sent off
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [265 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [265 bytes data]
< HTTP/2 200 
< accept-ranges: bytes
< content-length: 307583808
< etag: "fa8d3ff7dd40cc67ea448f0a2227942c:1731229628.299682"
< last-modified: Fri, 31 May 2024 19:45:11 GMT
< server: AkamaiNetStorage
< cache-control: max-age=86400
< expires: Wed, 29 Jan 2025 19:34:29 GMT
< date: Tue, 28 Jan 2025 19:34:29 GMT
< content-disposition: attachment
< content-type: application/octet-stream
< x-cache-status: Miss from child, Miss from parent
< x-cdn-version: v15
< x-cdn: akam
< 
} [5 bytes data]
  0  293M    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host us.download.nvidia.com left intact
3 Likes

Thanks for answering that quick. I appreciate that very much.

I can tell that I never installed any of those packages manually. They came together with other flatpack packages I installed.

Neither I know where that colon is coming from not I do know if it’s trying to fetch the packages including those colons.

But the links do work when removing the colons.

Thanks for the tip how to change the output to English.

Cheers, Alf

Maybe intentionally filtered, but yes, I was thinking that.

I could do with fixing this keyboard!

1 Like

Pssst.
Related, maybe useful …

bash <(curl -s https://gitlab.com/cscs/dnsdig/-/raw/main/dnsdig)
2 Likes

I’m using Adguard. Maybe that’s the point…

Kids need to get to bed, I will answer later.
Thanks already now for helping :slight_smile:

That is just the error message - telling you what went wrong.
It’s not some syntax error like you suspect.

Much rather DNS, like others said.

I’d make sure to eliminate that possible cause first by turning it (temporarily) off.

As far as I could see from a cursory look at it:
it operates on the DNS level - blocking certain domains …

Quote:

It operates as a DNS server that re-routes tracking domains to a “black hole”, thus preventing your devices from connecting to those servers. It’s based on software we use for our public AdGuard DNS servers, and both share a lot of code.

GitHub - AdguardTeam/AdGuardHome: Network-wide ads & trackers blocking DNS server

I’d say: Bingo

(ich lehne mich mal etwas weiter aus dem Fenster und sage, daß das der Grund ist
da ja ansonsten scheinbar alles “funktioniert”)

2 Likes

That was it! Woohoo! After deactivating Adguard it does what it should!
I fooled myself by double checking only with firefox.

I would have bet anything on checking already whilest having Adguard disabled. I was wrong.

Thanks all. That was really quick!

Have a nice evening everyone. :slight_smile:

1 Like