-
-
Notifications
You must be signed in to change notification settings - Fork 89
chromium in udroid
Zman-1x1 edited this page Dec 1, 2021
·
1 revision
You can use Chromium from the Debian buster repository. For example, if your Ubuntu release is Eoan (19.10):
Remove Ubuntu chromium packages:
sudo apt remove chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg-extra
Add Debian "buster" repository. Create a file /etc/apt/sources.list.d/debian.list
with the following content:
deb http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian buster-updates main
deb http://deb.debian.org/debian-security buster/updates main
Add the Debian signing keys:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DCC9EFBF77E11517
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA8E81B4331F7F50
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 112695A0E562B32A
Configure apt pinning. Create a file /etc/apt/preferences.d/chromium.pref
with the following content:
# Note: 2 blank lines are required between entries
Package: *
Pin: release a=eoan
Pin-Priority: 500
Package: *
Pin: origin "deb.debian.org"
Pin-Priority: 300
# Pattern includes 'chromium', 'chromium-browser' and similarly
# named dependencies:
Package: chromium*
Pin: origin "deb.debian.org"
Pin-Priority: 700
Install Chromium again
sudo apt update
sudo apt install chromium
This should install the latest chromium from the debian-security
repository and look like this:
$ sudo apt install chromium
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
chromium-common chromium-sandbox libjpeg62-turbo libminizip1 libre2-5
Suggested packages:
chromium-l10n chromium-shell chromium-driver
The following NEW packages will be installed:
chromium chromium-common chromium-sandbox libjpeg62-turbo libminizip1 libre2-5
0 upgraded, 6 newly installed, 0 to remove and 9 not upgraded.
Need to get 56,6 MB of archives.
After this operation, 202 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://de.archive.ubuntu.com/ubuntu eoan/universe amd64 libminizip1 amd64 1.1-8build1 [20,2 kB]
Get:2 http://ftp.de.debian.org/debian buster/main amd64 libjpeg62-turbo amd64 1:1.5.2-2+b1 [134 kB]
Get:3 http://de.archive.ubuntu.com/ubuntu eoan/universe amd64 libre2-5 amd64 20190801+dfsg-1 [162 kB]
Get:4 http://ftp.de.debian.org/debian-security buster/updates/main amd64 chromium-common amd64 79.0.3945.130-1~deb10u1 [257 kB]
Get:5 http://ftp.de.debian.org/debian-security buster/updates/main amd64 chromium amd64 79.0.3945.130-1~deb10u1 [55,9 MB]
Get:6 http://ftp.de.debian.org/debian-security buster/updates/main amd64 chromium-sandbox amd64 79.0.3945.130-1~deb10u1 [141 kB]
.....
As you can see, only Chromium related packages are fetched from the Debian repository, but all others like libminizip1 still come from your Ubuntu repository.
Yy