Jump to content
funtoo forums
  • 0
Sign in to follow this  
Ciges

How could I tell portage a package is already installed?

Question

Hi

 

Is there a way to tell portage that a package is already installed?  I would like that a package from a dependency not to be installed and the easiest way could be to "pretend" it is already in the system.

 

Any idea?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

yes, there is a package.provided feature. adding category such as:

x11-drivers/nvidia-drivers-381.22 into /etc/portage/package.provided will make portage think that this exact version installed on users box, when in reality it's not. notice a syntax, if you need specific version (381.22) you don't put atom ("=" in this example) in front of category, unlike it's needed for masks or unmasks or keywords.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×