Ubuntu 12.04 64bit problema de download de código-fonte Android

0

Estou com a máquina AMD Athlon com o SO Ubuntu 12.04 (64bit OS) instalado. Eu preciso baixar o código-fonte para o Android para o qual eu preciso seguir o número de etapas, conforme mostrado no link. link

Enquanto isso eu preciso executar o comando como

sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386

então, de uma só vez, esse comando falha de alguma forma. então eu tinha quebrado e tentei instalar. Ainda estou enfrentando problema quando executo o seguinte comando:

sudo apt-get install build-essential libc6-dev libncurses5-dev:i386 libreadline6-dev:i386 g++-multilib zlib1g-dev:i386 libxext-dev:i386

o log que é impresso no terminal é como abaixo:

> Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package build-essential 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

Package libc6-dev 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:
  linux-libc-dev:i386 libc-dev-bin

Package libncurses5-dev 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:
  libtinfo-dev

E: Package 'build-essential' has no installation candidate
E: Package 'libc6-dev' has no installation candidate
E: Package 'libncurses5-dev' has no installation candidate
E: Unable to locate package g++-multilib
E: Couldn't find any package by regex 'g++-multilib'
E: Unable to locate package zlib1g-dev

Por favor, ajude. Como eu resolvo isso?

    
por Android_Rocks 21.12.2012 / 07:37

2 respostas

0

Executar:

sudo apt-get update

Isso atualizará seus repositórios e poderá resolver seu problema.

    
por Keermalec 02.04.2013 / 01:29
-1

Execute o seguinte comando:

sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev lib64ncurses5-dev \
x11proto-core-dev libx11-dev lib64readline5-dev lib64z-dev \
libgl1-mesa-dev g++-multilib tofrodos
    
por ankit prajapati 24.01.2013 / 10:54