Installing confluent-libserdes1 on ubuntu 20.04 is broken

Hi all,

I am encountering a problem when trying to install confluent-libserdes-dev and libavro-cpp-dev components on ubuntu 20.04 (inside docker container).

To be mentioned that this was working about 1 month ago and something was broken in between.

I am using these steps:

FROM ubuntu:20.04

The error I see is:
4.021 The following packages have unmet dependencies:
4.066 confluent-libserdes-dev : Depends: confluent-libserdes1 (= 7.1.12-1) but it is not going to be installed
4.066 Depends: confluent-libserdes++1 (= 7.1.12-1) but it is not going to be installed
4.067 libavro-cpp-dev : Depends: libavro-cpp1 (= 1.8.0~1confluent7.1.12-1) but it is not going to be installed
4.072 E: Unable to correct problems, you have held broken packages.

confluent-libserdes1 for example have a dependency on:
4.002 The following packages have unmet dependencies:
4.048 confluent-libserdes1 : Depends: libavro-c1 but it is not going to be installed
4.048 Depends: libcurl3 (>= 7.16.2) but it is not installable
4.054 E: Unable to correct problems, you have held broken packages.

libcurl3 is not even available in this distribution. Initially (when it was working), it was linked against libcurl4.

I assume the binaries have been rebuilt and now some dependency is broken.

According to the documentation (https://docs.confluent.io/platform/current/installation/versions-interoperability.html#cp-ak-compatibility), version confluent 7.1 should be supported on ubuntu 20.04

Many thanks.

2 Likes

Does anyone know why the confluent-libserdes1 package can’t be found in the current https://packages.confluent.io/clients/deb repo?

# apt-cache policy confluent-libserdes1
confluent-libserdes1:
  Installed: (none)
  Candidate: 7.1.12-1
  Version table:
     7.1.12-1 500
        500 https://packages.confluent.io/deb/7.1 stable/main amd64 Packages
     7.1.11-1 500
        500 https://packages.confluent.io/deb/7.1 stable/main amd64 Packages

This package can be found there 1 month ago

# apt-cache policy confluent-libserdes1
confluent-libserdes1:
  Installed: 8.0.0-1.cflt~ubu20
  Candidate: 8.0.0-1.cflt~ubu20
  Version table:
 *** 8.0.0-1.cflt~ubu20 500
        500 https://packages.confluent.io/clients/deb focal/main amd64 Packages
        100 /var/lib/dpkg/status
     7.1.10-1 500
        500 https://packages.confluent.io/deb/7.1 stable/main amd64 Packages

Confluent Engineering is working to address this. I’ll update once the package is available again!

1 Like

@hungrh @agurau this should be resolved now. Please run sudo apt update and try again, and report back if you run into any issues!

@dtroiano it is working fine. Thank you

1 Like