Can't install Python3 in proot-distro Parrot OS 5.3 (Electro Ara)

I installed this version of Parrot as a proot-distro alias installation within my Termux Android system. I am having problems installing Python packages, some Python2 packages and all of Python3 packages.

First, is there a way I can uppgrade my proot-distro Parrot install to a more recent version?

In trying to install Python packages, I keep getting the errors, for example:

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:
 libpython2.7-stdlib : Depends: libsqlite3-0 (>= 3.5.9) but it is not installable
E: Unable to correct problems, you have held broken packages.
``'

and

```sh
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:
2to3 : Depends: python3-lib2to3 (>= 3.9.2-0~) but it is not installable
Depends: python3 (>= 3.9.2-3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

VERSION_ID=β€œ5.3”
VERSION=β€œ5.3 (Electro Ara)”
VERSION_CODENAME=ara


5.15.94-android13-8-27940245-abX910XXU1BWL1

It looks like python 2.7 does not have an package for arm64 packages. Currently 5.3 is the latest for arm packages that are not prebaked for UTM on apple. attempt sudo apt --fix-broken to attempt to fix the other error you have within the screenshot. then perform sudo apt install python3

I tried: sudo apt --fix-broken
But I got the following output:
E: Command line option --fix-broken is not understood in combination with the other options
Why isn’t it working?

try sudo apt autoremove then attempt again.

sudo apt --fix-broken install
sudo apt install libsqlite3-0

1 Like