Page 2 of 8

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Thu Mar 17, 2016 5:18 pm
by Kapitein Haak
Thanks Philippe!!!

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Fri Mar 18, 2016 8:45 pm
by dhstsw
father.mande wrote:Hi,
dhstsw wrote:Hi,
mega link reports missing file.
Solved.

Philippe.
Thanks! :)

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Thu Mar 31, 2016 11:18 pm
by father.mande
Hi,

Just discover 2 bugs : (patch for the second will be delivered soon ... sorry)

[Know BUGS]
Version APKG : 0.96 (current)
1 in x86 32 bits version (ONLY) the opkg program is NOT executable ... JUST AFTER INSTALL in a console do :
chmod a+x /usr/local/AppCentral/entware-ng/opt/bin/opkg (sorry ... )
2 A conflict exist with VirtualBox APKG for x86_64 (VirtualBox require to don't have link in /opt PATH
A patch is written ... and under test (by another user than myself ... ) on his return ... I will publish this PATCH can be apply (to preserve the future) to ALL entware-ng delivery based on 0.96 version ...
A next updated version integrate this patch for new install (but you can do now the job if you need an urgent fresh install)

Apologize for the annoying situation ...

Philippe.

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Fri Apr 01, 2016 8:51 pm
by dhstsw
Hi Philippe,

don't know if it's related / due to entware.

Since i installed it i'm not able to access my crontab in the normal way, meaning:

Code: Select all

root@asustor:/volume1/.@root # crontab -e
crontab: can't change directory to '/opt/var/spool/cron/crontabs': No such file or directory
In fact, crons are under /var/spool/cron/crontabs (without the /opt). So, i guess the path for crontab has somewhat been changed.
I repeat, I don't know if it's because of entware installation, i'm writing here because this started happening after installing it.

And, being a complete linux noob, i don't know how to fix it :-(

thanks.

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Fri Apr 01, 2016 9:19 pm
by father.mande
Hi,

Use full path-name (best solution) :
/usr/bin/crontab AND NOT short crontab

It's certainly due to the install of a package in Entware that also install Entware cron ... and due to the fact ... that search (of program) will be done using PATH variable with /opt/bin and /opt/sbin in front (so first for searching a command)

You will certainly suppress the opkg cron package OR change the PATH order before using some command
if echo $PATH done something like this :

Code: Select all

# echo $PATH
/opt/bin:/opt/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/builtin/sbin:/usr/builtin/bin:/usr/local/sbin:/usr/local/bin:
change it to
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/builtin/sbin:/usr/builtin/bin:/usr/local/sbin:/usr/local/bin:/opt/bin:/opt/sbin

to have internal command (busybox one) before complete opkg one ...

if it's ONLY for one command (crontab) ... use full pathname and is enough ... if you have other problems ... ask me ... I will do a small patch to change the order ... on demand ... (in fact simple line to change in /opt/etc/profile (export PATH=/opt/bin:/opt/sbin:$PATH to export PATH=$PATH:/opt/bin:/opt/sbin ) ... after that all new ssh session will have reduced set of command (busybox) first and oblige you to use full path-name for opkg command set ... BUT you lost full GNU command ... and some opkg packages don't work as well ...

Philippe.

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Sat Apr 02, 2016 1:11 am
by Cheval
Currently can not move based on two critical items not in the list of downloadable packages:
- dpsam (yes its old so if spamassasin was there I could move to that instead)
- socat (just started using this for tvheadend but require the ability to cat to a socket for loading EPG data)

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Sat Apr 02, 2016 2:52 am
by father.mande
Hi,
Cheval wrote:Currently can not move based on two critical items not in the list of downloadable packages:
- dpsam (yes its old so if spamassasin was there I could move to that instead)
- socat (just started using this for tvheadend but require the ability to cat to a socket for loading EPG data)

socat is include ... "socat - 1.7.3.0-2"
dpsam not ... so request it to Openwrt dev. group ... here is a good place : https://github.com/Entware-ng/Entware-ng/issues

Philippe.

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Sat Apr 02, 2016 4:13 am
by dhstsw
father.mande wrote:Hi,

Use full path-name (best solution) :
/usr/bin/crontab AND NOT short crontab
Thanks Philippe, i'll go for the simple way :)

Cheers.

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Mon Apr 04, 2016 8:57 pm
by father.mande
Hi,

PATCH (possible on ALL NAS models) ... is delivered to solve problem for conflict with Virtualbox

This patch will be available for ALL models (to keep coherency ... ) and will be include in V. 0.97 ...

PATCH : http://forum.asustor.com/viewtopic.php?f=42&t=7695

Philippe.

Re: [APKG Entware-ng] Total replace Astware & Optware include 64 bits version

Posted: Sat Apr 16, 2016 9:23 pm
by father.mande
Hi,

Version 0.97 is now available

Changelog :
Patch to coexist with Virtualbox is included
bugs cfix
Automatic opkg update and opkg upgrade on new or upgrade install ...
version support libraries 2.23

download in first post.

Philippe.