If your internet provider has blocked the access to the repositories, you are probably out of luck. May i ask you in which country you are located, it’s interesting to hear that access to linux software repositories are blocked.
To verify if your provider has blocked access, please run the following command (simply copy/paste it into Terminal and press Enter):
OUT=~/ssl.txt
if [ -f ${OUT} ]; then rm ${OUT}; fi
flatpak remotes --columns=url | awk -F '/' '/https/ {print $3}' | sort | uniq | while read host
do
echo "Testing: ${host}"
openssl s_client -showcerts -connect ${host}:443 2>&1 </dev/null | tee -a ${OUT} | grep "Verify return code"
done
In case the connection is possible and nobody has tampered with the encryption this will output:
Testing: dl.flathub.org
Verify return code: 0 (ok)
Verify return code: 0 (ok)
Testing: ostree.endlessm.com
Verify return code: 0 (ok)
Verify return code: 0 (ok)
If you have another output, please upload the file ssl.txt
which has been generated in your home directory by the above command.