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
Guest
You are commenting as a guest. If you have an account, please sign in.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×