« Back to all recent discussions
Need help with Entware; after upgrade to latest package it is broken
Meta Repository uses
I need help with the Entware package. I upgraded from Entware-ng_2016xxxx_arm_005 to Entware-ng_20181002_arm_006 and now it is broken.
I updated the package list with
opkg updateand this updates the package list but in the GUI the package list is empty (404 not found error; nginx/1.6.2)
Disabling, uninstalling and reinstalling the package didn't fix it either.
Log file 1 (https://pastebin.com/WVM7hrFc ; because the code tags below only show the first line)
Opened logfile at Tue Dec 3 13:43:50 UTC 2019
Log file 2 (https://pastebin.com/xvzyPEmC ; same reason)
Opened logfile at Tue Dec 3 13:47:21 UTC 2019I want to start with a fresh installation but also want to be sure that there are no traces of previous installed Entware-ng packages left on the system.
I don't think it is related but I als have a lot of file and directory permission issues. I need to be the root user otherwise can't do anything (this isn't a problem when I use Putty to access the NAS, but drag and drop with FileZilla (Windows > NAS) is a pain in the bunny as I do have to chown -R root:everyone and chmod -R 666 files and directories to make changes to files and directories.
Edit: looks like the environment variables are not correctly set.
[email protected]:/i-data/e162cf92/.PKG/Entware-ng/opt/bin# ls -all
drwxr-xr-x 2 root root 4096 Dec 3 16:46 .
drwxr-xr-x 12 root root 4096 Jan 4 2018 ..
lrwxrwxrwx 1 root root 8 Dec 3 16:46 ash -> /bin/ash
-rwxr-xr-x 1 root root 217580 Oct 3 21:10 find
-rwxr-xr-x 1 root root 182524 Oct 3 21:10 grep
-rwxr-xr-x 1 root root 2872 Oct 3 21:10 islebe
-rwxr-xr-x 1 root root 31744 Oct 3 21:10 locale.new
-rwxr-xr-x 1 root root 284988 Oct 3 21:10 localedef.new
lrwxrwxrwx 1 root root 12 Dec 3 16:46 netstat -> /bin/netstat
-rwxr-xr-x 1 root root 127488 Dec 3 18:45 opkg
-lrwxrwxrwx 1 root root 7 Dec 3 16:46 sh -> /bin/sh
-rwxr-xr-x 1 root root 52652 Oct 3 21:10 xargs
[email protected]:/i-data/e162cf92/.PKG/Entware-ng/opt/bin# opkg update
sh: opkg: not found
[email protected]:/i-data/e162cf92/.PKG/Entware-ng/opt/bin# /opt/bin/opkg update
Updated list of available packages in /opt/var/opkg-lists/packages.
Updated list of available packages in /opt/var/opkg-lists/Mijzelf.