horemachet
Dabbler
- Joined
- Apr 20, 2012
- Messages
- 11
Hi Folks,
I'm doing some testing on freenas and just wanted to install curl. As far as I understand one can install additional Software with pkg_add.
I tried to install curl via pkg_add in order to do http requests from shell scripts. Just like 'curl "http://192.168.2.10/tgi/control.tgi?login=p:***:yyyy&p=0000" '
However, I get an error message like below.
What am I doing wrong?
pkg_add -r curl
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/Latest/curl.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/ca_root_nss-3.13.3.tbz... Done.
share/certs/ca-root-nss.crt: Failed to create dir 'share/certs'Can't create 'share/certs/ca-root-nss.crt'
tar: Error exit delayed from previous errors.
pkg_add: extract_plist: can not invoke 89 byte tar pipeline: /usr/bin/tar cf - share/certs/ca-root-nss.crt|/usr/bin/tar --unlink -xpPf - -C /usr/local
pkg_add: pkg_add of dependency 'ca_root_nss-3.13.3' failed!
[root@freenas] /usr/local/bin#
Regards and merry Christmas!
Karsten
I'm doing some testing on freenas and just wanted to install curl. As far as I understand one can install additional Software with pkg_add.
I tried to install curl via pkg_add in order to do http requests from shell scripts. Just like 'curl "http://192.168.2.10/tgi/control.tgi?login=p:***:yyyy&p=0000" '
However, I get an error message like below.
What am I doing wrong?
pkg_add -r curl
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/Latest/curl.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.3-release/All/ca_root_nss-3.13.3.tbz... Done.
share/certs/ca-root-nss.crt: Failed to create dir 'share/certs'Can't create 'share/certs/ca-root-nss.crt'
tar: Error exit delayed from previous errors.
pkg_add: extract_plist: can not invoke 89 byte tar pipeline: /usr/bin/tar cf - share/certs/ca-root-nss.crt|/usr/bin/tar --unlink -xpPf - -C /usr/local
pkg_add: pkg_add of dependency 'ca_root_nss-3.13.3' failed!
[root@freenas] /usr/local/bin#
Regards and merry Christmas!
Karsten