• The forum software that supports hummy.tv has been upgraded to XenForo 2.3!

    Please bear with us as we continue to tweak things, and feel free to post any questions, issues or suggestions in the upgrade thread.

Package Management oddity

Several times now I have been presented with an installed package list with a red ! - Package not in repository.
After an update check all list OK again. There does not seem to be any functional problems I've noticed, just this oddity.
Any ideas what's its cause and remedy?
Note. I have already ran a fixdisk.

Update pre - Package not in repository.JPGand after update check...
Update post - Package not in repository.JPG
 
Post the output of ls -l /mod/var/opkg/ from the command prompt next time it isn't working.
 
humax4# ls -l /mod/var/opkg/
-rw-r--r-- 1 root root 0 Nov 6 05:43 base
drwxr-xr-x 2 root root 12288 Oct 28 14:01 info
-rw-r--r-- 1 root root 17715 Oct 28 14:01 status
drwxrwxrwx 15 root root 4096 Nov 6 05:48 tmp
humax4#
 
So something is trashing your /mod/var/opkg/base file (0 bytes), which is the list of packages, which is why the WebIf gets upset.
Running opkg update (or Check for updates from the WebIf) and checking the file size again should show it to be about 69213.
Finding out what the root cause is is not easy unless you can pin it to anything you're doing which may give a clue.
Do I presume 05:43 is when it powers on in the morning?
 
Post recent update check:

humax4# ls -l /mod/var/opkg/
-rw-r--r-- 1 root root 70043 Nov 6 19:32 base
drwxr-xr-x 2 root root 12288 Oct 28 14:01 info
-rw-r--r-- 1 root root 17715 Oct 28 14:01 status
drwxrwxrwx 15 root root 4096 Nov 6 19:32 tmp
humax4#

The unit was powered off over night, Not unusual if there is no schedule recording due anytime soon.
It's on a UPS and I shut it that down. Humax was in full standby.
I powered up the unit to do some ad-removal work w/o problem.
Then mindful of the package problem, I checked and noticed the problem was back (it was OK yesterday).
 
Last edited:
and its happened again. Lasted 6 weeks. I wonder if there are other files getting trashed?
No idea of the case. All routine. Has 'felt' a little slow recently though.
Code:
humax4# ls -l /mod/var/opkg/
-rw-r--r--    1 root     root             0 Dec 12 05:27 base
drwxr-xr-x    2 root     root         12288 Dec 10 23:56 info
-rw-r--r--    1 root     root         17695 Dec 10 23:56 status
drwxrwxrwx   15 root     root          4096 Dec 12 19:19 tmp

humax4# ls -l /mod/var/opkg/
-rw-r--r--    1 root     root         70297 Dec 12 19:37 base
drwxr-xr-x    2 root     root         12288 Dec 12 19:37 info
-rw-r--r--    1 root     root         17695 Dec 12 19:37 status
drwxrwxrwx   15 root     root          4096 Dec 12 19:37 tmp
humax4#
humax4#
 
Last edited:
Try running a fixdisk, possibly there could be some corruption in the file system that is leading to some files being trashed
 
Back
Top