Home arrow Journal arrow Today's Quick Tip: pkg_add Protocol Error Message
Today's Quick Tip: pkg_add Protocol Error Message PDF
Friday, 31 December 2010
If you try to add a package with the following command:

 pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/cvsup-without-gui-16.1h_4.tbz

And you get the error:
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/cvsup-without-gui-16.1h_4.tbz: Protocol error
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/cvsup-without-gui-16.1h_4.tbz' by URL

Than means you probably wanted to do:

 pkg_add -r http://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/All/cvsup-without-gui-16.1h_4.tbz

 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?