[tor-bugs] #31130 [Applications/Tor Browser]: Use Debian 10 for our Android container images

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 4 19:09:18 UTC 2019


#31130: Use Debian 10 for our Android container images
--------------------------------------------+------------------------------
 Reporter:  gk                              |          Owner:  tbb-team
     Type:  defect                          |         Status:  needs_review
 Priority:  Medium                          |      Milestone:
Component:  Applications/Tor Browser        |        Version:
 Severity:  Normal                          |     Resolution:
 Keywords:  tbb-rbm, TorBrowserTeam201911R  |  Actual Points:
Parent ID:  #31127                          |         Points:  0.5
 Reviewer:                                  |        Sponsor:
--------------------------------------------+------------------------------

Comment (by boklm):

 Replying to [comment:25 sisbell]:
 > I have the latest.
 >
 > https://github.com/sisbell/tor-browser-
 build/commit/608f2c9623235f574518f9351c28ea4a8c833101
 >
 > This builds through firefox but fails with https-everywhere stage. I'll
 fix https-everywhere project to handle buster. I also still need to get
 the sha checks but thought I would put it out for review of what I have so
 I can go ahead and make any changes and to make sure this is the approach
 everyone agrees on.
 >
 > {{{
 >
 > Using directory /home/shane/github/tor-browser-4/out/firefox/firefox-
 e14b7b74e92c-android-armv7-b6443a
 > Building project https-everywhere - https-
 everywhere-2019.6.27-03f7dd.xpi
 > Tag 2019.6.27 is signed with key
 1073E74EB38BD6D19476CBF8EA9DBF9FB761A677
 > Created /home/shane/github/tor-browser-4/tmp/rbm-dEXsD/https-
 everywhere-2019.6.27.tar.gz
 > Building project container-image - container-image_stretch-
 amd64-4c35a5822622.tar.gz
 > Building project debootstrap-image - container-image_stretch-
 amd64-2.tar.gz
 > Using file /home/shane/github/tor-browser-4/out/debootstrap-image
 /container-image_ubuntu-base-19.10-base-amd64.tar.gz
 > Using file /home/shane/github/tor-browser-4/out/debootstrap-
 image/apt_1.6.6ubuntu0.1_amd64.deb
 > Using file /home/shane/github/tor-browser-4/out/debootstrap-image
 /libapt-pkg5.0_1.6.6ubuntu0.1_amd64.deb
 > Build log: /home/shane/github/tor-browser-4/logs/debootstrap-image.log
 > ----
 > Starting build: Mon Nov  4 06:41:08 2019
 > dpkg: warning: downgrading apt from 1.9.4 to 1.6.6ubuntu0.1
 > (Reading database ... 4098 files and directories currently installed.)
 > Preparing to unpack ./apt_1.6.6ubuntu0.1_amd64.deb ...
 > Unpacking apt (1.6.6ubuntu0.1) over (1.9.4) ...
 > Selecting previously unselected package libapt-pkg5.0:amd64.
 > Preparing to unpack .../libapt-pkg5.0_1.6.6ubuntu0.1_amd64.deb ...
 > Unpacking libapt-pkg5.0:amd64 (1.6.6ubuntu0.1) ...
 > dpkg: dependency problems prevent configuration of libapt-pkg5.0:amd64:
 >  dpkg (1.19.7ubuntu2) breaks libapt-pkg5.0 (<< 1.7~b) and is installed.
 >   Version of libapt-pkg5.0:amd64 to be configured is 1.6.6ubuntu0.1.
 >
 > dpkg: error processing package libapt-pkg5.0:amd64 (--install):
 >  dependency problems - leaving unconfigured
 > dpkg: dependency problems prevent configuration of apt:
 >  apt depends on libapt-pkg5.0 (>= 1.6.6ubuntu0.1); however:
 >   Package libapt-pkg5.0:amd64 is not configured yet.
 >
 > dpkg: error processing package apt (--install):
 >  dependency problems - leaving unconfigured
 > Processing triggers for libc-bin (2.30-0ubuntu2) ...
 > Errors were encountered while processing:
 >  libapt-pkg5.0:amd64
 >  apt
 >
 > }}}

 I think you get this error when building any debootstrap image that is not
 buster. In this case https-everywhere is using stretch.

 The issue is that in `projects/debootstrap-image/config` you are trying to
 install some downloaded apt packages, which doesn't work since those
 packages are for an Ubuntu release older than the one we now use. Since
 we're using Ubuntu 19.10 now, there is no need to install specific apt
 packages.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31130#comment:27>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list