public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Ruby is borked on my system
@ 2014-06-27  3:36 Ajai Khattri
  2014-06-27  6:16 ` [gentoo-user] " Hans de Graaff
  0 siblings, 1 reply; 8+ messages in thread
From: Ajai Khattri @ 2014-06-27  3:36 UTC (permalink / raw
  To: gentoo-user


Ive ran into a brick wall trying to update one of my servers. I have been 
using Gentoo for a long time but I haven't been following it as closely 
for the past year so maybe there have been changes Im not aware of. Ive 
already Googled and checked archives without really solving my problem.

When I try to update world I get this:

# emerge -uDatvk world

  * IMPORTANT: 2 news items need reading for repository 'gentoo'.
  * Use eselect news to read news items.


These are the packages that would be merged, in reverse order:

Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been 
pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-ruby/rubygems:0

   (dev-ruby/rubygems-2.0.14::gentoo, ebuild scheduled for merge) pulled in 
by
     >=dev-ruby/rubygems-2.0.2[ruby_targets_ruby20] required by 
(dev-lang/ruby-2.0.0_p353::gentoo, installed)
     dev-ruby/rubygems[ruby_targets_ruby20] required by 
(virtual/rubygems-6::gentoo, ebuild scheduled for merge)

   (dev-ruby/rubygems-2.0.14::gentoo, installed) pulled in by
     (no parents that aren't satisfied by other packages in this slot)


!!! Enabling --newuse and --update might solve this conflict.
!!! If not, it might help emerge to give a more specific suggestion.


!!! All ebuilds that could satisfy "virtual/rubygems[ruby_targets_ruby18]" 
have been masked.
!!! One of the following masked packages is required to complete your 
request:
- virtual/rubygems-7::gentoo (masked by: ~x86 keyword)
- virtual/rubygems-5::gentoo (masked by: missing keyword)

(dependency required by "dev-ruby/rdoc-4.0.1-r1[-test]" [installed])
(dependency required by "dev-lang/ruby-2.0.0_p353[rdoc]" [installed])
(dependency required by "virtual/rubygems-6" [ebuild])
(dependency required by "dev-ruby/json-1.8.0" [installed])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


From reading other threads I have set RUBY_TARGETS in make.conf to be 
"ruby19 ruby20" and Ive used eselect to set the default config to ruby19.

I have not been able to fix this problem so far.


Any ideas how to proceed?

-- 


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

* [gentoo-user] Re: Ruby is borked on my system
  2014-06-27  3:36 [gentoo-user] Ruby is borked on my system Ajai Khattri
@ 2014-06-27  6:16 ` Hans de Graaff
  2014-06-27  9:13   ` Peter Humphrey
  2014-06-27 16:49   ` Ajai Khattri
  0 siblings, 2 replies; 8+ messages in thread
From: Hans de Graaff @ 2014-06-27  6:16 UTC (permalink / raw
  To: gentoo-user

On Thu, 26 Jun 2014 23:36:00 -0400, Ajai Khattri wrote:

> !!! All ebuilds that could satisfy
> "virtual/rubygems[ruby_targets_ruby18]"
> have been masked.

You still have packages on your system that have been installed with the 
ruby18 RUBY_TARGET. It's not immediately clear which package that is from 
the output, but I suspect dev-ruby/rubygems? Re-emerging the packages 
still installed for ruby18 should fix this.

Hans



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

* Re: [gentoo-user] Re: Ruby is borked on my system
  2014-06-27  6:16 ` [gentoo-user] " Hans de Graaff
@ 2014-06-27  9:13   ` Peter Humphrey
  2014-06-27 16:39     ` covici
  2014-06-27 16:49   ` Ajai Khattri
  1 sibling, 1 reply; 8+ messages in thread
From: Peter Humphrey @ 2014-06-27  9:13 UTC (permalink / raw
  To: gentoo-user

On Friday 27 June 2014 08:16:08 Hans de Graaff wrote:
> On Thu, 26 Jun 2014 23:36:00 -0400, Ajai Khattri wrote:
> > !!! All ebuilds that could satisfy
> > "virtual/rubygems[ruby_targets_ruby18]"
> > have been masked.
> 
> You still have packages on your system that have been installed with the
> ruby18 RUBY_TARGET. It's not immediately clear which package that is from
> the output, but I suspect dev-ruby/rubygems? Re-emerging the packages
> still installed for ruby18 should fix this.

Some months ago I found myself wondering why I had ruby on this box at all. A 
little poking around revealed that the only thing that needed it was thin-
provisioning. Once I'd added -thin to my USE flags and recompiled lvm2 I could 
get rid of ruby altogether.

This won't suit everybody, I know, but maybe it's worth considering.

-- 
Regards
Peter



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

* Re: [gentoo-user] Re: Ruby is borked on my system
  2014-06-27  9:13   ` Peter Humphrey
@ 2014-06-27 16:39     ` covici
  2014-06-27 20:58       ` Neil Bothwick
  2014-06-28 15:19       ` Tom H
  0 siblings, 2 replies; 8+ messages in thread
From: covici @ 2014-06-27 16:39 UTC (permalink / raw
  To: gentoo-user

Peter Humphrey <peter@prh.myzen.co.uk> wrote:

> On Friday 27 June 2014 08:16:08 Hans de Graaff wrote:
> > On Thu, 26 Jun 2014 23:36:00 -0400, Ajai Khattri wrote:
> > > !!! All ebuilds that could satisfy
> > > "virtual/rubygems[ruby_targets_ruby18]"
> > > have been masked.
> > 
> > You still have packages on your system that have been installed with the
> > ruby18 RUBY_TARGET. It's not immediately clear which package that is from
> > the output, but I suspect dev-ruby/rubygems? Re-emerging the packages
> > still installed for ruby18 should fix this.
> 
> Some months ago I found myself wondering why I had ruby on this box at all. A 
> little poking around revealed that the only thing that needed it was thin-
> provisioning. Once I'd added -thin to my USE flags and recompiled lvm2 I could 
> get rid of ruby altogether.
> 
> This won't suit everybody, I know, but maybe it's worth considering.

What exactly does this do -- is it for a thin client or something?


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com


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

* Re: [gentoo-user] Re: Ruby is borked on my system
  2014-06-27  6:16 ` [gentoo-user] " Hans de Graaff
  2014-06-27  9:13   ` Peter Humphrey
@ 2014-06-27 16:49   ` Ajai Khattri
  1 sibling, 0 replies; 8+ messages in thread
From: Ajai Khattri @ 2014-06-27 16:49 UTC (permalink / raw
  To: gentoo-user

On Fri, 27 Jun 2014, Hans de Graaff wrote:

> On Thu, 26 Jun 2014 23:36:00 -0400, Ajai Khattri wrote:
>
>> !!! All ebuilds that could satisfy
>> "virtual/rubygems[ruby_targets_ruby18]"
>> have been masked.
>
> You still have packages on your system that have been installed with the
> ruby18 RUBY_TARGET. It's not immediately clear which package that is from
> the output, but I suspect dev-ruby/rubygems? Re-emerging the packages
> still installed for ruby18 should fix this.

I rebuiltd rubygems and the virtual but still no go.
Then I rebuilt rdoc (which pulled in a bunch of other stuff) but now 
emerge world says I have nothing left to build.

Hopefully I can revdep-rebuild and all should be OK.


Thanks,
-- 
A


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

* Re: [gentoo-user] Re: Ruby is borked on my system
  2014-06-27 16:39     ` covici
@ 2014-06-27 20:58       ` Neil Bothwick
  2014-06-28  9:25         ` Peter Humphrey
  2014-06-28 15:19       ` Tom H
  1 sibling, 1 reply; 8+ messages in thread
From: Neil Bothwick @ 2014-06-27 20:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 943 bytes --]

On Fri, 27 Jun 2014 12:39:29 -0400, covici@ccs.covici.com wrote:

> > Some months ago I found myself wondering why I had ruby on this box
> > at all. A little poking around revealed that the only thing that
> > needed it was thin- provisioning. Once I'd added -thin to my USE
> > flags and recompiled lvm2 I could get rid of ruby altogether.
> > 
> > This won't suit everybody, I know, but maybe it's worth considering.  
> 
> What exactly does this do -- is it for a thin client or something?

No, it's an LVM feature. It's one of those "if you don't know what it is
you don't need it" type features so I don't understand whey it is enabled
by default in the ebuild.

Thin volumes in LVM use only the space they need, so the space you
allocate to them, so you can create volumes with a total size greater
than the available disk space.


-- 
Neil Bothwick

The people who are wrapped up in themselves are overdressed.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* Re: [gentoo-user] Re: Ruby is borked on my system
  2014-06-27 20:58       ` Neil Bothwick
@ 2014-06-28  9:25         ` Peter Humphrey
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Humphrey @ 2014-06-28  9:25 UTC (permalink / raw
  To: gentoo-user

On Friday 27 June 2014 21:58:23 Neil Bothwick wrote:
> On Fri, 27 Jun 2014 12:39:29 -0400, covici@ccs.covici.com wrote:
> > > Some months ago I found myself wondering why I had ruby on this box
> > > at all. A little poking around revealed that the only thing that
> > > needed it was thin- provisioning. Once I'd added -thin to my USE
> > > flags and recompiled lvm2 I could get rid of ruby altogether.
> > > 
> > > This won't suit everybody, I know, but maybe it's worth considering.
> > 
> > What exactly does this do -- is it for a thin client or something?
> 
> No, it's an LVM feature. It's one of those "if you don't know what it is
> you don't need it" type features so I don't understand whey it is enabled
> by default in the ebuild.

It's a daft name, too, IMO. "Over-commit" would be better.

> Thin volumes in LVM use only the space they need, so the space you
> allocate to them, so you can create volumes with a total size greater
> than the available disk space.

...and although I dare say some installations may need it, and know how to 
manage the risk, I certainly don't want to wake up one day to find I've 
overflowed my partitions, so I ditched it as soon as I found it. Enough things 
go bump in the night as it is, without adding to them needlessly.

Result: ruby-coloured peace.

It's even worse than you said, Neil; on this ordinary KDE box* with 943 
packages installed, thin-provisioning in lvm2 is the only thing that needs 
ruby. So not only is it a "you don't need it" feature, it brings in layers of 
complexity and head-scratching for ordinary mortals, quite out of proportion 
to the "benefits".

* Well, ordinary apart from using two disks in software RAID-1 and LVM, that 
is.

-- 
Regards
Peter



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

* Re: [gentoo-user] Re: Ruby is borked on my system
  2014-06-27 16:39     ` covici
  2014-06-27 20:58       ` Neil Bothwick
@ 2014-06-28 15:19       ` Tom H
  1 sibling, 0 replies; 8+ messages in thread
From: Tom H @ 2014-06-28 15:19 UTC (permalink / raw
  To: Gentoo User

On Fri, Jun 27, 2014 at 12:39 PM,  <covici@ccs.covici.com> wrote:
> Peter Humphrey <peter@prh.myzen.co.uk> wrote:
>>
>> Some months ago I found myself wondering why I had ruby on this box at all. A
>> little poking around revealed that the only thing that needed it was thin-
>> provisioning. Once I'd added -thin to my USE flags and recompiled lvm2 I could
>> get rid of ruby altogether.
>>
>> This won't suit everybody, I know, but maybe it's worth considering.
>
> What exactly does this do -- is it for a thin client or something?

http://wiki.gentoo.org/wiki/LVM#Thin_provisioning


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

end of thread, other threads:[~2014-06-28 15:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-27  3:36 [gentoo-user] Ruby is borked on my system Ajai Khattri
2014-06-27  6:16 ` [gentoo-user] " Hans de Graaff
2014-06-27  9:13   ` Peter Humphrey
2014-06-27 16:39     ` covici
2014-06-27 20:58       ` Neil Bothwick
2014-06-28  9:25         ` Peter Humphrey
2014-06-28 15:19       ` Tom H
2014-06-27 16:49   ` Ajai Khattri

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