Getting "unrecognized option" error while using command opkg update

274 views
Skip to first unread message

jatin jain

unread,
Apr 12, 2016, 1:44:55 AM4/12/16
to opkg-devel
Hello,

I am using command    "opkg update" and i am going the following error -

wget: server returned error: HTTP/1.1 403 Forbidden
Collected errors:
 * opkg_conf_set_option: Unrecognized option: ssl_key=/home/key
 * opkg_conf_set_option: Unrecognized option: ssl_key_type=PEM
 * opkg_conf_set_option: Unrecognized option: ssl_cert=/home/cert
 * opkg_conf_set_option: Unrecognized option: ssl_cert_type=PEM
 * opkg_conf_set_option: Unrecognized option: ssl_key_passwd=home/pass
 * opkg_conf_set_option: Unrecognized option: ssl_ca_file=/home/ca_file/ca.pem
 * opkg_conf_set_option: Unrecognized option: ssl_ca_path=/home/ca_file

i have build opkg with folllowing configure options


./configure --prefix=/usr --enable-sha256=yes --enable-openssl=yes --enable-ssl-curl=yes 


and in opkg.conf file i have done following setting

dest root /
option lists_dir /opt//snapshot
option cache_dir /opt//download
option ssl_key /home/key
option ssl_key_type PEM
option ssl_cert /home/cert
option ssl_cert_type PEM
option ssl_key_passwd home/pass
option ssl_ca_file /home/ca_file/ca.pem
option ssl_ca_path /home/ca_file
src remote https://172.231.56.89:/home


Regards
Jatin Jain

Alejandro del Castillo

unread,
Apr 17, 2016, 8:19:28 PM4/17/16
to opkg-...@googlegroups.com, jatinv...@gmail.com


On 04/12/2016 12:44 AM, jatin jain wrote:
> Hello,
>
> I am using command "opkg update" and i am going the following error -
>
> wget: server returned error: HTTP/1.1 403 Forbidden
> Collected errors:
> * opkg_conf_set_option: Unrecognized option: ssl_key=/home/key
> * opkg_conf_set_option: Unrecognized option: ssl_key_type=PEM
> * opkg_conf_set_option: Unrecognized option: ssl_cert=/home/cert
> * opkg_conf_set_option: Unrecognized option: ssl_cert_type=PEM
> * opkg_conf_set_option: Unrecognized option: ssl_key_passwd=home/pass
> * opkg_conf_set_option: Unrecognized option:
> ssl_ca_file=/home/ca_file/ca.pem
> * opkg_conf_set_option: Unrecognized option: ssl_ca_path=/home/ca_file
>
> i have build opkg with folllowing configure options
>
>
> ./configure --prefix=/usr --enable-sha256=yes --enable-openssl=yes
> --enable-ssl-curl=yes

--enable-ssl-curl and --enable-curl default to "yes", which should set
HAVE_SSLCURL and HAVE_CURL correspondingly. Those # defines are used to
enable the options that are erroring out in your case (check opkg_conf.c).

Which version of opkg are you using? Can you check your config.h to make
sure both SSLCURL and HAVE_CURL are set to 1?

> and in opkg.conf file i have done following setting
>
> dest root /
> option lists_dir /opt//snapshot
> option cache_dir /opt//download
> option ssl_key /home/key
> option ssl_key_type PEM
> option ssl_cert /home/cert
> option ssl_cert_type PEM
> option ssl_key_passwd home/pass
> option ssl_ca_file /home/ca_file/ca.pem
> option ssl_ca_path /home/ca_file
> src remote https://172.231.56.89:/home


--
Cheers,

Alejandro
Reply all
Reply to author
Forward
0 new messages