I tried a few more things, but have not yet been successful to get the
TemplateVMs to update via the proxy.
As Dom0 will update, and it is working through sys-firewall (the system
default for Dom0 UpdateVM), I tried changing sys-net to sys-firewall in
qubes.UpdatesProxy. The result was the same. I could not update
TemplateVMs. I reverted that change.
I removed my changes to TinyProxy in /etc/tinyproxy.conf from the
fedora-30 template. Instead I made the changes to the Upstream proxy in
sys-net in /rw/config/rc.local as per the document draft linked by
@awokd
~~~
echo "Upstream
10.0.0.1:8080" >>
/etc/tinyproxy/tinyproxy-updates.conf
~~~
Instead of timing out, I immediately got [Proxy CONNECT aborted] errors
from Fedora templates when attempting to update. When I switch this back
to:
~~~
echo "Upstream
10.0.0.1:8080" >> /etc/tinyproxy/tinyproxy.conf
~~~
the updates still fail to connect, but they take several minutes to time
out with [Operation timed out after 30000 milliseconds with 0 out of 0
bytes received]
As I can update via Dom0, I downloaded a fresh copy of Fedora 32.
$ sudo qubes-dom0-update qubes-template-fedora-32
When attempting to update fedora-32 TemplateVM I still get this (with
Upstream proxy set in tinyproxy-updates.conf):
---
[user@fedora-32 ~]$ sudo dnf update
Fedora 32 openh264 (From Cisco) - x86_64 0.0 B/s | 0 B
00:02
Errors during downloading metadata for repository
'fedora-cisco-openh264':
- Curl error (56): Failure when receiving data from the peer for
https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-32&arch=x86_64
[Proxy CONNECT aborted]
Error: Failed to download metadata for repo 'fedora-cisco-openh264':
Cannot prepare internal mirrorlist: Curl error (56): Failure when
receiving data from the peer for
https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-32&arch=x86_64
[Proxy CONNECT aborted]
Fedora Modular 32 - x86_64 0.0 B/s | 0 B
00:02
Errors during downloading metadata for repository 'fedora-modular':
- Curl error (56): Failure when receiving data from the peer for
https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64
[Proxy CONNECT aborted]
Error: Failed to download metadata for repo 'fedora-modular': Cannot
prepare internal mirrorlist: Curl error (56): Failure when receiving
data from the peer for
https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64
[Proxy CONNECT aborted]
---
Or this (with Upstream proxy set in tinyproxy.conf)
---
[user@fedora-32 ~]$ sudo dnf update
Fedora 32 openh264 (From Cisco) - x86_64 0.0 B/s | 0 B
06:00
Errors during downloading metadata for repository
'fedora-cisco-openh264':
- Curl error (28): Timeout was reached for
https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-32&arch=x86_64
[Operation timed out after 30000 milliseconds with 0 out of 0 bytes
received]
- Curl error (28): Timeout was reached for
https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-32&arch=x86_64
[Operation timed out after 30001 milliseconds with 0 out of 0 bytes
received]
Error: Failed to download metadata for repo 'fedora-cisco-openh264':
Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached
for
https://mirrors.fedoraproject.org/metalink?repo=fedora-cisco-openh264-32&arch=x86_64
[Operation timed out after 30001 milliseconds with 0 out of 0 bytes
received]
Fedora Modular 32 - x86_64 0.0 B/s | 0 B
06:00
Errors during downloading metadata for repository 'fedora-modular':
- Curl error (28): Timeout was reached for
https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64
[Operation timed out after 30001 milliseconds with 0 out of 0 bytes
received]
- Curl error (28): Timeout was reached for
https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64
[Operation timed out after 30000 milliseconds with 0 out of 0 bytes
received]
Error: Failed to download metadata for repo 'fedora-modular': Cannot
prepare internal mirrorlist: Curl error (28): Timeout was reached for
https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-32&arch=x86_64
[Operation timed out after 30000 milliseconds with 0 out of 0 bytes
received]
---
I hope this additional info might help to lead toward some more
suggestions...