[Bug 193195] lang/ruby21 deleted lang/ruby19

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 31 14:16:21 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193195

Steve Wills <swills at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |In Discussion
                 CC|                            |swills at FreeBSD.org

--- Comment #2 from Steve Wills <swills at FreeBSD.org> ---
(In reply to gja822 from comment #0)
> uname: FreeBSD --- 9.3-RELEASE FreeBSD 9.3-RELEASE #5 r270286M amd64
> 
> I'm updgrading ports and I had these lines in pkg version output:
> ruby-1.9.3.547,1                   <   needs updating (index has
> 1.9.3.547_1,1)
> ruby21-2.1.2,1                     <   needs updating (index has 2.1.2_1,1)
> 
> Trying to upgrade the latter got "install error". 

Would need more detail on the exact error message.

> Then I manually typed from
> lang/ruby21 "make deinstall", I saw that not ruby21, but ruby19 was
> deinstalling!
> I have DEFAULT_VERSIONS ruby=2.1 in make.conf.

Seeing "ruby-1.9.3.547,1" instead of "ruby19-1.9.3.547,1" tells me that ruby
1.9 *was* your default ruby when you installed it. Having
DEFAULT_VERSIONS=ruby=2.1 then running "make deinstall" in lang/ruby21, which
was currently set to default, tries to uninstall your default ruby, which in
this case was 1.9. So this actually isn't surprising and I'm not sure it's
incorrect.

> Now  I can't deinstall ruby21 ("which is in conflict with ruby-2.1").

Would need to see the detailed error message on this.

> If I
> try to "pkg delete ruby21-2.1.2,1" I'll have to delete a huge bunch of
> dependant packages, that is not I want, unless I could easily reinstall them.

This is just a side effect of having changed your default ruby. If we had ever
had it so that the default ruby was only used at build time and all packages
had the version suffix (19,20,21), you may not have this problem. But
currently, changing default ruby version doesn't work this way.

> Something is definitely wrong.

I'm not so sure. I think this is just related to changing your default ruby
version.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ruby mailing list