package management list incomplete

Well it will, until either the next version of WebIf is released or the .../opkg/status file gets fixed. The former will only mask the continuing problem with the latter though.

You already posted the extract of that which showed the problem. I'm more interested in what is in the other file I mentioned.
OK I'll try to find some time tomorrow. all of this is a mystery to me though, but I'll try my best.
 
From a putty/webshell command line try (and report results)
Code:
opkg list reset
opkg list-installed
opkg info reset
are these separate items to input in putty?
i'm currently doing fixdisk, so will have a go at that later, if indeed it is what i need to enter?
cheers
 
are these separate items to input in putty?
They are a list of command inputs to enter at the command prompt in a console session and report the results, yes... as stated!

You can open a console session using PuTTY to access the Telnet menu and then selecting option "cli" (Command Line Interface), or (if you have the webshell package installed) by opening a console session in your web browser with WebIF >> Diagnostics >> Command Line.

Basic skills, and made so much easier for anyone to use by the webshell package – no need to install or enable a Telnet package in Windows.

However, if the disk is flaky you need to sort that first. Bear in mind also that while the 'Fox is in Maintenance Mode, trying to access the WebIF provide access to a console session even without webshell installed.
 
Last edited:
Menu version 1.23
Enter system PIN: ****

/-------------------------\
| T E L N E T M E N U |
\-------------------------/

[ Humax HDR-Fox T2 (humax) 1.03.12/3.13 ]

maint - Restart into maintenance mode.
safe - Enable safe mode on next boot.
rma - Enable return-to-manufacturer (RMA) mode.
reset - Reset custom firmware environment.
upgrade - Upgrade all installed packages.
passwd - Remove web interface password.
fixweb - Re-install web interface.
stat - Show current activity.
x - Exit and close connection.
reboot - Reboot the Humax.
diag - Run a diagnostic.
cli - System command line (advanced users).

Please select option: cli

-----------------------------------------------------------------------
Code:
Humax HDR-Fox T2 (humax) 1.03.12/3.13

To return to the menu, type: exit

humax# opkg list reset
reset - 1.0.0
humax# opkg list-installed
anacron - 2.3-2
at - 3.1.18
auto-schedule-restore - 1.5
auto-unprotect - 2.0.2
auto-update - 2.0.6
boot-settings - 1.0.5-1
busybox - 1.20.2-1
bzip2 - 1.0.4
ca-bundle - 3.41
chaseget - 0.1.2-1
cifs - 2.6.18
cron-daemon - 1.18.3-5
curl - 7.63.0
curl-command - 7.21.2
dbupdate - 1.0.0
dedup - 1.0.1
disable-dso - 0.3-1
disable-ota - 1.0.3-4
e2fsprogs - 1.42.13
epg - 1.2.9
ffmpeg - 4.1-1
file - 5.0.4
fix-disk - 0.5
hmt - 2.0.11
hwctl - 1.0.0
id3v2 - 0.1.11-1
inotify-tools - 3.14
ir - 1.23-2
jim - 0.82-5
jim-cgi - 0.7-2
jim-xconv - 1.0.1
lamemp3 - 3.98.4
libpcre - 8.37-1
libreadline - 6.2-1
libutil - 0.9.29
libxconv - 1.0.4
lighttpd - 1.4.53-2
lsof - 4.87
mongoose - 3.0.11
multienv - 1.7-1
ncurses - 5.9
network-shares-automount - 1.5
newk - 1.0.5-1
nicesplice - 1.8
nugget - 1.0
openssl - 1.1.1.d-1
openssl-command - 1.0.0.d
portmap - 6.0-1
procps - 3.2.8-3
python - 2.7.1-3
recmon - 2.2.1-2
redring - 2.20-1
reset - 1.0.0
rs - 1.5.1-4
rsvsync - 1.1.13
screensaver - 0.3.2
screensaver-Neon-Blue - 1.0.0
service-control - 2.5
smartmontools - 6.4
sqlite3 - 3.43.2
ssmtp - 2.64
stripts - 1.4.6-1
swapper - 1.1.2
tcpfix - 1.0.0
tcpping - 1.1
tmenu - 1.24
trm - 1.2
tunefix - 2.3.1
tunefix-update - 1.0.141
tweak - 1.0
undelete - 1.6-9
webif - 1.5.2-11
webif-channelicons - 1.2.6
webif-charts - 1.3
wget - 1.20.3
wireless-tools - 29-1
zip - 3.0-1
humax#
humax# opkg info reset
Package: reset
Version: 1.0.0
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1328426370

humax#
humax# humax# opkg list reset
/bin/sh: humax#: not found
humax# reset - 1.0.0
/bin/sh: reset: not found
humax# humax# opkg list-installed
/bin/sh: humax#: not found
humax# anacron - 2.3-2
/bin/sh: anacron: not found
humax# at - 3.1.18
syntax error. Last token seen: -
Garbled time
humax# auto-schedule-restore - 1.5
/bin/sh: auto-schedule-restore: not found
humax# auto-unprotect - 2.0.2
/bin/sh: auto-unprotect: not found
humax# auto-update - 2.0.6
/bin/sh: auto-update: not found
humax# boot-settings - 1.0.5-1
/bin/sh: boot-settings: not found
humax# busybox - 1.20.2-1
-: applet not found
humax# bzip2 - 1.0.4
bzip2: Can't open input file 1.0.4: No such file or directory.
humax# ca-bundle - 3.41
/bin/sh: ca-bundle: not found
humax# chaseget - 0.1.2-1
/mod/bin/chaseget:59: Error: invalid command name "0"
Traceback (most recent call last):
  File "/mod/bin/chaseget", line 453
    getfile - 0.1.2-1
  File "/mod/bin/chaseget", line 59, in getfile
humax# cifs - 2.6.18
/bin/sh: cifs: not found
humax# cron-daemon - 1.18.3-5
/bin/sh: cron-daemon: not found
humax# curl - 7.63.0
curl: option -: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
humax# curl-command - 7.21.2
/bin/sh: curl-command: not found
humax# dbupdate - 1.0.0
/bin/sh: dbupdate: not found
humax# dedup - 1.0.1
[-]
[1.0.1]
humax# disable-dso - 0.3-1
/bin/sh: disable-dso: not found
humax# disable-ota - 1.0.3-4
/bin/sh: disable-ota: not found
humax# e2fsprogs - 1.42.13
/bin/sh: e2fsprogs: not found
humax# epg - 1.2.9
Humax EPG Tool v1.2.9, by af123, 2011-2024.

Syntax: epg [options] [filters] <command>...

  Options:
    -b                     Brief output.
    -d[level]              Set debug level.
    -f<file>               Specify alternate EPG data file.
    -h                     Show help text.
    -p                     Parsable output (see *).

  Filters: (can be specified multiple times, all must be true)
    -C<CRID>               Show only events with this CRID.
    -D<descriptor type>    Show only selected descriptor type.
    -E<event id>           Show only selected event.
    -R<SCRID>              Show only events with this Series ID.
    -S<service id>         Show only selected service.
    -G<type>               Show only records with this guidance type.
    -T<content type>       Show only selected content types.
    -@<unix timestamp>     Show only programmes at time.
    -/<unix timestamp>     Show only programmes on day.
    -/<days>               Show only programmes on day.
    -=<start>:<end>        Show only programmes in time period.

  Commands:
    dump                   Show a parsed summary of the EPG.
    dumpraw                Show raw data from the EPG.
    sqldump                Produce SQL statements from EPG data.
    json                   Produce JSON formatted EPG data.
    sqlitedump <file>      Create SQLite database from EPG data.
    now                    Show what is currently on.
    first                  Show the time of the earliest record.
    last                   Show the time of the latest record.
    d78                    Check for records with d78.
    parse                  Parse the EPG, no output.
    search <text>          Search programme names for text.
    searchall <text>       Search programme names/descriptions for text.

* Parseable output is tab delimited and contains the following fields:
        Service ID, Event ID, Start, Duration, Encrypted,
        Title, Synopsis, Warning, Content Code, Content Type,
        Event CRID, Series CRID, Recommended CRID, Guidance Mode
        Content Mgmt

humax# ffmpeg - 4.1-1
ffmpeg version 4.1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 4.2.0 (GCC) 20070124 (prerelease) - BRCM 11ts-20090508
  configuration: --cross-prefix=mipsel-linux- --enable-cross-compile --arch=mipsel --target-os=linux --enable-gpl --enable-libmp3lame --disable-static --enable-shared --disable-asm --prefix=/mod --extra-cflags='-fPIC -DDEBUG' --host-ldflags='-Wl,-R/mod/lib' --enable-nonfree --enable-openssl --disable-ffplay --disable-doc --disable-mips32r2 --disable-mipsdsp --disable-mipsdspr2
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
[NULL @ 0x45a010] Unable to find a suitable output format for 'pipe:'
pipe:: Invalid argument
humax# file - 5.0.4
 
Last edited by a moderator:
i hope that means something to someone?
Maybe, but please edit your post to put all that inside [code]...[/code] tags. Newbies' Guide to the Forum (click)

I don't know what all those extra "Humax#" strings are littered around the place, but perhaps that's normal?

wow i did it!
Why is that such a surprise? How many times do people have to be told how easy it is, so long as you can follow simple instructions to the letter?

This is a problem we get all the time: it's far easier to do than explain, and if people would just have the confidence to try it they will come out with a feeling of satisfaction and achievement. So much becomes obvious when you're doing it that would be subject to over-thinking when thinking about it rather than doing it.
 
Last edited:
I don't know what all those extra "Humax#" strings are littered around the place, but perhaps that's normal?
No. He pasted the copied output back as input (with fairly predictable results)...
fixdisk didn't find anything untoward at all btw.
That's good then.
humax# opkg info reset
Package: reset
Version: 1.0.0
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1328426370
Interesting. That installation timestamp corresponds to Sunday, 5 February 2012 07:19:30.
Note the lack of Description line, which is what's screwing up the (current) WebIf.

Now, knowing what/when we are looking for helps, and this reference turns up from 28 July 2012:
https://hummy.tv/forum/threads/help-cant-get-webif-up-or-login-via-ssh.1925/post-24927
so I guess your earlier version was as a result of a private conversation with af123 to solve whatever problem you were having.

I downloaded and installed reset and I get this:
Code:
humax# opkg info reset
Package: reset
Version: 1.0.1
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1712574734
which is essentially the same.
Looking at the control file for the package gives this:
Code:
Package: reset
Priority: optional
Section: misc
Version: 1.0.1
Architecture: mipsel
Maintainer: af123@hummypkg.org.uk
Depends:
Description: A package which resets the custom firmware environment.
which clearly contains Description and other lines which should be reported but aren't for some reason. That goes on the ever-increasing "To Investigate" list.

Anyway, what you should do is this, from the "humax#" command prompt again:
Code:
opkg remove reset
and then you are back in business with any mess cleaned up.
 
Last edited:
Spot on thanks, the package management list now runs right through to zip.

cheers

Interesting. That installation timestamp corresponds to Sunday, 5 February 2012 07:19:30.
Note the lack of Description line, which is what's screwing up the (current) WebIf.

So the package management list has probably been broken for the last 12 years and you haven't noticed until you started to have problems with undelete
 
So the package management list has probably been broken for the last 12 years
The problem is caused by out-of-repository packages (as reset is) - the Description comes from the repository file, not the package file (because opkg is weird!).
The last change in the code relating to this happened 8 years ago:
https://git.hpkg.tv/hummypkg/webif/...diff-c0ed6a8539700fecdfa4e2a0f2c23ab632a04f09
It seems unlikely that this would have gone unnoticed for that long, but I guess not many people have out-of-repository packages. I used to, but I run my own repositories now so wouldn't see it anyway.
 
The problem is caused by out-of-repository packages (as reset is) - the Description comes from the repository file, not the package file (because opkg is weird!).
The last change in the code relating to this happened 8 years ago:
https://git.hpkg.tv/hummypkg/webif/...diff-c0ed6a8539700fecdfa4e2a0f2c23ab632a04f09
It seems unlikely that this would have gone unnoticed for that long, but I guess not many people have out-of-repository packages. I used to, but I run my own repositories now so wouldn't see it anyway.
I have written a number of packages over the years and have never seen the problem.
 
Back
Top