Ciges Posted September 25, 2017 Report Share Posted September 25, 2017 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? Link to comment Share on other sites More sharing options...
0 Oleg Vinichenko Posted September 25, 2017 Report Share Posted September 25, 2017 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. Link to comment Share on other sites More sharing options...
Question
Ciges
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?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts