Hello, Donald

Perhaps you should try:

1-  doas echo "https://ftp.openbsd.org/pub/OpenBSD"; > /etc/installurl (or
any other mirror you like)
and then again doas pkg_add rust


I certainly do not know exactly the process and all stuff, but maybe you
should get help in the faq page ( https://www.openbsd.org/faq/upgrade61.html
)  since it says something like:


   - *pkg.conf(5) no longer supported.* The pkg_* tools now use the
   installurl(5) <http://man.openbsd.org/OpenBSD-6.1/installurl.5> file to
   find the main package repository. If you install or upgrade from a mirror,
   this file is created automatically. Verify that /etc/installurl points
   to your preferred mirror and that the URI does *not* end in /6.1 (which
   may happen due to a bug in the installer).

   If necessary, please create the /etc/installurl file manually with your
   preferred mirror <https://www.openbsd.org/ftp.html>:

     *echo 'https://your.mirror/pub/OpenBSD
<https://your.mirror/pub/OpenBSD>' > /etc/installurl*

   Since the pkg.conf(5) <http://man.openbsd.org/OpenBSD-6.0/pkg.conf.5> file
   will no longer be used by tools, you may remove it:

     *rm /etc{,/examples}/pkg.conf*

   Use the PKG_PATH environment variable in case you need to specify more
   than one repository.

Or just in case in the pkg management part:

https://www.openbsd.org/faq/faq15.html#PkgMgmt


2 - If all of this does not work for you,maybe you should do a fresh
install instead of an upgrade and try again, if it solves, then something
weird happened during the upgrade process.


I hope that this information will help you.

Best Reggards

Manuel



On Fri, May 5, 2017 at 10:01 PM, Donald Allen <donaldcal...@gmail.com>
wrote:

> The /etc/installurl file is not present on either of my 'current'
> systems. Reading the man pages, it looks to me like installurl is
> related to the new syspatch facility, which I believe is for tracking
> the STABLE branch. As I said, I'm running CURRENT, so if I've got all
> this right, the fact that /etc/installurl isn't present on my systems
> is not surprising.
>
> Also, if you look at the pkg_add man page, PKG_PATH is documented
> without any mention that it is deprecated.
>
> I'm pretty sure I can work around this problem by building the rust
> port, though I think it takes quite a while to do this. But I'm still
> puzzled that a 'current' package would be looking for a libc version
> newer than that supplied by the latest snapshot.
>
> On 5 May 2017 at 19:47, Kapfhammer, Stefan <sk...@skapf.de> wrote:
> > Hello Donald,
> >
> > PKG_PATH is deprecated since 6.1-RELEASE.
> >
> > Use /etc/installurl instead.
> >
> > https://man.openbsd.org/installurl
> >
> >
> > Freundliche Grüße / Regards
> > -stefan kapfhammer
> >   Originalnachricht
> > Von: Donald Allen
> > Gesendet: Freitag, 5. Mai 2017 20:16
> > An: OpenBSD general usage list
> > Betreff: Version skew?
> >
> >
> > I am running current on an amd64 system. I updated the system from the
> > latest (5/4) snapshot this morning, downloaded from the Alberta site.
> > But I am (still) unable to install the following package:
> >
> >  doas /usr/sbin/pkg_add rust
> > quirks-2.319 signed on 2017-05-03T14:53:25Z
> > Can't install rust-1.16.0 because of libraries
> > |library c.89.5 not found
> > | /usr/lib/libc.so.89.3 (system): minor is too small
> > | /usr/lib/libc.so.89.4 (system): minor is too small
> > Direct dependencies for rust-1.16.0 resolve to gcc-libs-4.9.4p4
> > Full dependency tree is gcc-libs-4.9.4p4
> >
> > This is with
> >
> > PKG_PATH=https://ftp.OpenBSD.org/pub/OpenBSD/snapshots/packages/amd64
> >
> > The /etc/doas.conf uses the KEEPENV option for /usr/sbin/pkg_add.
> >
> > What I am not clear about is why a package would require a library
> > with a greater minor version (and presumably newer) than that supplied
> > by the most recent snapshot? If someone could explain this I'd
> > appreciate it.
> >
> > /Don Allen
> >
>
>


-- 
Ing. Manuel Solís Agüero
Corporativo Los Solises
Cel: (871) 108 6000
Tel: (871) 721 6303

Reply via email to