* [gentoo-user] Slots
@ 2005-11-26 17:38 Jeff Grossman
2005-11-26 18:32 ` Richard Fish
0 siblings, 1 reply; 7+ messages in thread
From: Jeff Grossman @ 2005-11-26 17:38 UTC (permalink / raw
To: gentoo-user
I have just realized about programs that can be installed in slots.
Is there a way for me to find out what programs are installed in more
than one slot on my computer? Can I tell if a particular program in a
slot is still needed?
Thanks,
Jeff
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Slots
2005-11-26 17:38 [gentoo-user] Slots Jeff Grossman
@ 2005-11-26 18:32 ` Richard Fish
2005-11-26 19:10 ` [gentoo-user] Slots Jeff Grossman
0 siblings, 1 reply; 7+ messages in thread
From: Richard Fish @ 2005-11-26 18:32 UTC (permalink / raw
To: gentoo-user
On 11/26/05, Jeff Grossman <jeff@stikman.com> wrote:
> I have just realized about programs that can be installed in slots.
> Is there a way for me to find out what programs are installed in more
> than one slot on my computer? Can I tell if a particular program in a
> slot is still needed?
"emerge --prune --pretend world" will tell you all packages that have
more than one version installed (ie. slotted).
As for finding out whether a particular version of a slotted package
is still needed or not, well, you could do:
emerge --prune <pkg>
emerge -Dv world
revdep-rebuild
But the above is a bit dangerous, and could break your system. Be careful.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: Slots
2005-11-26 18:32 ` Richard Fish
@ 2005-11-26 19:10 ` Jeff Grossman
2005-11-26 19:10 ` Jeff Grossman
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Jeff Grossman @ 2005-11-26 19:10 UTC (permalink / raw
To: gentoo-user
Richard Fish <bigfish@asmallpond.org> wrote:
>On 11/26/05, Jeff Grossman <jeff@stikman.com> wrote:
>> I have just realized about programs that can be installed in slots.
>> Is there a way for me to find out what programs are installed in more
>> than one slot on my computer? Can I tell if a particular program in a
>> slot is still needed?
>
>"emerge --prune --pretend world" will tell you all packages that have
>more than one version installed (ie. slotted).
>
>As for finding out whether a particular version of a slotted package
>is still needed or not, well, you could do:
>
>emerge --prune <pkg>
>emerge -Dv world
>revdep-rebuild
>
>But the above is a bit dangerous, and could break your system. Be careful.
Thanks for the information. That is one are where I think Gentoo can
definitely improve. Making it so you can tell if removing a package
will kill anything. I would imagine this is probably not an easy task
though.
Jeff
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: Slots
2005-11-26 19:10 ` [gentoo-user] Slots Jeff Grossman
@ 2005-11-26 19:10 ` Jeff Grossman
2005-11-26 19:52 ` Renat Golubchyk
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Jeff Grossman @ 2005-11-26 19:10 UTC (permalink / raw
To: gentoo-user
Richard Fish <bigfish@asmallpond.org> wrote:
>On 11/26/05, Jeff Grossman <jeff@stikman.com> wrote:
>> I have just realized about programs that can be installed in slots.
>> Is there a way for me to find out what programs are installed in more
>> than one slot on my computer? Can I tell if a particular program in a
>> slot is still needed?
>
>"emerge --prune --pretend world" will tell you all packages that have
>more than one version installed (ie. slotted).
>
>As for finding out whether a particular version of a slotted package
>is still needed or not, well, you could do:
>
>emerge --prune <pkg>
>emerge -Dv world
>revdep-rebuild
>
>But the above is a bit dangerous, and could break your system. Be careful.
Thanks for the information. That is one are where I think Gentoo can
definitely improve. Making it so you can tell if removing a package
will kill anything. I would imagine this is probably not an easy task
though.
Jeff
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Slots
2005-11-26 19:10 ` [gentoo-user] Slots Jeff Grossman
2005-11-26 19:10 ` Jeff Grossman
@ 2005-11-26 19:52 ` Renat Golubchyk
2005-11-26 20:09 ` Kevin Hanson
2005-11-26 20:25 ` Martins
3 siblings, 0 replies; 7+ messages in thread
From: Renat Golubchyk @ 2005-11-26 19:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 564 bytes --]
On Sat, 26 Nov 2005 11:10:31 -0800 Jeff Grossman <jeff@stikman.com>
wrote:
> Thanks for the information. That is one are where I think Gentoo can
> definitely improve. Making it so you can tell if removing a package
> will kill anything.
You can check whether the package you intend to remove is a dependency
of another package ;-) You can do it with "equery depends <package>".
Cheers,
Renat
--
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
(Einstein)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Slots
2005-11-26 19:10 ` [gentoo-user] Slots Jeff Grossman
2005-11-26 19:10 ` Jeff Grossman
2005-11-26 19:52 ` Renat Golubchyk
@ 2005-11-26 20:09 ` Kevin Hanson
2005-11-26 20:25 ` Martins
3 siblings, 0 replies; 7+ messages in thread
From: Kevin Hanson @ 2005-11-26 20:09 UTC (permalink / raw
To: gentoo-user
Jeff Grossman wrote:
>Richard Fish <bigfish@asmallpond.org> wrote:
>
>
>
>>On 11/26/05, Jeff Grossman <jeff@stikman.com> wrote:
>>
>>
>>>I have just realized about programs that can be installed in slots.
>>>Is there a way for me to find out what programs are installed in more
>>>than one slot on my computer? Can I tell if a particular program in a
>>>slot is still needed?
>>>
>>>
>>"emerge --prune --pretend world" will tell you all packages that have
>>more than one version installed (ie. slotted).
>>
>>As for finding out whether a particular version of a slotted package
>>is still needed or not, well, you could do:
>>
>>emerge --prune <pkg>
>>emerge -Dv world
>>revdep-rebuild
>>
>>But the above is a bit dangerous, and could break your system. Be careful.
>>
>>
>
>
>
I like the old 'etcat'. You can still find it on your system at
/usr/share/doc/gentoolkit-<version>/deprecated/etcat/etcat.
I use 'etcat versions <pkg>' all the time. The number in parentheses is
the slot that package is in. E.G. for php:
[ Results for search key : php ]
[ Candidate applications found : 13 ]
Only printing found installed programs.
* dev-lang/php :
[ ~ ] 4.3.11-r4 (4)
[ ~ ] 4.4.0-r4 (4)
[ I] 4.4.1-r2 (4)
[M~ ] 5.0.4-r4 (5)
[M~ ] 5.0.5-r4 (5)
* dev-php/php :
[ ] 4.3.11 (0)
[ ] 4.3.11-r1 (0)
[ ] 4.3.11-r3 (0)
[ ] 4.3.11-r4 (0)
[ ] 4.4.0 (0)
[ ] 4.4.0-r1 (0)
[ ] 4.4.0-r3 (0)
[ ] 4.4.0-r4 (0)
This shows that I have ver 4.4.1-r2 installed on my system in slot 4.
I haven't found an equivalent w/ equery. I create a symbolic link from
the etcat location above to /usr/local/bin. However, everytime
gentoolkit is updated, I have to update the link.
Cheers,
Kevin
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Slots
2005-11-26 19:10 ` [gentoo-user] Slots Jeff Grossman
` (2 preceding siblings ...)
2005-11-26 20:09 ` Kevin Hanson
@ 2005-11-26 20:25 ` Martins
3 siblings, 0 replies; 7+ messages in thread
From: Martins @ 2005-11-26 20:25 UTC (permalink / raw
To: gentoo-user
At 21:10 2005.11.26., you wrote:
>Richard Fish <bigfish@asmallpond.org> wrote:
>
> >On 11/26/05, Jeff Grossman <jeff@stikman.com> wrote:
> >> I have just realized about programs that can be installed in slots.
> >> Is there a way for me to find out what programs are installed in more
> >> than one slot on my computer? Can I tell if a particular program in a
> >> slot is still needed?
> >
> >"emerge --prune --pretend world" will tell you all packages that have
> >more than one version installed (ie. slotted).
> >
> >As for finding out whether a particular version of a slotted package
> >is still needed or not, well, you could do:
> >
> >emerge --prune <pkg>
> >emerge -Dv world
> >revdep-rebuild
> >
> >But the above is a bit dangerous, and could break your system. Be careful.
>
>Thanks for the information. That is one are where I think Gentoo can
>definitely improve. Making it so you can tell if removing a package
>will kill anything. I would imagine this is probably not an easy task
>though.
>
>Jeff
maybe there should be some options when updating and emerge tries to bring
in new slot, see, now i have qt3 and qt4, qt3 was emerged as kde dependence
but nothing depends on qt4. so there waste of time and space unless i don't
need qt4 for development or whatever. am i right?
martins
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-11-26 20:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-26 17:38 [gentoo-user] Slots Jeff Grossman
2005-11-26 18:32 ` Richard Fish
2005-11-26 19:10 ` [gentoo-user] Slots Jeff Grossman
2005-11-26 19:10 ` Jeff Grossman
2005-11-26 19:52 ` Renat Golubchyk
2005-11-26 20:09 ` Kevin Hanson
2005-11-26 20:25 ` Martins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox