NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Clean install 8.1 pkg_add fail



On Sun, Nov 03, 2019 at 05:41:45AM -0000, User wrote:
> I am testing NetBSD 8.1, but after installation, pkg_add fails, internet 
> is OK, PKG_PATH="https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/
> amd64/8.1/ALL/" # export PKG_PATH the server answerd is refuse connection.
> 
> Could someone help, please? nameserver 8.8.8.8
> 

Please try (and check exact case of the url - you had "ALL" instead of "All")

 PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/8.1/All";
                   ~~~                                                 ~~~

instead. Random test example:

> ftp https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/8.1/All/lftp-4.8.4nb3.tgz
Trying [2a04:4e42:1b::262]:443 ...
ftp: Can't connect to `2a04:4e42:1b::262:443': No route to host
Trying 151.101.13.6:443 ...
Requesting https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/8.1/All/lftp-4.8.4nb3.tgz
100% |***********************************|   753 KiB  109.89 KiB/s    00:00 ETA
771692 bytes retrieved in 00:06 (109.88 KiB/s)


Martin


Home | Main Index | Thread Index | Old Index