[OpenIndiana-discuss] [oi-dev] Hipster and custom illumos-gate
Jim Klimov
jim at cos.ru
Thu Apr 24 15:31:05 UTC 2014
Sorry for the noise, I forgot to un-sticky the original hipster publisher:
pkg -R /a set-publisher --non-sticky openindiana.org
Just in case I've also redefined my (file-based) on-nightly repo as preferred (-P -g) and now the update went fast and onto my own gate build :)
Thanks for the suggestions though, versions were probably pretty important too ;)
//Jim
----- Исходное сообщение -----
От: Alexander Pyhalov <alp at rsu.ru>
Дата: Thursday, April 24, 2014 17:09
Тема: Re: [OpenIndiana-discuss] [oi-dev] Hipster and custom illumos-gate
Копия (Cc): OpenIndiana Developer mailing list <oi-dev at openindiana.org>, Discussion list for OpenIndiana <openindiana-discuss at openindiana.org>
> On 04/24/2014 18:53, Jim Klimov wrote:
> > So... based on this suggestion, the hipster illumos-gate
> makefile, and some earlier list posts, I came up with this
> change to my illumos.sh script:
> >
> > # To enable upgrades over `pkg info osnet-incorporation | grep
> Branch:`> # Branch: 0.151.1
> > #export ONNV_BUILDNUM=152
> > #export ONNV_BUILDNUM=151.1.100
> > # http://openindiana.org/pipermail/userland-team/2013-
> August/000261.html> #
> http://comments.gmane.org/gmane.os.openindiana.devel/2906>
> export PKGVERS_BRANCH=3014.0.4.24
> > export BRANCHID=3014.0.4.24
> >
> > Some 47 minutes later I've got an incrementally-rebuilt
> repository which cheerfully includes packages like
> >
> > SUNWcs 0.5.11-3014.0.4.24:20140424T130517Z
> >
> >
> > However, a "pkg -R /a update" still insists on downloading new
> hipster patches with the 0.5.11-2014.0.1.14459:20140423T191935Z
> versions from the internet, rather than quickly installing the
> newer and higher-versioned local equivalents. This happens also
> if I use "-g" to specify a repo explicitly, and when I use a
> file-based repo instead of its http service.
> >
> > I guess nowadays IPS tries to update same-named packages using
> the same repo they were installed from specifically to avoid
> conflicts like these? How should I go about overriding that
> reasonable failsafe mechanism? ;)
> >
>
> I think you should do something like
>
> pkg set-publisher --non-sticky openindiana.org
>
> and perhaps move you publisher upper in publisher list (pkg
> set-publisher --search-after ...)
> --
> Best regards,
> Alexander Pyhalov,
> system administrator of Computer Center of Southern Federal University
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
--
+============================================================+
| |
| Климов Евгений, Jim Klimov |
| технический директор CTO |
| ЗАО "ЦОС и ВТ" JSC COS&HT |
| |
| +7-903-7705859 (cellular) mailto:jimklimov at cos.ru |
| CC:admin at cos.ru,jimklimov at gmail.com |
+============================================================+
| () ascii ribbon campaign - against html mail |
| /\ - against microsoft attachments |
+============================================================+
More information about the OpenIndiana-discuss
mailing list