TransWikia.com

Solving the package dependency list automatically for building ubuntu touch

Ask Ubuntu Asked by user1725216 on January 26, 2021

I’m following the guide in XDA Link to install nexus 9 device with Ubuntu touch. But I’m stuck in the installation of tool-chain and cross compiler. I am stuck in the following

 sudo apt-get install gcc g++ git gcc-4.9-aarch64-linux-gnu g++-4.9-aarch64-linux-gnu libncurses5-dev

Throws error:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'gcc-4.9-aarch64-linux-gnu-base' for regex 'gcc-4.9-    aarch64-linux-gnu'
E: Unable to locate package g++-4.9-aarch64-linux-gnu
E: Couldn't find any package by regex 'g++-4.9-aarch64-linux-gnu'

So, I am downloading the required packages and installing manually using dpkg
Is there any shortcut for this?

I tried using gdebi. But did not help much.

I am using ubuntu 14.04-64 as host machine.

One Answer

change the command with this one:

sudo apt-get install gcc g++ git gcc-*-aarch64-linux-gnu g++-*-aarch64-linux-gnu libncurses5-dev

On your system you don't have gcc-4.9-aarch64-linux-gnu. The above command will install the last actual version on your system

Correct answer by AlexGreg on January 26, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP