Error when trying to install rpmfusion repos in silverblue

sudo rpm-ostree install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

error: Preparing D-Bus arguments: Handling argument https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-37.noarch.rpm: error sending request for url (https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-37.noarch.rpm): operation timed out: operation timed out

wget https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-37.noarch.rpm

Resolving mirrors.rpmfusion.org (mirrors.rpmfusion.org)... 78.47.223.143, 158.69.60.128, 2a01:4f8:c0c:bed0::1, ...
Connecting to mirrors.rpmfusion.org (mirrors.rpmfusion.org)|78.47.223.143|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://mirrors.ustc.edu.cn/rpmfusion/free/fedora/rpmfusion-free-release-37.noarch.rpm [following]
--2023-02-21 06:04:44--  https://mirrors.ustc.edu.cn/rpmfusion/free/fedora/rpmfusion-free-release-37.noarch.rpm
Resolving mirrors.ustc.edu.cn (mirrors.ustc.edu.cn)... 202.141.176.110, 202.141.160.110, 2001:da8:d800:95::110
Connecting to mirrors.ustc.edu.cn (mirrors.ustc.edu.cn)|202.141.176.110|:443... failed: Connection timed out.
Connecting to mirrors.ustc.edu.cn (mirrors.ustc.edu.cn)|202.141.160.110|:443... failed: Connection timed out.
Connecting to mirrors.ustc.edu.cn (mirrors.ustc.edu.cn)|2001:da8:d800:95::110|:443... failed: Network is unreachable.

I think the error has something to do with mirrors.ustc.edu.cn. If so how do I fix this? My region is at SEA.

I wonder if your location results in the network banning your connection to that mirror due to regional restrictions.

You may try again and see if it will connect. If that still fails then try altering the command line.
A dig for mirrors.rpmfusion.org returns 2 different addresses.

;; ANSWER SECTION:
mirrors.rpmfusion.org.	30	IN	A	78.47.223.143
mirrors.rpmfusion.org.	30	IN	A	158.69.60.128

and you might be able to substitute the address in place of the hostname in that command line, trying first one address then if that fails the other one.

1 Like

Try replacing mirrors in the URL with download1. That will download from the main RPMFusion download server.

2 Likes