Page 1 of 1

Install Entware-ng

Posted: Sat 17. Aug 2019, 00:58
by Robby
Hallo
Bekomme Entware nicht volkommen Installiert.
Habe den NAS542 mit V5,21 Raid1
Nach der Installirung von 20181002zypkg006 und änderung Link "http://metarepo.tk/Users/Mijzelf/...."
in der Config,werden Packete nach installiert.
Doch nach 1."opkg update" und 1."opkg upgrade" noch alles OK.
Doch jedes weiter befehl wird mit "Segmentation fault" beantwortet.
Über die App-seite kommt auch nur ein "404 Not Found nginx/1.6.2 "
Hier das Logdatei
-------------------------------
BusyBox v1.19.4 (2018-11-08 14:45:54 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@Robby-Nas:/home/shares# opkg update
Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading http://metarepo.tk/Users/Mijzelf/Entwar ... ackages.gz
Updated list of available packages in /opt/var/opkg-lists/Mijzelf
root@Robby-Nas:/home/shares# opkg list transmission
root@Robby-Nas:/home/shares# opkg install transmission-web
Installing transmission-web (2.94-4) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/tra ... -4_all.ipk
Configuring transmission-web.
root@Robby-Nas:/home/shares# opkg update
Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading http://metarepo.tk/Users/Mijzelf/Entwar ... ackages.gz
Updated list of available packages in /opt/var/opkg-lists/Mijzelf
root@Robby-Nas:/home/shares# opkg upgrade
Upgrading terminfo on root from 6.0-1c to 6.1-4...
Downloading http://bin.entware.net/armv7sf-k2.6/ter ... v7-2.6.ipk
Upgrading ldconfig on root from 2.23-6 to 2.23-8...
Downloading http://bin.entware.net/armv7sf-k2.6/ldc ... v7-2.6.ipk
Upgrading libc on root from 2.23-6 to 2.23-8...
Downloading http://bin.entware.net/armv7sf-k2.6/lib ... v7-2.6.ipk
Upgrading locales on root from 2.23-6 to 2.23-8...
Downloading http://bin.entware.net/armv7sf-k2.6/loc ... v7-2.6.ipk
Installing grep (3.3-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/gre ... v7-2.6.ipk
Installing libpcre (8.43-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/lib ... v7-2.6.ipk
Upgrading opkg on root from 2011-04-08-9c97d5ec-17a to 2019-01-31-d4ba162b-1...
Downloading http://bin.entware.net/armv7sf-k2.6/opk ... v7-2.6.ipk
Upgrading libpthread on root from 2.23-6 to 2.23-8...
Downloading http://bin.entware.net/armv7sf-k2.6/lib ... v7-2.6.ipk
Upgrading libstdcpp on root from 6.3.0-6 to 7.4.0-8...
Downloading http://bin.entware.net/armv7sf-k2.6/lib ... v7-2.6.ipk
Removing obsolete file /opt/lib/libstdc++.so.6.0.22.
Removing obsolete file /opt/lib/libstdc++.so.6.0.22-gdb.py.
Upgrading libgcc on root from 6.3.0-6 to 7.4.0-8...
Downloading http://bin.entware.net/armv7sf-k2.6/lib ... v7-2.6.ipk
Upgrading librt on root from 2.23-6 to 2.23-8...
Downloading http://bin.entware.net/armv7sf-k2.6/lib ... v7-2.6.ipk
Upgrading findutils on root from 4.6.0-1 to 4.6.0-3...
Downloading http://bin.entware.net/armv7sf-k2.6/fin ... v7-2.6.ipk
Upgrading libssp on root from 6.3.0-6 to 7.4.0-8...
Downloading http://bin.entware.net/armv7sf-k2.6/lib ... v7-2.6.ipk
Upgrading entware-opt on root from 222108-6 to 227000-3...
Downloading http://bin.entware.net/armv7sf-k2.6/ent ... -3_all.ipk
Installing entware-release (1.0-2) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/ent ... -2_all.ipk
Installing zoneinfo-asia (2019a-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/zon ... v7-2.6.ipk
Installing zoneinfo-europe (2019a-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/zon ... v7-2.6.ipk
Installing entware-upgrade (1.0-1) to root...
Downloading http://bin.entware.net/armv7sf-k2.6/ent ... -1_all.ipk
Configuring libgcc.
Configuring libc.
Configuring libssp.
Configuring libpthread.
Configuring librt.
Configuring terminfo.
Configuring ldconfig.
Configuring libstdcpp.
Configuring libpcre.
Configuring grep.
Configuring locales.
Entware uses separate locale-archive file independent from main system
You can download locale sources from http://bin.entware.net/other/i18n_glib223.tar.gz
You can add new locales to Entware using /opt/bin/localedef.new
Configuring entware-upgrade.
Upgrade operations are not required
Configuring opkg.
Configuring zoneinfo-europe.
Configuring zoneinfo-asia.
Configuring entware-release.
Configuring findutils.
Configuring entware-opt.
root@Robby-Nas:/home/shares# opkg install transmission-web
Segmentation fault
root@Robby-Nas:/home/shares# reboot
root@Robby-Nas:/home/shares#
---------------------------------
Wäre schön wenn mir jemand helfen könte
MFG

Re: Install Entware-ng

Posted: Sat 17. Aug 2019, 08:42
by Mijzelf
Hm. libc and libpthread are updated, and virtually everything is dependent on that. So on first sight I'd expect a bug in one of those, causing a segfault in opkg. But according to Entware the last update is 3 months ago, and there are no related issues filed. It's unlikely that you would be the first to find that bug, after 3 months.
So I think something went wrong on your box. Have you already tried a reboot?

Re: Install Entware-ng

Posted: Sat 17. Aug 2019, 09:08
by Robby
Hello Mijzelf
Yes I did when reset and also shut down.
install several times, always the same.
an "update" and "upgrade" I can do after "Segmentation fault" do you have a suggestion?


sorry for my "Googlle translator" :-)

Re: Install Entware-ng

Posted: Sun 18. Aug 2019, 13:08
by Mijzelf
OK, I was able to reproduce and solve it. It's a bug in opkg (2019-05-24), I think. When the package descriptions contain empty fields, opkg segfaults when it tries to read it. And as the 'Mijzelf' Packages.gz contains empty fields, it triggers the bug.
I have changed the Packages.gz file. So if you now delete the local copy, and update again, the problems should be solved.

Code: Select all

rm /opt/var/opkg-lists/Mijzelf
opkg update
Robby wrote:sorry for my "Googlle translator" :-)
This is a German forum, and I'm fine with reading German. Unfortunately I'm not self-confident enough to try to write it.

Re: Install Entware-ng

Posted: Tue 20. Aug 2019, 17:09
by Robby
Danke Mijzelf
Leider brachte auch das kein Erfolg :-/
Habe es so gemacht
wget http://pkg.entware.net/binaries/armv7/i ... install.sh
chmod +x ./entware_install.sh
./entware_install.sh