cancel
Showing results for 
Search instead for 
Did you mean: 

PC Prerequisite Issues using Ubuntu 20.04

toddz
Associate

I am installing all of the prerequisites and have some issues. This is on Windows 10 running VirtualBox with a Linux environment running Ubuntu 20.04.1 LTS. Everything seems relatively smooth but some of the apt-get commands don't seem to work, specifically:

sudo apt-get update

OK

sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping

OK

sudo apt-get install libsdl1.2-dev xterm

OK

sudo apt-get install make xsltproc docbook-utils fop dblatex xmlto

OK

sudo apt-get install python-git

Reading package lists... Done

Building dependency tree    

Reading state information... Done

Package python-git is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

However the following packages replace it:

 python-git-doc

E: Package 'python-git' has no installation candidate

udo apt-get install ncurses-dev libncurses5-dev libncursesw5-dev lib32ncurses5 libssl-dev linux-headers-generic u-boot-tools device-tree-compiler bison flex g++ libyaml-dev

Reading package lists... Done

Building dependency tree    

Reading state information... Done

Note, selecting 'libncurses-dev' instead of 'ncurses-dev'

E: Unable to locate package lib32ncurses5

sudo apt-get install repo

Reading package lists... Done

Building dependency tree    

Reading state information... Done

E: Unable to locate package repo

sudo apt-get install coreutils bsdmainutils sed curl bc lrzsz corkscrew cvs subversion mercurial nfs-common nfs-kernel-server libarchive-zip-perl dos2unix texi2html diffstat libxml2-utils

OK

sudo apt-get install default-jre

OK - but already installed

Any ideas?

Thanks,

Todd

3 REPLIES 3
Olivier GALLIEN
ST Employee

Hi @toddz​ ,

You are right, PCPrerequisite are still 16.04LTS compatible.

A new version 20.04 compatible is closed to be released.

E: Package 'python-git' has no installation candidate

-> To be replaced by python3-git

E: Unable to locate package lib32ncurses5

-> no more needed

E: Unable to locate package repo

No more package. Follow instruction @ this link

-> https://source.android.com/setup/develop#installing-repo

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Machilus
Associate III

Hi TZagu.1 (Community Member) 

sudo apt-get update

sudo apt-get install sed wget curl cvs subversion git coreutils unzip texi2html texinfo docbook-utils gawk python-pysqlite2 diffstat help2man make gcc build-essential g++ desktop-file-utils chrpath libxml2-utils xmlto docbook bsdmainutils iputils-ping cpio pypy-wand python-pycryptopp python-crypto

sudo apt-get install libsdl1.2-dev xterm corkscrew nfs-common nfs-kernel-server device-tree-compiler mercurial u-boot-tools libarchive-zip-perl

sudo apt-get install libncurses-dev bc linux-headers-generic gcc-multilib libncurses5-dev libncursesw5-dev lrzsz dos2unix lib32ncurses5-dev libssl-dev libyaml-dev

sudo apt-get install default-jre

Just install "git-repo" manually.

Thanks and regards

Machilus

Hi TZagu.1 (Community Member)

I'm sorry. I didn't know if the st wiki page was changed to "Eco system V2.1.0".

Please ignore the above information as it does not correspond to "Eco system V2.1.0".

Machilus