0

I want to install jsoncpp

Instructions to reproduce:

  1. Install both meson (which requires Python3) and ninja.
  2. When I run sudo apt-get install meson ninja I get the following results:
$ sudo apt-get install meson ninja
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
meson : Depends: ninja-build but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I am trying to install ninja which removes meson, and installing meson removes ninja, with the above error. Does anyone know what to do about this?

nickl-
  • 8,417
  • 4
  • 42
  • 56

1 Answers1

1

The correct Debian package for the ninja build system is ninja-build.

sudo apt-get install meson ninja-build

Matteo Nardi
  • 199
  • 2
  • 7