public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Slots
@ 2005-11-26 17:38 Jeff Grossman
  2005-11-26 18:32 ` Richard Fish
  0 siblings, 1 reply; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ 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; 10+ 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] 10+ messages in thread

* [gentoo-user] slots
@ 2006-03-14  3:29 Jim
  2006-03-14 13:22 ` Francesco Riosa
  0 siblings, 1 reply; 10+ messages in thread
From: Jim @ 2006-03-14  3:29 UTC (permalink / raw
  To: gentoo-user

Hey group,

I have dev-db/mysql 5.0.18-r30 installed.  After a sync I get the 
following when I run:

emerge -avb dev-db/mysql-5.0.19

Calculating dependencies ...done!
[ebuild  NS   ] dev-db/mysql-5.0.19  +berkdb -big-tables -cluster -debug 
-embedded -extraengine -max-idx-128 -minimal +perl (-selinux) -srvdir 
+ssl -static 19,074 kB

Total size of downloads: 19,074 kB

I read about slots, however I didn't see anywhere to do an upgrade 
instead of a slot.  I don't want/need to versions of mysql on my system. 
  Is there an option to emerge to tell it to only use the latest version 
of mysql?  Or do I need to emerge -c the older mysql?

Jim
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] slots
  2006-03-14  3:29 [gentoo-user] slots Jim
@ 2006-03-14 13:22 ` Francesco Riosa
  2006-03-14 22:55   ` JimD
  0 siblings, 1 reply; 10+ messages in thread
From: Francesco Riosa @ 2006-03-14 13:22 UTC (permalink / raw
  To: gentoo-user

Jim wrote:
> Hey group,
>
> I have dev-db/mysql 5.0.18-r30 installed.  After a sync I get the
> following when I run:
>
> emerge -avb dev-db/mysql-5.0.19
>
> Calculating dependencies ...done!
> [ebuild  NS   ] dev-db/mysql-5.0.19  +berkdb -big-tables -cluster
> -debug -embedded -extraengine -max-idx-128 -minimal +perl (-selinux)
> -srvdir +ssl -static 19,074 kB
>
> Total size of downloads: 19,074 kB
>
> I read about slots, however I didn't see anywhere to do an upgrade
> instead of a slot.  I don't want/need to versions of mysql on my
> system.  Is there an option to emerge to tell it to only use the
> latest version of mysql?  Or do I need to emerge -c the older mysql?
>
> Jim
please read
http://www.gentoo.org/doc/en/mysql-upgrade-slotted.xml
will tell how revert to unslotted MySQL
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] slots
  2006-03-14 13:22 ` Francesco Riosa
@ 2006-03-14 22:55   ` JimD
  0 siblings, 0 replies; 10+ messages in thread
From: JimD @ 2006-03-14 22:55 UTC (permalink / raw
  To: gentoo-user

On Tue, 14 Mar 2006 14:22:38 +0100
Francesco Riosa <BastianBalthazarBux@pnpitalia.it> wrote:

> please read
> http://www.gentoo.org/doc/en/mysql-upgrade-slotted.xml
> will tell how revert to unslotted MySQL

Thanks!  I read searched Google for Gentoo slots and got everything
about slots except for what I wanted :)

Jim
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-03-14 23:02 UTC | newest]

Thread overview: 10+ 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
  -- strict thread matches above, loose matches on Subject: below --
2006-03-14  3:29 [gentoo-user] slots Jim
2006-03-14 13:22 ` Francesco Riosa
2006-03-14 22:55   ` JimD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox