* [gentoo-portage-dev] manual uninstall
@ 2008-02-14 8:19 Lanza Fabrizio
2008-02-14 8:51 ` Mike Frysinger
2008-02-14 10:44 ` Alec Warner
0 siblings, 2 replies; 5+ messages in thread
From: Lanza Fabrizio @ 2008-02-14 8:19 UTC (permalink / raw
To: gentoo-portage-dev
[-- Attachment #1: Type: text/plain, Size: 317 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 1097 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-portage-dev] manual uninstall
2008-02-14 8:19 [gentoo-portage-dev] manual uninstall Lanza Fabrizio
@ 2008-02-14 8:51 ` Mike Frysinger
2008-02-14 10:44 ` Alec Warner
1 sibling, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2008-02-14 8:51 UTC (permalink / raw
To: gentoo-portage-dev; +Cc: Lanza Fabrizio
[-- Attachment #1: Type: text/plain, Size: 540 bytes --]
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
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-portage-dev] manual uninstall
2008-02-14 8:19 [gentoo-portage-dev] manual uninstall Lanza Fabrizio
2008-02-14 8:51 ` Mike Frysinger
@ 2008-02-14 10:44 ` Alec Warner
2008-02-14 11:03 ` R: " Lanza Fabrizio
1 sibling, 1 reply; 5+ messages in thread
From: Alec Warner @ 2008-02-14 10:44 UTC (permalink / raw
To: gentoo-portage-dev
On 2/14/08, Lanza Fabrizio <Fabrizio.Lanza@insiel.it> wrote:
>
>
> Hi,
> I need to manually uninstall a package (without emerge --unmerge).
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?
> 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.)
emerge <package> will reinstall it...
>
> Another good question is: how does portage know that a package is actually
> installed?
>
> Thank you.
--
gentoo-portage-dev@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* R: [gentoo-portage-dev] manual uninstall
2008-02-14 10:44 ` Alec Warner
@ 2008-02-14 11:03 ` Lanza Fabrizio
2008-02-14 11:31 ` Jonas Bernoulli
0 siblings, 1 reply; 5+ messages in thread
From: Lanza Fabrizio @ 2008-02-14 11:03 UTC (permalink / raw
To: gentoo-portage-dev
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: R: [gentoo-portage-dev] manual uninstall
2008-02-14 11:03 ` R: " Lanza Fabrizio
@ 2008-02-14 11:31 ` Jonas Bernoulli
0 siblings, 0 replies; 5+ messages in thread
From: Jonas Bernoulli @ 2008-02-14 11:31 UTC (permalink / raw
To: gentoo-portage-dev
On 2/14/08, Lanza Fabrizio <Fabrizio.Lanza@insiel.it> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-02-14 11:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-14 8:19 [gentoo-portage-dev] manual uninstall Lanza Fabrizio
2008-02-14 8:51 ` Mike Frysinger
2008-02-14 10:44 ` Alec Warner
2008-02-14 11:03 ` R: " Lanza Fabrizio
2008-02-14 11:31 ` Jonas Bernoulli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox