Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/portage/package.provided not working?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
raidzero
n00b
n00b


Joined: 18 May 2012
Posts: 11

PostPosted: Thu Jan 10, 2013 8:59 pm    Post subject: /etc/portage/package.provided not working? Reply with quote

Hello, world.

I want to emerge xvba-video, but portage tries to pull in ati-drivers. I had to install my own fglrx from the ati website because the version in portage dropped support for my card (radeon hd 4250).

/etc/portage/package.provided:
Code:

x11-drivers/ati-drivers


Code:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] x11-drivers/ati-drivers-12.6  USE="modules -debug (-multilib) -pax_kernel -qt4 -static-libs" 0 kB
[ebuild  N     ] x11-libs/xvba-video-0.8.0  57 kB

Total: 2 packages (2 new), Size of downloads: 57 kB


How can I prevent portage from trying to install ati-drivers when I emerge something that depends on it?

Thanks!
Back to top
View user's profile Send private message
jrussia
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2012
Posts: 89
Location: Chicago

PostPosted: Thu Jan 10, 2013 9:23 pm    Post subject: Reply with quote

raidzero,

package.provided has to go in /etc/portage/profile, and it has to specify a version number as well.
Back to top
View user's profile Send private message
raidzero
n00b
n00b


Joined: 18 May 2012
Posts: 11

PostPosted: Thu Jan 10, 2013 9:38 pm    Post subject: Reply with quote

jrussia wrote:
raidzero,

package.provided has to go in /etc/portage/profile, and it has to specify a version number as well.



Good to know! Thanks. It works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum