NAS326 Frage zu Entware, Meta-Repository
Roberto8
Posts: 3 Freshman Member
Ich habe Entware installiert. Entware hat kein Icon?
Aber die Package-Liste ist leer, Fehler 404.
Außerdem:
root@NAS326:/# opkg update
#NAS_Mar_2019
Aber die Package-Liste ist leer, Fehler 404.
Außerdem:
root@NAS326:/# opkg update
-sh: opkg: command not found
Was kann ich tun. Habe schon mehrmals Entware installiertund deinstalliert - aber ohne Erfolg.
Vielen Dank für Eure Hilfe
Gruß Robert
Was kann ich tun. Habe schon mehrmals Entware installiertund deinstalliert - aber ohne Erfolg.
Vielen Dank für Eure Hilfe
Gruß Robert
#NAS_Mar_2019
0
All Replies
-
It's right that there is no icon. And also that the packages page in the webinterface gives a 404. The latter is caused by an automagic update to Entware 3, which confuses the web backend. That's only cosmetical, though.Your actual problem is probably caused by the package profile-hook not being installed. More info here:
0 -
How to install Profile-Hook??The link does not include how to install the missing profile hook. Also anywhere else on the Internet to find. Funny that only I have this problem. Today I again took a new hard drive and rebuilt Zyxel-Nas - same problem. Why does not work.Profile Hook is not installed and not documented.I hope someone can help me, or how do the other users?0
-
How to install Profile-Hook??
<div>su<br></div><div>/opt/bin/opkg update</div><div><br></div><div>/opt/bin/opkg install profile-hook</div>
Funny that only I have this problem.That thread I pointed to is from another 326 having the same problem. May the oldest logfile (downloadable via the webinterface) can tell why it doesn't work.
0 -
Unfortunately, no success!
~ # /opt/bin/opkg update
Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gzUpdated list of available packages in /opt/var/opkg-lists/entwareCollected errors:* opkg_conf_parse_file: Duplicate src declaration (entware http://bin.entware.net/armv7sf-k2.6). Skipping.~ # /opt/bin/opkg install profile-hook Unknown package 'profile-hook'. Collected errors: * opkg_conf_parse_file: Duplicate src declaration (entware http://bin.entware.net/armv7sf-k2.6). Skipping. * opkg_install_cmd: Cannot install package profile-hook. ~ #
0 -
I think your /opt/etc/opkg.conf file is corrupted. The Entware-ng package installs Entware-ng, but meanwhile Entware-ng is deprecated, and updates itself to Entware during install.I have fixed that problem, but it's not thoroughly tested, and the package is only available using the zyxel.diskstation.eu repo.The contents of the file on my system are:
src/gz entware http://bin.entware.net/armv7sf-k2.6<br><div>src/gz Mijzelf http://downloads.zyxel.nas-central.org/Users/Mijzelf/Entware-ng/binaries/armv7<br>dest root /<br>dest ram /opt/tmp<br>lists_dir ext /opt/var/opkg-lists<br>option tmp_dir /opt/tmp<br>arch all 100<br>arch armv7soft 150<br>arch armv7-2.6 160<br></div>
0 -
Hi,I already tried a clean install and am using the correct repo (disk station)
Opened logfile at Tue Jul 30 21:20:10 IDT 2019 Flushing memory buffer Starting up Flushing done [21:20:10] Create symlink /opt -> /i-data/df3086ca/.PKG/Entware-ng/opt [21:20:10] /opt/etc/init.d/rc.unslung is not available, start installer [21:20:10] Info: Opkg package manager deployment... [21:20:10] Connecting to pkg.entware.net (104.27.177.50:80) [21:20:10] opkg 100% |*******************************| 124k 0:00:00 ETA [21:20:10] Connecting to pkg.entware.net (104.27.177.50:80) [21:20:11] opkg.conf 100% |*******************************| 142 0:00:00 ETA [21:20:11] Connecting to pkg.entware.net (104.27.177.50:80) [21:20:11] libgcc_s.so.1 100% |*******************************| 49120 0:00:00 ETA [21:20:11] Connecting to pkg.entware.net (104.27.177.50:80) [21:20:11] ld-2.22.so 100% |*******************************| 131k 0:00:00 ETA [21:20:11] Connecting to pkg.entware.net (104.27.177.50:80) [21:20:12] libc-2.22.so 34% |********** | 412k 0:00:01 ETA libc-2.22.so 100% |*******************************| 1198k 0:00:00 ETA [21:20:12] Info: Basic packages installation... [21:20:12] Downloading http://pkg.entware.net/binaries/armv7/Packages.gz. [21:20:12] Updated list of available packages in /opt/var/opkg-lists/packages. [21:20:13] Installing libc (2.23-6) to root... [21:20:13] Downloading http://pkg.entware.net/binaries/armv7/libc_2.23-6_armv7soft.ipk. [21:20:13] Installing libgcc (6.3.0-6) to root... [21:20:13] Downloading http://pkg.entware.net/binaries/armv7/libgcc_6.3.0-6_armv7soft.ipk. [21:20:15] Configuring libgcc. [21:20:15] Configuring libc. [21:20:15] Installing libpthread (2.23-6) to root... [21:20:15] Downloading http://pkg.entware.net/binaries/armv7/libpthread_2.23-6_armv7soft.ipk. [21:20:16] Configuring libpthread. [21:20:16] Installing entware-opt (222108-6) to root... [21:20:16] Downloading http://pkg.entware.net/binaries/armv7/entware-opt_222108-6_armv7soft.ipk. [21:20:17] Installing libssp (6.3.0-6) to root... [21:20:17] Downloading http://pkg.entware.net/binaries/armv7/libssp_6.3.0-6_armv7soft.ipk. [21:20:17] Installing librt (2.23-6) to root... [21:20:17] Downloading http://pkg.entware.net/binaries/armv7/librt_2.23-6_armv7soft.ipk. [21:20:17] Installing libstdcpp (6.3.0-6) to root... [21:20:17] Downloading http://pkg.entware.net/binaries/armv7/libstdcpp_6.3.0-6_armv7soft.ipk. [21:20:18] Installing ldconfig (2.23-6) to root... [21:20:18] Downloading http://pkg.entware.net/binaries/armv7/ldconfig_2.23-6_armv7soft.ipk. [21:20:19] Installing findutils (4.6.0-1) to root... [21:20:19] Downloading http://pkg.entware.net/binaries/armv7/findutils_4.6.0-1_armv7soft.ipk. [21:20:19] Installing terminfo (6.0-1c) to root... [21:20:19] Downloading http://pkg.entware.net/binaries/armv7/terminfo_6.0-1c_armv7soft.ipk. [21:20:19] Installing locales (2.23-6) to root... [21:20:19] Downloading http://pkg.entware.net/binaries/armv7/locales_2.23-6_armv7soft.ipk. [21:20:20] Installing opkg (2011-04-08-9c97d5ec-17a) to root... [21:20:20] Downloading http://pkg.entware.net/binaries/armv7/opkg_2011-04-08-9c97d5ec-17a_armv7soft.ipk. [21:20:21] Entware uses separate locale-archive file independent from main system [21:20:21] Creating locale archive - /opt/usr/lib/locale/locale-archive [21:20:21] Adding en_EN.UTF-8 [21:20:27] Adding ru_RU.UTF-8 [21:20:34] You can download locale sources from http://pkg.entware.net/sources/i18n_glib223.tar.gz [21:20:34] You can add new locales to Entware using /opt/bin/localedef.new [21:20:34] File /opt/etc/opkg.conf upgraded, new repository set! [21:20:34] Please run opkg update + opkg upgrade once more [21:20:34] Configuring libssp. [21:20:34] Configuring librt. [21:20:34] Configuring terminfo. [21:20:34] Configuring ldconfig. [21:20:34] Configuring locales. [21:20:34] Configuring opkg. [21:20:34] Configuring libstdcpp. [21:20:34] Configuring findutils. [21:20:34] Configuring entware-opt. [21:21:37] wget: can't connect to remote host (23.141.224.195): Connection timed out [21:21:37] Collected errors: [21:21:37] * opkg_download: Failed to download http://downloads.zyxel.nas-central.org/Users/Entware-ng/binaries/armv7/Packages.gz, wget returned 1. [21:21:37] Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz [21:21:37] Updated list of available packages in /opt/var/opkg-lists/entware [21:21:37] Downloading http://downloads.zyxel.nas-central.org/Users/Entware-ng/binaries/armv7/Packages.gz [21:21:37] *** Failed to download the package list from http://downloads.zyxel.nas-central.org/Users/Entware-ng/binaries/armv7/Packages.gz [21:21:38] [21:21:38] Collected errors: [21:21:38] * opkg_install_cmd: Cannot install package profile-hook. [21:21:38] Unknown package 'profile-hook'. [21:21:38] Info: Congratulations! [21:21:38] Info: If there are no errors above then Entware-ng was successfully initialized. [21:21:38] Info: Found a Bug? Please report at https://github.com/Entware-ng/Entware-ng/issues [21:21:38] Execute /opt/etc/init.d/rc.unslung start [21:21:38] Done /opt/etc/init.d/rc.unslung start Closed logfile at Tue Jul 30 21:21:38 IDT 2019
I posted my log file I think in the end the problem "unknown package 'profile-hook'" appears.
What is the exact solution to use opkg properly?
Thanks in advance! :-)
0 -
I have got the same problem as Roberto8 on a clean NAS540.Here my log:
Opened logfile at Tue Jul 30 21:20:10 IDT 2019 Flushing memory buffer Starting up Flushing done [21:20:10] Create symlink /opt -> /i-data/df3086ca/.PKG/Entware-ng/opt [21:20:10] /opt/etc/init.d/rc.unslung is not available, start installer [21:20:10] Info: Opkg package manager deployment... [21:20:10] Connecting to pkg.entware.net (104.27.177.50:80) [21:20:10] opkg 100% |*******************************| 124k 0:00:00 ETA [21:20:10] Connecting to pkg.entware.net (104.27.177.50:80) [21:20:11] opkg.conf 100% |*******************************| 142 0:00:00 ETA [21:20:11] Connecting to pkg.entware.net (104.27.177.50:80) [21:20:11] libgcc_s.so.1 100% |*******************************| 49120 0:00:00 ETA [21:20:11] Connecting to pkg.entware.net (104.27.177.50:80) [21:20:11] ld-2.22.so 100% |*******************************| 131k 0:00:00 ETA [21:20:11] Connecting to pkg.entware.net (104.27.177.50:80) [21:20:12] libc-2.22.so 34% |********** | 412k 0:00:01 ETA libc-2.22.so 100% |*******************************| 1198k 0:00:00 ETA [21:20:12] Info: Basic packages installation... [21:20:12] Downloading http://pkg.entware.net/binaries/armv7/Packages.gz. [21:20:12] Updated list of available packages in /opt/var/opkg-lists/packages. [21:20:13] Installing libc (2.23-6) to root... [21:20:13] Downloading http://pkg.entware.net/binaries/armv7/libc_2.23-6_armv7soft.ipk. [21:20:13] Installing libgcc (6.3.0-6) to root... [21:20:13] Downloading http://pkg.entware.net/binaries/armv7/libgcc_6.3.0-6_armv7soft.ipk. [21:20:15] Configuring libgcc. [21:20:15] Configuring libc. [21:20:15] Installing libpthread (2.23-6) to root... [21:20:15] Downloading http://pkg.entware.net/binaries/armv7/libpthread_2.23-6_armv7soft.ipk. [21:20:16] Configuring libpthread. [21:20:16] Installing entware-opt (222108-6) to root... [21:20:16] Downloading http://pkg.entware.net/binaries/armv7/entware-opt_222108-6_armv7soft.ipk. [21:20:17] Installing libssp (6.3.0-6) to root... [21:20:17] Downloading http://pkg.entware.net/binaries/armv7/libssp_6.3.0-6_armv7soft.ipk. [21:20:17] Installing librt (2.23-6) to root... [21:20:17] Downloading http://pkg.entware.net/binaries/armv7/librt_2.23-6_armv7soft.ipk. [21:20:17] Installing libstdcpp (6.3.0-6) to root... [21:20:17] Downloading http://pkg.entware.net/binaries/armv7/libstdcpp_6.3.0-6_armv7soft.ipk. [21:20:18] Installing ldconfig (2.23-6) to root... [21:20:18] Downloading http://pkg.entware.net/binaries/armv7/ldconfig_2.23-6_armv7soft.ipk. [21:20:19] Installing findutils (4.6.0-1) to root... [21:20:19] Downloading http://pkg.entware.net/binaries/armv7/findutils_4.6.0-1_armv7soft.ipk. [21:20:19] Installing terminfo (6.0-1c) to root... [21:20:19] Downloading http://pkg.entware.net/binaries/armv7/terminfo_6.0-1c_armv7soft.ipk. [21:20:19] Installing locales (2.23-6) to root... [21:20:19] Downloading http://pkg.entware.net/binaries/armv7/locales_2.23-6_armv7soft.ipk. [21:20:20] Installing opkg (2011-04-08-9c97d5ec-17a) to root... [21:20:20] Downloading http://pkg.entware.net/binaries/armv7/opkg_2011-04-08-9c97d5ec-17a_armv7soft.ipk. [21:20:21] Entware uses separate locale-archive file independent from main system [21:20:21] Creating locale archive - /opt/usr/lib/locale/locale-archive [21:20:21] Adding en_EN.UTF-8 [21:20:27] Adding ru_RU.UTF-8 [21:20:34] You can download locale sources from http://pkg.entware.net/sources/i18n_glib223.tar.gz [21:20:34] You can add new locales to Entware using /opt/bin/localedef.new [21:20:34] File /opt/etc/opkg.conf upgraded, new repository set! [21:20:34] Please run opkg update + opkg upgrade once more [21:20:34] Configuring libssp. [21:20:34] Configuring librt. [21:20:34] Configuring terminfo. [21:20:34] Configuring ldconfig. [21:20:34] Configuring locales. [21:20:34] Configuring opkg. [21:20:34] Configuring libstdcpp. [21:20:34] Configuring findutils. [21:20:34] Configuring entware-opt. [21:21:37] wget: can't connect to remote host (23.141.224.195): Connection timed out [21:21:37] Collected errors: [21:21:37] * opkg_download: Failed to download http://downloads.zyxel.nas-central.org/Users/Entware-ng/binaries/armv7/Packages.gz, wget returned 1. [21:21:37] Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz [21:21:37] Updated list of available packages in /opt/var/opkg-lists/entware [21:21:37] Downloading http://downloads.zyxel.nas-central.org/Users/Entware-ng/binaries/armv7/Packages.gz [21:21:37] *** Failed to download the package list from http://downloads.zyxel.nas-central.org/Users/Entware-ng/binaries/armv7/Packages.gz [21:21:38] [21:21:38] Collected errors: [21:21:38] * opkg_install_cmd: Cannot install package profile-hook. [21:21:38] Unknown package 'profile-hook'. [21:21:38] Info: Congratulations! [21:21:38] Info: If there are no errors above then Entware-ng was successfully initialized. [21:21:38] Info: Found a Bug? Please report at https://github.com/Entware-ng/Entware-ng/issues [21:21:38] Execute /opt/etc/init.d/rc.unslung start [21:21:38] Done /opt/etc/init.d/rc.unslung start Closed logfile at Tue Jul 30 21:21:38 IDT 2019
What is the exact step-by-step-solution for this issue? I do not get your last comment, mijzelf to be honest.Thanks in advance!0 -
That looks OK, except that it tries to use nas-central.org, which is down.To solve that, you have to edit /opt/etc/opkg.conf , and changeinAfter that you can execute
<div>/opt/bin/opkg update</div><div><br></div><div>/opt/bin/opkg install profile-hook<br></div>
After logging out and logging in again the problem should be solved.
1 -
I am going to try that! Thank you very much!Aaaaand works!Edit: Ok, at least I thought it would. But still after login I get the error -sh: opkg: not found
0 -
Long shot, you have also installed ffp? If yes, read the page on the Entware-ng webpage about ffp and Entware-ng coexisting.
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 145 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 239 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight