Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2014 14:16:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 193195] lang/ruby21 deleted lang/ruby19
Message-ID:  <bug-193195-32340-XF1eLFI4os@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193195-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193195-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193195

Steve Wills <swills@FreeBSD.org> changed:

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

--- Comment #2 from Steve Wills <swills@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 on the CC list for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193195-32340-XF1eLFI4os>