View previous topic :: View next topic |
Author |
Message |
stefbon n00b
Joined: 03 Dec 2018 Posts: 26
|
Posted: Sat Feb 02, 2019 6:11 am Post subject: How to install linuxtv-dvb-apps |
|
|
Hi,
I want to watch television via DVB-T, using an USB DVB-T card.\
Now I cannot install linuxtv-dvb-apps, I get an error:
Code: | dst_test.c:116:19: error: ‘CA_SET_PID’ undeclared (first use in this function); did you mean ‘CA_GET_CAP’?
if ((ioctl(cafd, CA_SET_PID)) < 0) {
^~~~~~~~~~
CA_GET_CAP
|
I see there is a fix in a later version, see:
https://packages.gentoo.org/packages/media-tv/linuxtv-dvb-apps
but that is an unstable package. How can I install that?
Stef
PS this package is required for any dvb package. |
|
Back to top |
|
|
Phoenix591 Guru
Joined: 17 Sep 2007 Posts: 485
|
Posted: Sat Feb 02, 2019 7:21 am Post subject: |
|
|
you can install unstable versions of individual packages by adding them to /etc/portage/package.accept_keywords like Code: | media-tv/linuxtv-dvb-apps ~amd64 | if you're running an amd64 system ( ~x86 if not)
sometimes you'll run into conflicts that may require accepting unstable versions of other dependencies too, it doesn't seem likely in this case. |
|
Back to top |
|
|
stefbon n00b
Joined: 03 Dec 2018 Posts: 26
|
Posted: Sat Feb 02, 2019 7:46 am Post subject: |
|
|
I've solved the issue by following the thread:
https://forums.gentoo.org/viewtopic-t-804107-start-0.html
though I do not know what I'm doing.
Is there a guide/howto with examples explaining this behaviour of emerge and portage.
(the advanced usage)
Stef |
|
Back to top |
|
|
stefbon n00b
Joined: 03 Dec 2018 Posts: 26
|
Posted: Sat Feb 02, 2019 7:47 am Post subject: |
|
|
g2g591 wrote: | you can install unstable versions of individual packages by adding them to /etc/portage/package.accept_keywords |
Thanks.
Stef |
|
Back to top |
|
|
Phoenix591 Guru
Joined: 17 Sep 2007 Posts: 485
|
Posted: Sat Feb 02, 2019 8:29 am Post subject: |
|
|
the Wiki has a page on package.keywords/package.accept_keywords |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Sat Feb 02, 2019 5:13 pm Post subject: |
|
|
g2g591 wrote: | you can install unstable versions of individual packages by adding them to /etc/portage/package.accept_keywords like Code: | media-tv/linuxtv-dvb-apps ~amd64 | if you're running an amd64 system ( ~x86 if not) | So I should use ~x86 for unstable packages on my PPC, right?
OP: Generally, you should put only the package atom, and no architecture specifiers, in package.accept_keywords entries. This implies accepting unstable for the current architecture, whatever that architecture is. Only specify an architecture if you have unusual requirements, like pulling in a package that has no keywords for your architecture. |
|
Back to top |
|
|
|