On 01/23/04  Anupam Kapoor wrote:

> hi all,
> 
> i have couple of emerge questions:
> 
>   - we can do an emerge inject <package name> to make portage think
>     that the package is already installed on the system. 
> 
>     now, when i do an emerge -s <package name>, it tells me that the
>     package is already installed. is it possible to find out, whether
>     the package is _really_ installed, or there is just a stub sitting
>     somewhere, telling portage to just 'fake' it ?

No emerge command, but you can look at
/var/db/pkg/<category>/<package>-<version>, an injected package has
_only_ the COUNTER file there while "normal" packages have a few more.

>   - is it possible to do an 'emerge eject <package name>' to make
>     portage eject stubs that were injected during the 'emerge inject'
>     process ?

emerge --unmerge <package>

Marius

-- 
Public Key at http://www.genone.de/info/gpg-key.pub

In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to