I copied and pasted each command from the "Humax#". Happy to try again if you think it is worth it.OK.
No, probably not. I presume you only have command line access on the broken box.
I'm sorry, but this says otherwise:
HDR2# cat /mod/var/opkg/beta
cat: can't open '/mod/var/opkg/betacat': No such file or directory
and the "mount" command that followed was also wrong.
It looks like it has had webif version 1.4.8-9 installed and has now lost the beta repository so doesn't know what to do with it.
Try the following:
If that doesn't work try:Code:opkg upgrade webif --force-downgrade
Code:opkg remove webif opkg install webif
HDR2# opkg upgrade webif --force-downgrade
Installing webif (1.4.8-9) to root...
Collected errors:
* opkg_download_pkg: Package webif is not available from any configured src.
* opkg_install_pkg: Failed to download webif. Perhaps you need to run 'opkg update'?
HDR2# opkg remove webif
No packages removed.
HDR2# opkg install webif
Installing webif (1.4.8-9) to root...
Collected errors:
* opkg_download_pkg: Package webif is not available from any configured src.
* opkg_install_pkg: Failed to download webif. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package webif.
HDR2#
There's also thefix-webif
diagnostic, if this does not work.
Enter the diagnostic name (or press return to cancel): fix-webif
Are you sure you wish to run diagnostic 'fix-webif'? [Y/N] y
Running: fix-webif
No packages removed.
Downloading http://hpkg.tv/hdrfoxt2/base/Packages.gz.
Inflating http://hpkg.tv/hdrfoxt2/base/Packages.gz.
Updated list of available packages in /mod/var/opkg/base.
Installing webif (1.4.8-9) to root...
Collected errors:
* opkg_download_pkg: Package webif is not available from any configured src.
* opkg_install_pkg: Failed to download webif. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package webif.
Press return to continue:
Getting desperate now:
Code:humax# rm /mod/var/opkg/info/webif* humax# rm /mod/var/opkg/info/opkg-beta* humax# ls -l /mod/var/opkg/ humax# opkg update humax# opkg install webif
HDR2# rm /mod/var/opkg/info/webif*
rm: can't remove '/mod/var/opkg/info/webif*': No such file or directory
HDR2# rm /mod/var/opkg/info/opkg-beta*
rm: can't remove '/mod/var/opkg/info/opkg-beta*rm': No such file or directory
rm: can't remove '/mod/var/opkg/info/opkg-beta*': No such file or directory
HDR2# ls -l /mod/var/opkg/
-rw-rw-rw- 1 root root 68531 Jun 26 16:31 base
drwxr-xr-x 2 root root 12288 Jun 26 16:56 info
-rw-rw-rw- 1 root root 18887 Jun 25 22:17 status
drwxrwxrwx 56 root root 4096 Jun 26 16:31 tmp
HDR2# opkg update
Downloading http://hpkg.tv/hdrfoxt2/base/Packages.gz.
Inflating http://hpkg.tv/hdrfoxt2/base/Packages.gz.
Updated list of available packages in /mod/var/opkg/base.
HDR2# opkg install webif
Installing webif (1.4.8-9) to root...
Collected errors:
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/webif-charts.list: No such file or directory.
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/webif-channelicons.list: No such file or directory.
* opkg_download_pkg: Package webif is not available from any configured src.
* opkg_install_pkg: Failed to download webif. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package webif.
HDR2#
More suggestions...
Trying to work out where it is picking up version 1.4.8-9 from.Code:opkg install webif --force-downgrade opkg info webif md5sum /mod/var/opkg/base grep -A14 '^Package: webif$' /mod/var/opkg/status cat /etc/opkg/opkg.conf
HDR2# opkg install webif --force-downgrade
Installing webif (1.4.8-9) to root...
Collected errors:
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/webif-charts.list: No such file or directory.
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/webif-channelicons.list: No such file or directory.
* opkg_download_pkg: Package webif is not available from any configured src.
* opkg_install_pkg: Failed to download webif. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package webif.
HDR2# opkg info webif
Package: webif
Version: 1.4.8-8
Depends: tcpfix, webif-channelicons (>= 1.1.27), lighttpd (>= 1.4.39-1), jim (>= 0.79), jim-pack (>= 0.79), jim-oo (>= 0.77), jim-sqlite3 (>= 0.77), jim-cgi (>= 0.7-2),
jim-binary (>= 0.76), service-control (>= 2.3), busybox (>= 1.20.2-1), lsof (>= 4.87), epg (>= 1.2.8), hmt (>= 2.0.10), ssmtp, cron-daemon (>= 1.18.3-3), at (>= 3.1.18
), anacron, trm (>= 1.1), openssl-command, nicesplice, id3v2, file, rsvsync (>= 1.1.13), webif-charts (>= 1.2-1), stripts (>= 1.4.2), tmenu (>= 1.21-2), ffmpeg (>= 2.8)
, id3v2, multienv (>= 1.6), tcpping (>= 1.1), e2fsprogs, wireless-tools (>= 29-1), dbupdate, recmon (>= 2.0.7), hwctl, nugget (>= 0.98), sqlite3 (>= 3.15.1), jim-xconv,
zip (>= 3.0-1), wget
Provides:
Status: unknown ok not-installed
Section: web
Architecture: mipsel
Maintainer: af123@hpkg.tv
MD5Sum: 761e18cc7ba8f3a999b321fdbbdcb286
Size: 2921742
Filename: webif_1.4.8-8_mipsel.opk
Description: An evolving web interface for the Humax.
Tags: https://hummy.tv/forum/threads/7712/
Package: webif
Version: 1.4.8-9
Depends: tcpfix, webif-channelicons (>= 1.1.27), lighttpd (>= 1.4.39-1), jim (>= 0.79), jim-pack (>= 0.79), jim-oo (>= 0.77), jim-sqlite3 (>= 0.77), jim-cgi (>= 0.7-2),
jim-binary (>= 0.76), service-control (>= 2.3), busybox (>= 1.20.2-1), lsof (>= 4.87), epg (>= 1.2.8), hmt (>= 2.0.10), ssmtp, cron-daemon (>= 1.18.3-3), at (>= 3.1.18
), anacron, trm (>= 1.1), openssl-command, nicesplice, id3v2, file, rsvsync (>= 1.1.13), webif-charts (>= 1.2-1), stripts (>= 1.4.2), tmenu (>= 1.21-2), ffmpeg (>= 2.8)
, id3v2, multienv (>= 1.6), tcpping (>= 1.1), e2fsprogs, wireless-tools (>= 29-1), dbupdate, recmon (>= 2.0.7), hwctl, nugget (>= 0.98), sqlite3 (>= 3.15.1), jim-xconv,
zip (>= 3.0-1), wget
Provides:
Status: install user not-installed
Architecture: mipsel
Conffiles:
/mod/webif/html/css/EXTRA.css 8825352ab7ca3a6049a8bc9a7b61cee4
/mod/webif/html/favicon.ico 5b0d687146e283edcd282a214b25061c
/mod/webif/html/img/fav/57.png 51792cfa41206972f824d58c1a545c0d
/mod/webif/html/img/fav/72.png 7450d014122e48bee30868a11ab29b47
/mod/webif/html/img/fav/114.png 6ca7f47962eecf576053c8bd41c97b9e
/mod/webif/html/img/fav/144.png 5486867673594037e0a585e8f48abef4
Installed-Time: 1592856738
Package: webif
Version: 1.3.2
Depends: tcpfix, webif-channelicons (>= 1.1.24), lighttpd (>= 1.4.39-1), jim (>= 0.76-2), jim-oo, jim-sqlite3 (>= 0.76), jim-cgi (>= 0.7-1), jim-binary (>= 0.76), servi
ce-control (>= 2.1), busybox (>= 1.20.2-1), lsof (>= 4.87), epg (>= 1.2.3), hmt (>= 2.0.10), ssmtp, cron-daemon (>= 1.18.3-3), at (>= 3.1.18), anacron, trm (>= 1.1), op
enssl-command, nicesplice, id3v2, file, rsvsync (>= 1.1.5), webif-charts (>= 1.2-1), stripts (>= 1.2.5-3), tmenu (>= 1.08), ffmpeg, id3v2, multienv (>= 1.6), tcpping (>
= 1.1), e2fsprogs, wireless-tools (>= 29-1), dbupdate, recmon (>= 2.0.7), hwctl
Provides:
Status: install user not-installed
Architecture: mipsel
Conffiles:
/mod/webif/html/css/EXTRA.css 2296ae44e6bee6d5946db4587739bbfd
/mod/webif/html/favicon.ico 5b0d687146e283edcd282a214b25061c
/mod/webif/html/img/fav/57.png 51792cfa41206972f824d58c1a545c0d
/mod/webif/html/img/fav/72.png 7450d014122e48bee30868a11ab29b47
/mod/webif/html/img/fav/114.png 6ca7f47962eecf576053c8bd41c97b9e
/mod/webif/html/img/fav/144.png 5486867673594037e0a585e8f48abef4
Installed-Time: 1471649572
Collected errors:
* file_md5sum_alloc: Failed to open file /mod/webif/html/css/EXTRA.css: No such file or directory.
* file_md5sum_alloc: Failed to open file /mod/webif/html/favicon.ico: No such file or directory.
* file_md5sum_alloc: Failed to open file /mod/webif/html/img/fav/57.png: No such file or directory.
* file_md5sum_alloc: Failed to open file /mod/webif/html/img/fav/72.png: No such file or directory.
* file_md5sum_alloc: Failed to open file /mod/webif/html/img/fav/114.png: No such file or directory.
* file_md5sum_alloc: Failed to open file /mod/webif/html/img/fav/144.png: No such file or directory.
* file_md5sum_alloc: Failed to open file /mod/webif/html/css/EXTRA.css: No such file or directory.
* file_md5sum_alloc: Failed to open file /mod/webif/html/favicon.ico: No such file or directory.
* file_md5sum_alloc: Failed to open file /mod/webif/html/img/fav/57.png: No such file or directory.
* file_md5sum_alloc: Failed to open file /mod/webif/html/img/fav/72.png: No such file or directory.
* file_md5sum_alloc: Failed to open file /mod/webif/html/img/fav/114.png: No such file or directory.
* file_md5sum_alloc: Failed to open file /mod/webif/html/img/fav/144.png: No such file or directory.
HDR2#
HDR2# md5sum /mod/var/opkg/base
56e7b4165ff1d4716fa12e88a10e238b /mod/var/opkg/base
HDR2#
HDR2# grep -A14 '^Package: webif$' /mod/var/opkg/status
Package: webif
Version: 1.4.8-9
Depends: tcpfix, webif-channelicons (>= 1.1.27), lighttpd (>= 1.4.39-1), jim (>= 0.79), jim-pack (>= 0.79), jim-oo (>= 0.77), jim-sqlite3 (>= 0.77), jim-cgi (>= 0.7-2),
jim-binary (>= 0.76), service-control (>= 2.3), busybox (>= 1.20.2-1), lsof (>= 4.87), epg (>= 1.2.8), hmt (>= 2.0.10), ssmtp, cron-daemon (>= 1.18.3-3), at (>= 3.1.18
), anacron, trm (>= 1.1), openssl-command, nicesplice, id3v2, file, rsvsync (>= 1.1.13), webif-charts (>= 1.2-1), stripts (>= 1.4.2), tmenu (>= 1.21-2), ffmpeg (>= 2.8)
, id3v2, multienv (>= 1.6), tcpping (>= 1.1), e2fsprogs, wireless-tools (>= 29-1), dbupdate, recmon (>= 2.0.7), hwctl, nugget (>= 0.98), sqlite3 (>= 3.15.1), jim-xconv,
zip (>= 3.0-1), wget
Provides:
Status: install user not-installed
Architecture: mipsel
Conffiles:
/mod/webif/html/css/EXTRA.css 8825352ab7ca3a6049a8bc9a7b61cee4
/mod/webif/html/favicon.ico 5b0d687146e283edcd282a214b25061c
/mod/webif/html/img/fav/57.png 51792cfa41206972f824d58c1a545c0d
/mod/webif/html/img/fav/72.png 7450d014122e48bee30868a11ab29b47
/mod/webif/html/img/fav/114.png 6ca7f47962eecf576053c8bd41c97b9e
/mod/webif/html/img/fav/144.png 5486867673594037e0a585e8f48abef4
Installed-Time: 1592856738
Package: webif
Version: 1.3.2
Depends: tcpfix, webif-channelicons (>= 1.1.24), lighttpd (>= 1.4.39-1), jim (>= 0.76-2), jim-oo, jim-sqlite3 (>= 0.76), jim-cgi (>= 0.7-1), jim-binary (>= 0.76), servi
ce-control (>= 2.1), busybox (>= 1.20.2-1), lsof (>= 4.87), epg (>= 1.2.3), hmt (>= 2.0.10), ssmtp, cron-daemon (>= 1.18.3-3), at (>= 3.1.18), anacron, trm (>= 1.1), op
enssl-command, nicesplice, id3v2, file, rsvsync (>= 1.1.5), webif-charts (>= 1.2-1), stripts (>= 1.2.5-3), tmenu (>= 1.08), ffmpeg, id3v2, multienv (>= 1.6), tcpping (>
= 1.1), e2fsprogs, wireless-tools (>= 29-1), dbupdate, recmon (>= 2.0.7), hwctl
Provides:
Status: install user not-installed
Architecture: mipsel
Conffiles:
/mod/webif/html/css/EXTRA.css 2296ae44e6bee6d5946db4587739bbfd
/mod/webif/html/favicon.ico 5b0d687146e283edcd282a214b25061c
/mod/webif/html/img/fav/57.png 51792cfa41206972f824d58c1a545c0d
/mod/webif/html/img/fav/72.png 7450d014122e48bee30868a11ab29b47
/mod/webif/html/img/fav/114.png 6ca7f47962eecf576053c8bd41c97b9e
/mod/webif/html/img/fav/144.png 5486867673594037e0a585e8f48abef4
Installed-Time: 1471649572
HDR2#
HDR2# cat /etc/opkg/opkg.conf
cat: can't open '/etc/opkg/opkg.confcat': No such file or directory
dest root /mod
lists_dir ext /mod/var/opkg
option tmp_dir /mod/var/opkg/tmp
src/gz base http://hpkg.tv/hdrfoxt2/base
Code:sed -i -e '/^Package: webif$/,/^$/d' /mod/var/opkg/status opkg install webif
HDR2# sed -i -e '/^Package: webif$/,/^$/d' /mod/var/opkg/status
HDR2# opkg install webif
Installing webif (1.4.8-8) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/webif_1.4.8-8_mipsel.opk.
Installing rsvsync (1.1.13) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/rsvsync_1.1.13_mipsel.opk.
Installing tmenu (1.22) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/tmenu_1.22_mipsel.opk.
Installing multienv (1.7-1) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/multienv_1.7-1_mipsel.opk.
Installing nugget (1.0) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/nugget_1.0_mipsel.opk.
Installing tweak (1.0) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/tweak_1.0_mipsel.opk.
warning: commands will be executed using /bin/sh
job 3 at Fri Jun 26 18:17:00 2020
Can't open /var/run/atd.pid to signal atd. No atd running?
Configuring rsvsync.
Configuring tmenu.
Configuring multienv.
Configuring tweak.
Configuring nugget.
Configuring webif.
SMART: (PASSED)
startstop: 11602 realloc: 0 hours: 23065 spinretry: 0 pending: 0 offline: 0
Queue database is up-to-date.
Collected errors:
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/webif-charts.list: No such file or directory.
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/webif-channelicons.list: No such file or directory.
HDR2#
Humax1# cat /etc/opkg/opkg.conf
cat: can't open '/etc/opkg/opcat': No such file or directory
dest root /mod
lists_dir ext /mod/var/opkg
option tmp_dir /mod/var/opkg/tmp
src/gz base http://hpkg.tv/hdrfoxt2/base
Humax1# cat /etc/opkg/opkg.conf
cat: can't open '/etc/opkg/opkg.cocat': No such file or directory
dest root /mod
lists_dir ext /mod/var/opkg
option tmp_dir /mod/var/opkg/tmp
src/gz base http://hpkg.tv/hdrfoxt2/base
Humax1# cat /etc/opkg/opkg.conf
dest root /mod
lists_dir ext /mod/var/opkg
option tmp_dir /mod/var/opkg/tmp
src/gz base http://hpkg.tv/hdrfoxt2/base
Humax1# cat /etc/opkg/opkg.conf
dest root /mod
lists_dir ext /mod/var/opkg
option tmp_dir /mod/var/opkg/tmp
src/gz base http://hpkg.tv/hdrfoxt2/base
Humax1# cat /etc/opkg/opkg.conf
dest root /mod
lists_dir ext /mod/var/opkg
option tmp_dir /mod/var/opkg/tmp
src/gz base http://hpkg.tv/hdrfoxt2/base
Try a force reinstall of the two packages containing those files.
Code:opkg install webif-channelicons --force-reinstall opkg install webif-charts --force-reinstall
HDR2# opkg install webif-channelicons --force-reinstall
Removing package webif-channelicons from root...
Installing webif-channelicons (1.1.27) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/webif-channelicons_1.1.27_mipsel.opk.
Configuring webif-channelicons.
Collected errors:
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/webif-charts.list: No such file or directory.
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/webif-channelicons.list: No such file or directory.
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/webif-channelicons.list: No such file or directory.
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/webif-charts.list: No such file or directory.
HDR2#
HDR2# opkg install webif-charts --force-reinstall
Removing package webif-charts from root...
Installing webif-charts (1.3) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/webif-charts_1.3_mipsel.opk.
Configuring webif-charts.
Collected errors:
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/webif-charts.list: No such file or directory.
* pkg_get_installed_files: Failed to open /mod/var/opkg/info/webif-charts.list: No such file or directory.
HDR2#
The missing files would have been blown away by some of the "desparate" measures above.
Try this...
Code:sed -i -e '/^Package: webif-cha.*$/,/^$/d' /mod/var/opkg/status opkg install webif-charts webif-channelicons
HDR2# sed -i -e '/^Package: webif-cha.*$/,/^$/d' /mod/var/opkg/status
HDR2#
HDR2# opkg install webif-charts webif-channelicons
Installing webif-charts (1.3) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/webif-charts_1.3_mipsel.opk.
Installing webif-channelicons (1.1.27) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/webif-channelicons_1.1.27_mipsel.opk.
Configuring webif-channelicons.
Configuring webif-charts.
HDR2#
For this one, run theI am hoping that by watching this thread I will see the answer to getting back to normal. Until then, I will do nothing.
ssl/fix
diagnostic (you can do that from the menu)