[OpenIndiana-discuss] local pkg repo error
Aurélien Larcher
aurelien.larcher at gmail.com
Thu Jan 14 20:15:34 UTC 2021
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
More information about the openindiana-discuss
mailing list