Information
ID: 710
PHID: PHID-TASK-espagekcugavsefirmzk
Author: marmarek
Status at Migration Time: resolved
Priority at Migration Time: High
Description
Build of Whonix templates for upcoming Qubes 4.0 fails on downloading torbrowser. And interestingly, this applies also to Qubes 3.2 templates, which previously worked fine. So, probably it isn’t related to 3.2/4.0 difference at all.
Full build logs:
https://travis-ci.org/marmarek/qubes-template-whonix/builds/258845862
Specific message:
https://dist.torproject.org/torbrowser could not be reached.
Possible reasons:
- https://dist.torproject.org/torbrowser is down
- download location changed
Please check: Start menu -> System -> Whonix Check
or in Terminal: whonixcheck
or in Terminal with debugging: whonixcheck -v
If whonixcheck reports no problems with internet activity and downloading Tor Browser keeps failing, please report a bug!
(Debugging information: curl_status_message: [6] - [Couldn't resolve host. The given remote host was not resolved.])
Comments
Patrick
2017-07-29 15:40:39 UTC
The build was done using jessie-proposed-updates
, which is still at tbb_hardcoded_version="7.0.0"
, that download version was removed from torproject’s download server. tbb_hardcoded_version
wasn’t updated to prevent more breakage due unresolved T671.
marmarek
2017-07-29 22:20:09 UTC
Patrick
2017-07-31 10:50:07 UTC
SimonSelg
2020-12-09 16:05:01 UTC
Patrick
2017-08-06 20:54:08 UTC
True.
tb-updater should not be installed on Whonix-Gateway anyhow. That’s
strange. That’s the root cause to be fixed.
Thanks for looking into it! Development help very much needed at this
point. Please keep digging.
SimonSelg
2017-08-08 23:46:24 UTC
marmarek
2017-08-08 23:42:51 UTC
SimonSelg
2020-12-09 16:05:38 UTC
marmarek
2017-08-08 23:56:25 UTC
SimonSelg
2020-12-09 16:05:26 UTC
marmarek
2017-08-09 00:07:54 UTC
SimonSelg
2017-08-09 00:12:39 UTC
In whonix-ws the package is called anon-ws-dns-conf . Yes I’m sure about that. The build log explicitly says “Couldn’t resolve host”.
Also, if you watch the build log you can see that in both whonix-gw and whonix-ws tb-updater and anon-{ws|gw}-dns-conf gets installed at the same time.
I verified that by stopping the build process, chrooting into the image and tested it there myself.
I’ll start a new build and verify it again tho.
marmarek
2017-08-09 00:23:45 UTC
In above linked travis job, workstation build (17.6) fails with:
(Debugging information: curl_status_message: [22] - [HTTP page not retrieved. The requested url was not found or returned another error with the HTTP error code being 400 or above. This return code only appears if -f, --fail is used.])
Probably package installation order is non-deterministic here…
marmarek
2017-08-09 00:28:31 UTC
SimonSelg
2020-12-09 16:04:32 UTC
Patrick
2017-08-09 07:54:19 UTC
marmarek
2017-08-10 11:16:51 UTC
Patrick
2017-08-24 15:17:43 UTC
marmarek
2017-08-25 23:38:36 UTC
marmarek
2017-10-07 13:39:44 UTC
Patrick
2017-10-07 23:12:50 UTC
marmarek (Marek Marczykowski-Górecki):
marmarek added a comment.
The problem is back again, 7.0.4 is no longer available at Index of /torbrowser
What is the easiest/elegant way to choose different version, without modifying tb-updater package? Some env variable? Some config file? I don’t consider https://github.com/SimonSelg/qubes-template-whonix/blob/SimonSelg-fix-tb-updater/whonix-gateway/04_install_qubes_post.sh#L65-L79 elegant…
Agreed.
tb-updater (update-torbrowser script) as is should already support
environment variables for example tbb_hardcoded_version="7.0.6"
.
So
export tbb_hardcoded_version="7.0.6"
should do. Long time untested. Might have worked when Qubes-Whonix was
new if I remember right. Could you try that please?
The question is if that environment variable flows down from
qubes-template-whonix through sudo (?), through apt-get, through
tb-updater’s debian/postinst to the actual update-torbrowser script?
marmarek
2017-10-08 08:56:32 UTC
Patrick
2017-10-08 09:52:22 UTC
Just setting tbb_version
or tbb_hardcoded_version
variable isn’t enough, because it isn’t propagated through all the layers to postinst of tb-updater.
That’s unfortunate. I wonder why that is.
(Yes, tbb_version
already set works and then tbb_hardcoded_version
is ignored.)