I'm trying to install librespot to use along with spotify-qt, which needs cargo to run, but every time I run sudo apt install cargo
I get the following problem:
Reading package lists... Done
Building dependency tree... Done
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:
rustc : Depends: libc-dev
E: Unable to correct problems, you have held broken packages.
And then I tried to use sudo apt install libc-dev
but got this error:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libc6-dev' instead of 'libc-dev'
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: libc6-dev : Depends:
libc6 (= 2.35-0ubuntu3) but 2.35-0ubuntu3.1 is to be installed
E: Unable to correct problems, you have held broken packages.
I'm new to Ubuntu/Linux and I'm still getting used to it.