15

I'm using Ubuntu 20.04 focal fossa.

I'm trying to install a package that depends on libc6=<2.33 or above. However, focal repositories only have version 2.31, which is causing dependency troubles:

Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.2 is to be installed

Is there any way I can install libc6 2.34 or above on Ubuntu 20.04 focal?

$ apt-cache policy libc6
  Installed: 2.31-0ubuntu9.2
  Candidate: 2.31-0ubuntu9.2
  Version table:
 *** 2.31-0ubuntu9.2 500
        500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.31-0ubuntu9 500
        500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages 

Thanks!

Error404
  • 8,278
  • 3
  • 35
  • 60

1 Answers1

0

According to my research it appears that Ubuntu 20.04 Focal (focal) only provides libc6 version 2.31 which is not compatible with the dependency requirement of >= 2.34.

The official Ubuntu 20.04 Focal repositories only provide libc6 version 2.31. The focal-updates and focal-security repositories do not contain newer versions of libc6, but you can use a different Ubuntu version like 22.04 jammy or later, which might include libc6 version 2.34 or above.

I would recommend Virtualization: Install a virtual machine with Ubuntu 22.04 or later, install the required package, and then use it as a workaround.

karel
  • 122,292
  • 133
  • 301
  • 332