Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No package 'libhackrf' found #17

Open
canhu123 opened this issue Feb 2, 2017 · 2 comments
Open

No package 'libhackrf' found #17

canhu123 opened this issue Feb 2, 2017 · 2 comments

Comments

@canhu123
Copy link

canhu123 commented Feb 2, 2017

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.




@canhu123 canhu123 changed the title No packahe 'libhackrf' found No package 'libhackrf' found Feb 2, 2017
@Dinsmoor
Copy link

@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
Copy link

Try sudo apt-get install libhackrf-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants