"sudo apt-get install ia32-libs git gnupg flex bison gperf build-essential zip" execution failure

141 views
Skip to first unread message

Explore India

unread,
Mar 21, 2018, 10:05:35 AM3/21/18
to Android Building
Hi,

I am right now trying to install all the required toolchain for building the android for the cubie board. But unfortunately, I am getting the error message given below after execution of the command "apt-get install ia32-libs git gnupg flex bison gperf build-essential zip"

COMMAND 
=========
"apt-get install ia32-libs git gnupg flex bison gperf build-essential zip" 

ERROR MESSAGE
================
ip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ia32-libs 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:
  lib32ncurses5 lib32z1

E: Package 'ia32-libs' has no installation candidate


Note : I tried with the "lib32ncurses5" and "lib32z1" instead of "ia32-libs" as per the error message.But still, I am getting the failure response.As in this process during the download process of Java 6 I am getting the error as per below. 

COMMAND 
=========
apt-get install lib32z1 git gnupg flex bison gperf build-essential zip
                                        or 
apt-get install lib32ncurses5 git gnupg flex bison gperf build-essential zip

ERROR MESSAGE
===============
Downloading Oracle Java 6...
Resolving download.oracle.com (download.oracle.com)... 23.56.176.183
Connecting to download.oracle.com (download.oracle.com)|23.56.176.183|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Resolving edelivery.oracle.com (edelivery.oracle.com)... 184.50.117.49, 2405:200:1630:481::2d3e, 2405:200:1630:497::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|184.50.117.49|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Connecting to download.oracle.com (download.oracle.com)|23.56.176.183|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-21 13:02:19 ERROR 404: Not Found.

download failed
Oracle JDK 6 is NOT installed.
dpkg: error processing package oracle-java6-installer (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up lib32z1 (1:1.2.8.dfsg-2ubuntu4.1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
 oracle-java6-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)




My Observation
----------------------
I am thinking that " oracle-java6-installer" is obsolete now.So the support and dependency are not able to download.



What should I do now ????????????????????
Please help me in this.  




Dan Willemsen

unread,
Mar 22, 2018, 3:30:28 PM3/22/18
to Android Building
"apt-get install ia32-libs git gnupg flex bison gperf build-essential zip" 

E: Package 'ia32-libs' has no installation candidate
 
My experience with this error is that your system is set up as 64-bit only. That's currently not supported to build android, we still execute some 32-bit programs.

As in this process during the download process of Java 6 I am getting the error as per below. 

What version of Android are you trying to build? Java6 is only required for very old branches -- Gingerbread through KitKat. The command that you're using doesn't say anything about java, how are you actually downloading it?

Which OS are you building on? (If you're using Java6, you probably need to be using Ubuntu 12.04 for your particular branch)

- Dan

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages