Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Dec 2017 12:30:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 224023] ports-mgmt/pkg: upgrading to pkg-1.10.2_1 makes "pkg version" do weird things
Message-ID:  <bug-224023-32340-anTDF4QMhu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224023-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224023-32340@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #2 from Baptiste Daroussin <bapt@FreeBSD.org> ---
This is because we are not matching anymore on origin. Because origin is not
unique anymore (flavors). We are now matching on the package name. in case of
lang/perl5.26 we are looping in the index for a package named "perl5-<version>"
in your case you decided to have the latest perl5 as the default perl version
but on FreeBSD, so in the INDEX the default is 5.24.3.

So pkg will lookup for lang/perl5.26, get the package name: perl5-5.26, extract
the package name "perl5" lookup for it in the INDEX and find perl5-5.24.3 and
tells you you have a newer version.

Concerning the segmentation fault it is being tracked down right now, will fix
asap.

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

help

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