I have followed each instructions. Python3 is already installed. python-is-python3
is also installed. I even installed python2 and python-is-python2, but that gave the same error.
I also ran gclient sync and it executed completely.
----------------------------------------------------------------------------------------------------------------------------------------------
sudo build/install-build-deps-android.sh
Fetched 326 kB in 3s (109 kB/s)
Reading package lists... Done
Building apt package list.
Skipping debugging symbols.
Including 32-bit libraries.
Skipping ARM cross toolchain.
Skipping NaCl, NaCl toolchain, NaCl ports dependencies.
Finding missing packages...
Packages required: libpci3:i386 libx11-xcb1:i386 linux-libc-dev:i386 apache2-bin binutils binutils-aarch64-linux-gnu binutils-arm-linux-gnueabihf binutils-mips64el-linux-gnuabi64 binutils-mipsel-linux-gnu bison bzip2 cdbs curl dbus-x11 devscripts dpkg-dev elfutils fakeroot flex g++-10-multilib git-core gperf lib32gcc-s1 lib32stdc++6 libapache2-mod-php7.4 libappindicator3-1 libappindicator3-dev libasound2 libasound2-dev libatk1.0-0 libatspi2.0-0 libatspi2.0-dev libbluetooth-dev libbrlapi0.7 libbrlapi-dev libbz2-1.0 libbz2-dev libc6 libc6-dev libc6-i386 libcairo2 libcairo2-dev libcap2 libcap-dev libcups2 libcups2-dev libcurl4-gnutls-dev libdrm2 libdrm-dev libelf-dev libevdev2 libevdev-dev libexpat1 libffi-dev libfontconfig1 libfreetype6 libgbm1 libgbm-dev libglib2.0-0 libglib2.0-dev libglu1-mesa-dev libgtk-3-0 libgtk-3-dev libinput10 libinput-dev libjpeg-dev libkrb5-dev libnspr4 libnspr4-dev libnss3 libnss3-dev libpam0g libpam0g-dev libpango-1.0-0 libpci3 libpci-dev libpcre3 libpixman-1-0 libpng16-16 libpulse0 libpulse-dev libsctp-dev libspeechd2 libspeechd-dev libsqlite3-0 libsqlite3-dev libssl-dev libstdc++6 libudev1 libudev-dev libuuid1 libvulkan1 libvulkan-dev libwayland-egl1-mesa libwww-perl libx11-6 libx11-xcb1 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxkbcommon-dev libxrandr2 libxrender1 libxslt1-dev libxss-dev libxt-dev libxtst6 libxtst-dev locales openbox p7zip patch perl php7.4-cgi pkg-config python python-dev python-setuptools rpm ruby snapcraft subversion uuid-dev wdiff x11-utils xcompmgr xz-utils zip zlib1g
E: Unable to correct problems, you have held broken packages.
The following command failed: apt-get --just-print install libpci3:i386 libx11-xcb1:i386 linux-libc-dev:i386 apache2-bin binutils binutils-aarch64-linux-gnu binutils-arm-linux-gnueabihf binutils-mips64el-linux-gnuabi64 binutils-mipsel-linux-gnu bison bzip2 cdbs curl dbus-x11 devscripts dpkg-dev elfutils fakeroot flex g++-10-multilib git-core gperf lib32gcc-s1 lib32stdc++6 libapache2-mod-php7.4 libappindicator3-1 libappindicator3-dev libasound2 libasound2-dev libatk1.0-0 libatspi2.0-0 libatspi2.0-dev libbluetooth-dev libbrlapi0.7 libbrlapi-dev libbz2-1.0 libbz2-dev libc6 libc6-dev libc6-i386 libcairo2 libcairo2-dev libcap2 libcap-dev libcups2 libcups2-dev libcurl4-gnutls-dev libdrm2 libdrm-dev libelf-dev libevdev2 libevdev-dev libexpat1 libffi-dev libfontconfig1 libfreetype6 libgbm1 libgbm-dev libglib2.0-0 libglib2.0-dev libglu1-mesa-dev libgtk-3-0 libgtk-3-dev libinput10 libinput-dev libjpeg-dev libkrb5-dev libnspr4 libnspr4-dev libnss3 libnss3-dev libpam0g libpam0g-dev libpango-1.0-0 libpci3 libpci-dev libpcre3 libpixman-1-0 libpng16-16 libpulse0 libpulse-dev libsctp-dev libspeechd2 libspeechd-dev libsqlite3-0 libsqlite3-dev libssl-dev libstdc++6 libudev1 libudev-dev libuuid1 libvulkan1 libvulkan-dev libwayland-egl1-mesa libwww-perl libx11-6 libx11-xcb1 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxkbcommon-dev libxrandr2 libxrender1 libxslt1-dev libxss-dev libxt-dev libxtst6 libxtst-dev locales openbox p7zip patch perl php7.4-cgi pkg-config python python-dev python-setuptools rpm ruby snapcraft subversion uuid-dev wdiff x11-utils xcompmgr xz-utils zip zlib1g
It produced the following output:
Reading package lists...
Building dependency tree...
Reading state information...
binutils is already the newest version (2.35.1-1ubuntu1).
binutils set to manually installed.
bzip2 is already the newest version (1.0.8-4ubuntu2).
dbus-x11 is already the newest version (1.12.20-1ubuntu1).
dbus-x11 set to manually installed.
dpkg-dev is already the newest version (1.20.5ubuntu2).
dpkg-dev set to manually installed.
fakeroot is already the newest version (1.25.2-1).
fakeroot set to manually installed.
libappindicator3-1 is already the newest version (12.10.1+20.10.20200706.1-0ubuntu1).
libappindicator3-1 set to manually installed.
libatk1.0-0 is already the newest version (2.36.0-0ubuntu1).
libatk1.0-0 set to manually installed.
libatspi2.0-0 is already the newest version (2.38.0-2).
libatspi2.0-0 set to manually installed.
libbrlapi0.7 is already the newest version (6.0+dfsg-4ubuntu7).
libbrlapi0.7 set to manually installed.
libbz2-1.0 is already the newest version (1.0.8-4ubuntu2).
libbz2-dev is already the newest version (1.0.8-4ubuntu2).
libc6 is already the newest version (2.32-0ubuntu3).
libc6-dev is already the newest version (2.32-0ubuntu3).
libcairo2 is already the newest version (1.16.0-4ubuntu1).
libcairo2 set to manually installed.
libcap2 is already the newest version (1:2.43-1).
libcups2 is already the newest version (2.3.3-3ubuntu1).
libcups2 set to manually installed.
libdrm2 is already the newest version (2.4.102-1ubuntu1).
libdrm2 set to manually installed.
libexpat1 is already the newest version (2.2.9-1build1).
libffi-dev is already the newest version (3.4~20200819gead65ca871-0ubuntu3).
libffi-dev set to manually installed.
libfontconfig1 is already the newest version (2.13.1-2ubuntu3).
libfontconfig1 set to manually installed.
libgtk-3-0 is already the newest version (3.24.23-1ubuntu1).
libgtk-3-0 set to manually installed.
libnspr4 is already the newest version (2:4.27-1).
libnspr4 set to manually installed.
libnss3 is already the newest version (2:3.55-1ubuntu3).
libnss3 set to manually installed.
libpam0g is already the newest version (1.3.1-5ubuntu6).
libpango-1.0-0 is already the newest version (1.46.2-1).
libpango-1.0-0 set to manually installed.
libpci3 is already the newest version (1:3.7.0-2).
libpci3 set to manually installed.
libpcre3 is already the newest version (2:8.39-13).
libpixman-1-0 is already the newest version (0.38.4-0ubuntu1).
libpixman-1-0 set to manually installed.
libpng16-16 is already the newest version (1.6.37-3).
libpng16-16 set to manually installed.
libspeechd2 is already the newest version (0.10.1-2).
libspeechd2 set to manually installed.
libstdc++6 is already the newest version (10.2.0-13ubuntu1).
libuuid1 is already the newest version (2.36-3ubuntu1).
libvulkan1 is already the newest version (1.2.141.0-1).
libvulkan1 set to manually installed.
libwww-perl is already the newest version (6.47-1).
libwww-perl set to manually installed.
libx11-6 is already the newest version (2:1.6.12-1).
libx11-6 set to manually installed.
libx11-xcb1 is already the newest version (2:1.6.12-1).
libx11-xcb1 set to manually installed.
libxau6 is already the newest version (1:1.0.9-0ubuntu1).
libxau6 set to manually installed.
libxcb1 is already the newest version (1.14-2).
libxcb1 set to manually installed.
libxcomposite1 is already the newest version (1:0.4.5-1).
libxcomposite1 set to manually installed.
libxcursor1 is already the newest version (1:1.2.0-2).
libxcursor1 set to manually installed.
libxdamage1 is already the newest version (1:1.1.5-2).
libxdamage1 set to manually installed.
libxdmcp6 is already the newest version (1:1.1.3-0ubuntu1).
libxdmcp6 set to manually installed.
libxext6 is already the newest version (2:1.3.4-0ubuntu1).
libxext6 set to manually installed.
libxfixes3 is already the newest version (1:5.0.3-2).
libxfixes3 set to manually installed.
libxi6 is already the newest version (2:1.7.10-1).
libxi6 set to manually installed.
libxinerama1 is already the newest version (2:1.1.4-2).
libxinerama1 set to manually installed.
libxrandr2 is already the newest version (2:1.5.2-0ubuntu1).
libxrandr2 set to manually installed.
libxrender1 is already the newest version (1:0.9.10-1).
libxrender1 set to manually installed.
libxss-dev is already the newest version (1:1.2.3-1).
libxss-dev set to manually installed.
libxt-dev is already the newest version (1:1.2.0-1).
libxt-dev set to manually installed.
libxtst6 is already the newest version (2:1.2.3-1).
libxtst6 set to manually installed.
locales is already the newest version (2.32-0ubuntu3).
patch is already the newest version (2.7.6-6).
patch set to manually installed.
perl is already the newest version (5.30.3-4).
perl set to manually installed.
pkg-config is already the newest version (0.29.2-1ubuntu1).
pkg-config set to manually installed.
uuid-dev is already the newest version (2.36-3ubuntu1).
uuid-dev set to manually installed.
x11-utils is already the newest version (7.7+5).
x11-utils set to manually installed.
xz-utils is already the newest version (5.2.4-1ubuntu1).
zip is already the newest version (3.0-11build1).
zip set to manually installed.
zlib1g is already the newest version (1:1.2.11.dfsg-2ubuntu4).
libx11-xcb1:i386 is already the newest version (2:1.6.12-1).
libx11-xcb1:i386 set to manually installed.
curl is already the newest version (7.68.0-1ubuntu4.3).
curl set to manually installed.
git is already the newest version (1:2.27.0-1ubuntu1.1).
libfreetype6 is already the newest version (2.10.2+dfsg-3ubuntu1).
libfreetype6 set to manually installed.
libglib2.0-0 is already the newest version (2.66.1-2ubuntu0.2).
libglib2.0-dev is already the newest version (2.66.1-2ubuntu0.2).
libglib2.0-dev set to manually installed.
libsqlite3-0 is already the newest version (3.33.0-1ubuntu0.1).
libsqlite3-dev is already the newest version (3.33.0-1ubuntu0.1).
libssl-dev is already the newest version (1.1.1f-1ubuntu4.3).
libasound2 is already the newest version (1.2.3.2-1ubuntu3.1).
libasound2 set to manually installed.
libevdev2 is already the newest version (1.9.1+dfsg-1ubuntu0.1).
libevdev2 set to manually installed.
libinput10 is already the newest version (1.16.2-1ubuntu0.1).
libinput10 set to manually installed.
libpulse0 is already the newest version (1:13.99.2-1ubuntu2.3).
libpulse0 set to manually installed.
libgbm1 is already the newest version (21.0.0-1pop0~1616205663~20.10~73b50a1).
libgbm1 set to manually installed.
libudev1 is already the newest version (246.6-1ubuntu1.3pop0~1617377719~20.10~ce920ac).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libc6-dev : Depends: linux-libc-dev but it is not installable
python-is-python2 : Breaks: python
You will have to install the above packages yourself.