[cs631apue] pkgin Question

Gabrielle M Mccormack gmccorma at stevens.edu
Sat Sep 21 18:36:29 EDT 2019


Hello,

This is what my terminal returned when I did so:

apue$ ftp ftp.netbsd.org
Trying [2001:470:a085:999::21]:21 ...​
ftp: Can't connect to `2001:470:a085:999::21:21': No route to host​
Trying 199.233.217.201:21 ...​
Connected to ftp.netbsd.org.​
220 ftp.NetBSD.org FTP server (NetBSD-ftpd 20110904) ready.​
Name (ftp.netbsd.org:gmccorma):​
530 User gmccorma may not use FTP.​
ftp: Login failed​
ftp> quit​
221 Thank you for using the FTP service on ftp.NetBSD.org.​
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)​
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.​
pkg_add: 1 package addition failed​
apue$

Could I possibly download the .tgz  to my local machine and transfer it over to the VM?



Gabrielle McCormack

Stevens Institute of Technology

B.E. Software Engineering - 2019

Minor, Computer Science

M.S. Cybersecurity - 2020

U.S. Navy SMART Scholar

SANS Institute Scholar

________________________________
From: cs631apue-bounces at lists.stevens.edu <cs631apue-bounces at lists.stevens.edu> on behalf of Jan Schaumann <jschauma at stevens.edu>
Sent: Friday, September 20, 2019 11:33 PM
To: cs631apue at lists.stevens.edu <cs631apue at lists.stevens.edu>
Subject: Re: [cs631apue] pkgin Question

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

> apue$ pkg_add -v pkgin?
> pkg_add: no pkg found for 'pkgin', sorry.?

I suspect something wrong with your networking on the
system.

Can you make any outgoing network connections from the
system?

Can you talk to ftp.netbsd.org from the system?

Try running

ftp ftp.netbsd.org

and

ftp ${PKG_PATH}

If those work, try adding the explicit package:

pkg_add ${PKG_PATH}/pkgin-0.12.0.tgz

-Jan
_______________________________________________
cs631apue mailing list
cs631apue at lists.stevens.edu
https://lists.stevens.edu/mailman/listinfo/cs631apue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20190921/a76f47e0/attachment-0001.html>


More information about the cs631apue mailing list