[cs631apue] pkgin Question

Jan Schaumann jschauma at stevens.edu
Sat Sep 21 22:26:16 EDT 2019


Gabrielle M Mccormack <gmccorma at stevens.edu> wrote:

> apue$ ftp ${PKG_PATH}?
> Trying [2001:470:a085:999::21]:80 ...?
> ftp: Can't connect to `2001:470:a085:999::21:80': No route to host?
> Trying 199.233.217.201:80 ...?
> Requesting http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.1/All?
> Redirected to http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.1/All/?
> Trying [2001:470:a085:999::21]:80 ...?
> ftp: Can't connect to `2001:470:a085:999::21:80': No route to host?
> Trying 199.233.217.201:80 ...?
> Requesting http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.1/All/?
>   2159 KiB  699.12 KiB/s?
> 2211317 bytes retrieved in 00:03 (699.08 KiB/s)?

Ok, so that works.

You should be able to fetch the package then via

ftp ${PKG_PATH}/pkgin-0.12.0.tgz

and the you can manually install it via

pkg_add ./pkgin-0.12.0.tgz

> apue$ pkg_add ${PKG_PATH}/pkgin-0.12.0.tgz?
> pkg_add: no pkg found for 'http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/8.1/All/pkgin-0.12.0.tgz', sorry.?

I don't understand why this error occurs on your
system.  If you followed the installation instructions
I provided, this shouldn't happen and the package
installation should have worked.

You can of course download the binary package from
anywhere and copy it to your VM and try to install it
from there, but if the simple package addition doesn't
work, then chances are there's some other problem
that'll eventually come back to cause more issues.

-Jan


More information about the cs631apue mailing list