OpenWrt Forum Archive

Topic: Cannot install DNScrypt => SOLVED

The content of this topic has been archived on 26 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm trying to install DNScrypt using the receipe at

http://wiki.openwrt.org/inbox/dnscrypt

Ive edited /etc/opkg.conf

to append this line

src/gz exopenwrt http://exopenwrt.rlnd.black/barrier_breaker/14.07/ar71xx/packages/exopenwrt

when I run opkg update there are no errors

But when I try to install the package from LuCI (Software > download and install package) I get

Collected errors:
 * opkg_conf_parse_file: /etc/opkg.conf:1: Ignoring invalid line: `est ram /tmp'
 * opkg_install_cmd: Cannot install package dnscrypt-proxy.

Any idea what is going on?

(Last edited by wayne1958 on 20 Oct 2015, 18:34)

anyone?

That doesn't look like the complete error message, if the package was not found it should say "Unknown package" at the top.

arokh wrote:

That doesn't look like the complete error message, if the package was not found it should say "Unknown package" at the top.

just tried it again and that was the entire error......does this suggest that it is found but for some reason cannot install?

To me looks like your /etc/opkg.conf is messed up.
Care to post the complete file (somewhere like pastebin and link it from reply)?

Yeah, it's missing a letter from "dest ram /tmp" but says it's ignored. You could always just download the packages manually and use opkg to install.

Hi arokh and stangri

here's the /etc/opkg.conf file....does this give any clues?

est ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/base
src/gz barrier_breaker_luci http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/luci
src/gz barrier_breaker_packages http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/packages
src/gz barrier_breaker_routing http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/routing
src/gz barrier_breaker_telephony http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/telephont
src/gz barrier_breaker_management http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/management
src/gz barrier_breaker_oldpackages http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/oldpackages
src/gz exopenwrt http://exopenwrt.rlnd.black/barrier_breaker/14.07/ar71xx/packages/exopenwrt

Like I said, you messed up your opkg.conf file.
Delete the first line of your file and add these two lines at the top:

dest root /
dest ram /tmp
stangri wrote:

Like I said, you messed up your opkg.conf file.
Delete the first line of your file and add these two lines at the top:

dest root /
dest ram /tmp

fixed it perfectly - many thanks!!!!

(Last edited by wayne1958 on 20 Oct 2015, 18:33)

The discussion might have continued from here.