[Bug 1929125] Re: lib32z1 cannot be installed on ubuntu 20.04 LTS

Hans Joachim Desserud 1929125 at bugs.launchpad.net
Fri May 21 15:14:38 UTC 2021


Thanks for taking your time to report this issue and help making Ubuntu
better.

I was unable to reproduce this issue, in fact I could install lib32z1
without problems on my 20.04 system. I have a couple of comments though.

>lib32z1 (https://packages.ubuntu.com/focal/lib32z1) depends on
libc6-i386 (>= 2.4)

Indeed.

>but the latest version of libc6-i386 I can find for Ubuntu is (..)
impish

So the first thing is that when installing packages on 20.04 it will look in its archives, not other releases. So it will find version 2.31-0ubuntu9.2 from focal-updates without looking at what is available in newer releases.
Also, keep in mind that the second number in (>= 2.4)  is 4 not 40. So 2.31-0ubuntu9.2 should be more that enough to satisfy this requirement because 31 > 4  :)

Despite all this I see that you still get an error message. Based on the
output from `apt policy` I thought this should work. What you can try is
`sudo apt update` to refresh the package list. If the problem still
persists, try to see if you can install libc6-i386 directly. You may get
either a more detailed error message or it will suggest to remove other
packages due to conflicts. Sometimes with unmet dependencies the problem
can be further down the dependency tree so it might take some drilling
to discover what the problem is, for instance if it is due to conflicts
with other installed packages.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zlib in Ubuntu.
https://bugs.launchpad.net/bugs/1929125

Title:
  lib32z1 cannot be installed on ubuntu 20.04 LTS

Status in zlib package in Ubuntu:
  New

Bug description:
  I am using Ubuntu 20.04 LTS. When trying to install lib32z1, I get the
  following error:

  The following packages have unmet dependencies:
   lib32z1 : Depends: libc6-i386 (>= 2.4) but it is not going to be installed
  E: Unable to correct problems, you have held broken packages.

  lib32z1 (https://packages.ubuntu.com/focal/lib32z1) depends on
  libc6-i386 (>= 2.4) but the latest version of libc6-i386 I can find
  for Ubuntu is 2.33 (https://packages.ubuntu.com/impish/libc6-i386)

  Is it possible Ubuntu is asking for a version of a dependency so high
  that it doesn't even exist?

  The reason I'm installing a 32-bit package is it's required for
  Android Studio installation process:
  https://developer.android.com/studio/install#linux

  ---

  apt-cache policy libc6-i386

  libc6-i386:
    Installed: (none)
    Candidate: 2.31-0ubuntu9.2
    Version table:
       2.31-0ubuntu9.2 500
          500 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
       2.31-0ubuntu9 500
          500 http://ca.archive.ubuntu.com/ubuntu focal/main amd64 Packages

  apt-cache policy lib32z1

  lib32z1:
    Installed: (none)
    Candidate: 1:1.2.11.dfsg-2ubuntu1.2
    Version table:
       1:1.2.11.dfsg-2ubuntu1.2 500
          500 http://ca.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
       1:1.2.11.dfsg-2ubuntu1 500
          500 http://ca.archive.ubuntu.com/ubuntu focal/main amd64 Packages

  lsb_release -rd

  Description:	Ubuntu 20.04.2 LTS
  Release:	20.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1929125/+subscriptions



More information about the foundations-bugs mailing list