Have you tried to downgrade zlib1g package to the required version, and the install should succeed afterwards.
On Saturday, August 1, 2020 at 10:04:37 PM UTC+5:30, Kushtrim Pacaj wrote: > > I am trying to setup a new build server for AOSP and ran into problems > setting up the environment. > I've done this lots of times without problems, but something seems to have > changed. > > This is a fresh install of Ubuntu 18.04.4 LTS. > What I'm trying to install is this ( from this link > https://source.android.com/setup/build/initializing ) > > > *sudo apt-get install git-core gnupg flex bison build-essential zip curl > zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev > x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils > xsltproc unzip fontconfig* > > > This is the output: > > Building dependency tree > > Reading state information... Done > > fontconfig is already the newest version (2.11.94-0ubuntu1.1). > > fontconfig set to manually installed. > > curl is already the newest version (7.58.0-2ubuntu3.9). > > curl set to manually installed. > > build-essential is already the newest version (12.4ubuntu1). > > build-essential set to manually installed. > > gnupg is already the newest version (2.2.4-1ubuntu1.2). > > gnupg set to manually installed. > > 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: > > g++-multilib : Depends: g++-5-multilib (>= 5.3.1-3~) but it is not going > to be installed > > gcc-multilib : Depends: gcc-5-multilib (>= 5.3.1-3~) but it is not going > to be installed > > lib32ncurses5-dev : Depends: lib32tinfo5 (= 6.0+20160213-1ubuntu1) but it > is not going to be installed > > Depends: lib32ncurses5 (= 6.0+20160213-1ubuntu1) but > it is not going to be installed > > Depends: lib32tinfo-dev (= 6.0+20160213-1ubuntu1) but > it is not going to be installed > > Depends: libncurses5-dev (= 6.0+20160213-1ubuntu1) > but it is not going to be installed > > lib32z1-dev : Depends: lib32z1 (= 1:1.2.8.dfsg-2ubuntu4.3) but it is not > going to be installed > > libc6-dev-i386 : Depends: libc6-i386 (= 2.23-0ubuntu11.2) but it is not > going to be installed > > Depends: libc6-dev (= 2.23-0ubuntu11.2) but 2.27- > 3ubuntu1.2 is to be installed > > libgl1-mesa-dev : Depends: mesa-common-dev (= 18.0.5-0ubuntu0~16.04.1) > but it is not going to be installed > > Depends: libdrm-dev (>= 2.4.74) but it is not going to > be installed > > Depends: libx11-xcb-dev but it is not going to be > installed > > Depends: libxcb-dri3-dev but it is not going to be > installed > > Depends: libxcb-present-dev but it is not going to be > installed > > Depends: libxcb-sync-dev but it is not going to be > installed > > Depends: libxcb-dri2-0-dev but it is not going to be > installed > > Depends: libxcb-glx0-dev but it is not going to be > installed > > libx11-dev : Depends: libx11-6 (= 2:1.6.3-1ubuntu2.1) but 2:1.6.4- > 3ubuntu0.2 is to be installed > > Depends: libxau-dev (>= 1:1.0.0-1) but it is not going to be > installed > > Depends: libxdmcp-dev (>= 1:1.0.0-1) but it is not going to > be installed > > Depends: libxcb1-dev but it is not going to be installed > > Recommends: libx11-doc but it is not going to be installed > > zlib1g-dev : Depends: zlib1g (= 1:1.2.8.dfsg-2ubuntu4.3) but 1:1.2.11.dfsg > -0ubuntu2 is to be installed > > E: Unable to correct problems, you have held broken packages. > > > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/32afd4df-6b8c-4429-b816-28fdfe59dc06o%40googlegroups.com.
