[gentoo-portage-dev] manual uninstall
Hi, I need to manually uninstall a package (without emerge --unmerge). How do I tell emerge that a package is not installed (even if it is)? (I basically need to force a reinstall, for a catalyst issue.) Another good question is: how does portage know that a package is actually installed? Thank you.
Re: [gentoo-portage-dev] manual uninstall
On Thursday 14 February 2008, Lanza Fabrizio wrote: I need to manually uninstall a package (without emerge --unmerge). not supported How do I tell emerge that a package is not installed (even if it is)? (I basically need to force a reinstall, for a catalyst issue.) you unmerge it ... if you insist on modifying the backend information, then see: Another good question is: how does portage know that a package is actually installed? portage maintains installed package information in /var/db/pkg/ -mike signature.asc Description: This is a digitally signed message part.
R: [gentoo-portage-dev] manual uninstall
portage maintains installed package information in /var/db/pkg/ -mike Thanks, I will try this. If I delete the package info there, will portage thing that the package is not installed, right? Er, manually meaning 'I want to delete anything it installed by hand'? or 'I want to run the phases by hand'? Why doesn't emerge -C work for this case? I teorically want to manually delete what makes portage think that the package is installed, so that it will install it again. I cannot issue a direct emerge command because catalyst does not support it. I don't have emerge available, though catalyst uses it internally. But it's not customizable. emerge package will reinstall it... I need to achieve it without emerge. Thanks. -- gentoo-portage-dev@lists.gentoo.org mailing list
Re: R: [gentoo-portage-dev] manual uninstall
On 2/14/08, Lanza Fabrizio [EMAIL PROTECTED] wrote: I cannot issue a direct emerge command because catalyst does not support it. If the stage supports it you can use N/fsscript. Or if you want to unmerge the package at the beginning of the loop you could modify /usr/lib/catalyst/targets/stageN/stageN-chroot.sh. -- gentoo-portage-dev@lists.gentoo.org mailing list