[OpenIndiana-discuss] local pkg repo error

Aurélien Larcher aurelien.larcher at gmail.com
Thu Jan 14 20:28:52 UTC 2021


On Thu, Jan 14, 2021 at 9:26 PM Pierfrancesco Caci <ik5pvx at gmail.com> wrote:

> cool thanks, in the meantime I found that I could do this:
>
> root at openindiana:~# pkg list -avHf sudo
> pkg://ik5pvx-repo/security/sudo@1.9.3.1-2020.0.1.0:20210114T173814Z
>  ---
> pkg://openindiana.org/security/sudo@1.9.3.1-2020.0.1.0:20201031T120907Z
>  i--
> pkg://openindiana.org/security/sudo@1.8.31-2020.0.1.0:20200330T162222Z
>   ---
> root at openindiana:~# pkg install ik5pvx-repo/security/sudo
>
> pkg install: The following pattern(s) did not match any allowable
> packages.  Try
> using a different matching pattern, or refreshing publisher information:
>
>         ik5pvx-repo/security/sudo
> root at openindiana:~# pkg install
> pkg://ik5pvx-repo/security/sudo@1.9.3.1-2020.0.1.0:20210114T173814Z
>             Packages to update:   1
>        Create boot environment:  No
> Create backup boot environment: Yes
> [...etc]
>
> It is running my version now, although it didn't take all the modifications
> I did. But that's another story.
>

Congratulations on your first steps :)

>
>
>
> On Thu, Jan 14, 2021 at 9:15 PM Aurélien Larcher <
> aurelien.larcher at gmail.com>
> wrote:
>
> > On Thu, Jan 14, 2021 at 9:08 PM Pierfrancesco Caci <ik5pvx at gmail.com>
> > wrote:
> >
> > > The "rebuild" did the trick, but how do I specify to pkg to install the
> > > version from my repo instead of the official one? The version is the
> same
> > >
> >
> > First you need to allow cross-publisher updates:
> >
> > pfexec pkg set-publisher --non-sticky openindiana
> >
> > so that you can update from a package published at openindiana's repo to
> > yours.
> >
> > Then:
> >
> > pfexec pkg update -g /path/to/repo my_package_name
> >
> > Also you can do:
> >
> > pfexec pkg install -g /path/to/repo my_package_fmri
> >
> > where my_package_fmri is the full package identifier that you can
> > copy/paste from the output of gmake publish.
> >
> >
> >
> >
> >
> >
> >
> > >
> > >
> > > On Thu, Jan 14, 2021 at 8:39 PM Aurélien Larcher <
> > > aurelien.larcher at gmail.com>
> > > wrote:
> > >
> > > > You can even
> > > >
> > > > pkgrepo -s /path/to/repo list
> > > >
> > > > to make sure it was published where you think it was.
> > > >
> > > > On Thu, 14 Jan 2021, 8:10 pm Aurélien Larcher, <
> > > aurelien.larcher at gmail.com
> > > > >
> > > > wrote:
> > > >
> > > > > You can try to:
> > > > >
> > > > > pkgrepo -s /path/to/repo rebuild
> > > > >
> > > > > to update the repo index.
> > > > >
> > > > > On 1/14/21, Pierfrancesco Caci <ik5pvx at gmail.com> wrote:
> > > > > > Hello,
> > > > > > I'm trying to learn how to recompile a package and put it in a
> > local
> > > > > repo.
> > > > > > I've followed the ips-dev-guide.pdf for setting up the repo, and
> > the
> > > > > > "Getting started with the Userland Consolidation" from github.
> > > > > > I got the package to compile and copy to the repo (gmake
> publish),
> > > but
> > > > > when
> > > > > > I try to search for that package with "pkg search sudo" I get
> this
> > > > error:
> > > > > >
> > > > > > pkg: Some repositories failed to respond appropriately:
> > > > > > ik5pvx-repo:
> > > > > >   file protocol error: code: E_FTP_WEIRD_PASS_REPLY (11) reason:
> > > Search
> > > > > > temporarily unavailable.
> > > > > > Repository URL: 'file:///export/home/ik5pvx/my-repo'. (happened 4
> > > > times)
> > > > > >
> > > > > > What am I doing wrong?
> > > > > >
> > > > > > Pf
> > > > > >
> > > > > > --
> > > > > >  Pierfrancesco Caci, ik5pvx
> > > > > > _______________________________________________
> > > > > > openindiana-discuss mailing list
> > > > > > openindiana-discuss at openindiana.org
> > > > > > https://openindiana.org/mailman/listinfo/openindiana-discuss
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > ---
> > > > > Praise the Caffeine embeddings
> > > > >
> > > > _______________________________________________
> > > > openindiana-discuss mailing list
> > > > openindiana-discuss at openindiana.org
> > > > https://openindiana.org/mailman/listinfo/openindiana-discuss
> > > >
> > >
> > >
> > > --
> > >  Pierfrancesco Caci, ik5pvx
> > > _______________________________________________
> > > openindiana-discuss mailing list
> > > openindiana-discuss at openindiana.org
> > > https://openindiana.org/mailman/listinfo/openindiana-discuss
> > >
> >
> >
> > --
> > ---
> > Praise the Caffeine embeddings
> > _______________________________________________
> > openindiana-discuss mailing list
> > openindiana-discuss at openindiana.org
> > https://openindiana.org/mailman/listinfo/openindiana-discuss
> >
>
>
> --
>  Pierfrancesco Caci, ik5pvx
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


-- 
---
Praise the Caffeine embeddings


More information about the openindiana-discuss mailing list