scateu / kalibrate-hackrf

kalibrate for hackrf
BSD 2-Clause "Simplified" License
267 stars 78 forks source link

No package 'libhackrf' found #17

Open canhu123 opened 7 years ago

canhu123 commented 7 years ago

Am able to run hackrf fine. Have tried installing kalibrate but throws up :


No package 'libhackrf' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBHACKRF_CFLAGS
and LIBHACKRF_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Tried to reinstall libhackrf-dev and libhackrf0 however I get the following error:


libhackrf0 is already the newest version (2015.07.2-myriadrf1~wily).
hackrf is already the newest version (2015.07.2-myriadrf1~wily).
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.
 libhackrf-dev : Depends: libhackrf0 (= 2015.07.2-6) but 2015.07.2-myriadrf1~wily is to be installed
E: Unable to correct problems, you have held broken packages.
Dinsmoor commented 6 years ago

@canhu123 This is a problem with your sources. Any time you see the "you have held broken packages" then you have an issue. I get this a lot whenever I mess with PPAs and upgrade my system, or have to use some backported packages.

I notice you are still using a PPA from myraidrf1 for wily, which is likely by now an unsupported version.

I would recommend removing that PPA from your system and using your default repositories. If you are really still on wily, maybe upgrade to Xenial for LTS support.

Please see: https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages#223267

magnushirst commented 5 years ago

Try sudo apt-get install libhackrf-dev