Make dependency if locale of app is installed

Set localisation above english for end user

Reproduce:
First install
install luci-i18n-openvpn-pl , realize pressing button start (in ui aka LUCI) doesnt work [ WITH ALL KEPT CONFIGS]
, realize dependencies are not realized

/etc/init.d/openvpn enable && /etc/init.d/openvpn start

says not found

solution:

root@OpenWrt:~# /etc/init.d/openvpn enable && /etc/init.d/openvpn start
-ash: /etc/init.d/openvpn: not found
root@OpenWrt:~# opkg update && opkg install openvpn-openssl openssl-util luci-app-openvpn
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/ar71xx/tiny/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/ar71xx/tiny/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/telephony/Packages.sig
Signature check passed.
Installing openvpn-openssl (2.4.5-3) to root...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/base/openvpn-openssl_2.4.5-3_mips_24kc.ipk
Installing kmod-tun (4.9.111-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.0/targets/ar71xx/tiny/packages/kmod-tun_4.9.111-1_mips_24kc.ipk
Installing liblzo (2.10-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/base/liblzo_2.10-1_mips_24kc.ipk
Installing libopenssl (1.0.2o-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/base/libopenssl_1.0.2o-1_mips_24kc.ipk
Installing openssl-util (1.0.2o-1) to root...
Downloading http://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/base/openssl-util_1.0.2o-1_mips_24kc.ipk
Package luci-app-openvpn (git-18.213.60274-7d69fa6-1) installed in root is up to date.
Configuring kmod-tun.
Configuring libopenssl.
Configuring openssl-util.
Configuring liblzo.
Configuring openvpn-openssl.
Collected errors:
 * resolve_conffiles: Existing conffile /etc/config/openvpn is different from the conffile in the new package. The new conffile will be placed at /etc/config/openvpn-opkg.
root@OpenWrt:~#

@jow-


https://openwrt.org/docs/guide-user/services/vpn/openvpn/server.setup

I don't understand what you mean.

how to say it its pointless to install luci-i18n-openvpn-pl for example if its doesnt install it dependencies in case u have all settings 100% good [ FROM EARLIER release]
so this luci-i18n-openvpn-pl was missing :

Package luci-app-openvpn (git-18.213.60274-7d69fa6-1) installed in root is up to date.
Configuring kmod-tun.
Configuring libopenssl.
Configuring openssl-util.
Configuring liblzo.
Configuring openvpn-openssl.

Ok. Please report such issues in the LuCI bug tracker so that they do not get lost.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.