0

I'm working in Ubuntu Bionic Docker image and am in need of the libcxx-serial-dev package, but this only seems to be available in the Debian repos. How do I go about installing this package on Ubuntu 18.04?

I tried adding the following to my /etc/apt/sources.list:

deb http://deb.debian.org/debian main

but then I couldn't find the public key for the repo.

Does anyone know how to solve this?

5
  • Does this answer your question? Adding Debian Sid as Package Repository?
    – user68186
    Mar 8, 2022 at 14:17
  • It might, but apt throws me an error because I haven't added the public key of the repo, and I don't know how or where to get said pub key.
    – VGC3OCJA50
    Mar 8, 2022 at 14:22
  • 1
    Don't do it! Mixing repositories of two different distributions may make your system files incompatible and your computer may not work.
    – user68186
    Mar 8, 2022 at 15:36
  • Do not invent bicycles, use packages.ubuntu.com/… on focal docker image.
    – N0rbert
    Mar 8, 2022 at 15:36
  • Yes thank you, see my answer down, this is exactly what I resorted to.
    – VGC3OCJA50
    Mar 8, 2022 at 16:08

2 Answers 2

3

You might want to use https://packages.ubuntu.com/focal/amd64/libcxx-serial-dev/download instead

or use source package from main repository https://gitlab.com/leamas/cxx-serial and build it for your ubuntu

the build process is described in the ReadMe file of the official repository

0

As it turns out, this package just isn't available in the Bionic Beaver repos, but it is however in the Focal Fossa repos. Updating my Docker image to ubuntu:focal solved my issue.

Not the answer you're looking for? Browse other questions tagged .