New Custom Portal won't install

ntm1275

Member
I'm trying to install the New Custom Portal but I get a message saying "Cannot install package new-portal."

>>> opkg install new-portal
Installing new-portal (1.01) to root...
Collected errors:
* check_conflicts_for: The following packages conflict with new-portal:
* check_conflicts_for: portal-xtra1 * check_conflicts_for: custom-portal *
* opkg_install_cmd: Cannot install package new-portal.

I am current running with
Humax Version 1.03.12
Custom Firmware 3.00 build 2137
WebIf Version 1.0.17-1

Both portal_xtra1 and custom-portal are not installed
 
Thanks for the link but running the remove_portal diagnostic didn't work

Also tried the 'Force re-install' of the new-portal, but I get the same message
 
Can you run this at a telnet prompt and see what it produces?
Code:
humax# opkg list-installed|grep portal|cut -d ' ' -f 1
 
Thanks for the link but running the remove_portal diagnostic didn't work
What does "didn't work" mean? It's "remove_portals" not "remove_portal" as well. Maybe that's why it "didn't work", but unless you say what it did do, it's a bit difficult to proceed.
 
What does "didn't work" mean? It's "remove_portals" not "remove_portal" as well. Maybe that's why it "didn't work", but unless you say what it did do, it's a bit difficult to proceed.

Sorry, typo in the post with the missing 's'
'didn't work' meant that I ran remove_portals and then tried to install new-portal again, but it 'didn't work', as in it didn't install the new-portal
When the remove_portals is run I get this
>>> Beginning diagnostic remove_portals

Running: remove_portals
Removing custom-portal (if installed)
No packages removed.
Removing portal-xtra1 (if installed)
No packages removed.
Removing new-portal (if installed)
No packages removed.
Removing any orphaned files from flash.


>>> Ending diagnostic remove_portals

I've run the telnet and I get this
Humax HDR-Fox T2 (humax) 1.03.12/3.00

humax# opkg list-installed|grep portal|cut -d ' ' -f 1
humax#
 
Last edited:
That's good - the packaging system doesn't think any portal is installed, so try "opkg update" then "opkg install new-portal"
 
This is what I get

Humax HDR-Fox T2 (humax) 1.03.12/3.00

humax# 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.
humax# opkg install new-portal
Installing new-portal (1.01) to root...
Collected errors:
* check_conflicts_for: The following packages conflict with new-portal:
* check_conflicts_for: portal-xtra1 * check_conflicts_for: custom-p
ortal *
* opkg_install_cmd: Cannot install package new-portal.
humax#
 
I can't reproduce the problem, so perhaps it's corruption of opkg related files.
You might try these:
Code:
humax# ls /mod/var/opkg/ -lR|grep portal
humax# grep -r "portal" /mod/var/opkg/
 
This is what I got
The first didn't appear to do anything
On the second one, I did the "reboot after install"
Code:
Humax HDR-Fox T2 (humax) 1.03.12/3.00

humax# ls /mod/var/opkg/ -lR|grep portal
humax# grep -r "portal" /mod/var/opkg/
/mod/var/opkg/base:Package: custom-portal
/mod/var/opkg/base:Conflicts: portal-xtra1
/mod/var/opkg/base:Filename: custom-portal_1.12-1_mipsel.opk
/mod/var/opkg/base:Package: new-portal
/mod/var/opkg/base:Conflicts: portal-xtra1, custom-portal
/mod/var/opkg/base:Filename: new-portal_1.01_mipsel.opk
/mod/var/opkg/base:Package: portal-foscam
/mod/var/opkg/base:Depends: portal-xtra1
/mod/var/opkg/base:Filename: portal-foscam_1.2_mipsel.opk
/mod/var/opkg/base:Package: portal-xtra1
/mod/var/opkg/base:Conflicts: custom-portal
/mod/var/opkg/base:Filename: portal-xtra1_1.12.064.300-3_mipsel.opk
/mod/var/opkg/base:Description: Alternative Custom Portal - with MiniApps. A rep
lacement for the Humax Portal and the original custom Portal, providing a new me
nu and a selection of mini built-in Apps. Installing this will replace the origi
nal custom-portal. **REBOOT AFTER INSTALL**
/mod/var/opkg/status:Package: portal-xtra1
/mod/var/opkg/status:Conflicts: custom-portal
/mod/var/opkg/status:Package: custom-portal
/mod/var/opkg/status:Conflicts: portal-xtra1
humax#
 
Last edited:
I would be tempted to edit the /mod/var/opkg/status file manually and chop out both the sections referring to portal-xtra1 and custom-portal.
It might be interesting to see what they say before you delete them...
 
Here it is for you to look at and comment

Code:
Package: sqlite3
Version: 3.7.6-1
Depends: ncurses, libreadline
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1399412930

Package: mongoose
Version: 3.0.11
Provides:
Status: install user installed
Architecture: mipsel
Conffiles:
/mod/etc/mongoose.conf 3ebb0ec048bf9e5be1a759c37e1db50a
Installed-Time: 1399412930

Package: sysmon
Version: 1.2.2
Depends: webif (>= 1.0.14-10), webif-charts (>= 1.3), cron-daemon, smartmontools, procps
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1412550009

Package: poweron-channel
Version: 1.0.3
Depends: webif (>= 1.0.9)
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1413067295

Package: swapper
Version: 1.0.1
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1412290353
Auto-Installed: yes

Package: tmenu
Version: 1.10
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1413067296

Package: ir
Version: 1.07-6
Depends: multienv (>= 1.6), webif (>= 1.0.9)
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1413067299

Package: busybox
Version: 1.20.2-1
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1358899434

Package: portal-xtra1
Version: 1.12.064.300-3
Depends: webif, mongoose (>= 3.0-5)
Provides:
Conflicts: custom-portal
Status: install user not-installed
Architecture: mipsel

Package: lsof
Version: 4.87
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1412290314

Package: multienv
Version: 1.7-1
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1413067301

Package: ssmtp
Version: 2.64
Provides:
Status: install ok installed
Architecture: mipsel
Conffiles:
/mod/etc/ssmtp/ssmtp.conf 25fbe19ebccd0a6abb88f8df27edf3f9
/mod/etc/ssmtp/revaliases c5a68f52228de914a8059bbc1e93178f
Installed-Time: 1325173826
Auto-Installed: yes

Package: fix-disk
Version: 0.4
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1413067302

Package: unencrypt
Version: 0.1.4
Depends: busybox, hmt (>= 1.1.0), lsof, cron-daemon
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1326126852

Package: openssl-command
Version: 1.0.0.d
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1327206887
Auto-Installed: yes

Package: tvdiary
Version: 0.0.3-2
Depends: webif (>= 1.0.13-1)
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1412549988

Package: bzip2
Version: 1.0.4
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1325174154
Auto-Installed: yes

Package: betaftpd
Version: 0.0.8pre17-3
Provides:
Conflicts: tinyftp
Status: install user installed
Architecture: mipsel
Installed-Time: 1341938605

Package: webif
Version: 1.0.17-5
Depends: webif-channelicons (>= 1.1.13), lighttpd (>= 1.4.35-2), jim (>= 0.75-1), jim-oo, jim-sqlite3 (>= 0.75), jim-cgi (>= 0.7), jim-binary (>= 0.75), service-control (>= 1.2), busybox (>= 1.20.2-1), lsof (>= 4.87), epg (>= 1.0.13), hmt (>= 1.1.21), ssmtp, anacron, trm (>= 1.1), openssl-command, nicesplice, id3v2, file, rsvsync (>= 1.0.2), webif-charts (>= 1.2-1), stripts (>= 1.2.5-3), smartmontools, tmenu (>= 1.08), ffmpeg, id3v2, multienv (>= 1.6), tcpping (>= 1.1), mongoose
Provides:
Status: install user 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: 1413411519

Package: webif
Version: 0.9.0-1
Depends: mongoose (>= 3.0-7), jim (>= 0.73), jim-oo, jim-sqlite3 (>= 0.73), jim-cgi (>= 0.5), service-control, busybox (>= 1.19.3-1), lsof, epg (>= 1.0.8), hmt (>= 1.1.4), ssmtp, anacron, trm, openssl-command, nicesplice, id3v2
Suggests: ffmpeg, webif-iphone
Provides:
Status: install user not-installed
Architecture: mipsel

Package: python
Version: 2.7.1-3
Depends: libutil, libreadline, ncurses, sqlite3
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1328202882
Auto-Installed: yes

Package: cifs
Version: 2.6.18
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1325174308

Package: mplayer
Version: 32726
Depends: bzip2
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1325179591

Package: seriesfiler
Version: 0.2.2-1
Depends: busybox, hmt, lsof, cron-daemon
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1358899472

Package: rs
Version: 1.1.0
Depends: webif (>= 1.0.4), cron-daemon (>= 1.18.3-1), epg (>= 1.0.13), anacron (>= 2.3-1), rsvsync (>= 1.0.3), recmon
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1399412951

Package: nicesplice
Version: 1.6
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1412290361

Package: lighttpd
Version: 1.4.35-2
Depends: swapper
Provides:
Status: install ok installed
Architecture: mipsel
Conffiles:
/mod/etc/lighttpd/extra.conf 7bfa62271212309f1568ac2a03a2532e
Installed-Time: 1412290353
Auto-Installed: yes

Package: portmap
Version: 6.0-1
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1327597797
Auto-Installed: yes

Package: network-shares-automount
Version: 1.4-2
Depends: busybox, cifs, portmap, python
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1359795536

Package: vfdtest
Version: 1.1
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1413067343

Package: anacron
Version: 2.3-1
Depends: ssmtp, cron-daemon
Provides:
Status: install ok installed
Architecture: mipsel
Conffiles:
/mod/etc/anacrontab eee6513a79aa618e48699ce9151c3229
Installed-Time: 1325173826
Auto-Installed: yes

Package: disable-ota
Version: 1.0.2
Depends: webif
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1413067303

Package: libutil
Version: 0.9.29
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1328202882
Auto-Installed: yes

Package: sweeper
Version: 2.0.7-2
Depends: webif (>= 1.0.16)
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1412549820

Package: jim-binary
Version: 0.75
Depends: jim (>= 0.75)
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1399412947
Auto-Installed: yes

Package: stripts
Version: 1.2.5-3
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1391472233
Auto-Installed: yes

Package: libreadline
Version: 6.2-1
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1328202883
Auto-Installed: yes

Package: jim-cgi
Version: 0.7
Depends: jim
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1362847064
Auto-Installed: yes

Package: virtual-disk
Version: 1.1
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1325173572

Package: inotify-tools
Version: 3.14
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1325174382
Auto-Installed: yes

Package: service-control
Version: 1.2
Depends: busybox
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1330106178
Auto-Installed: yes

Package: webif-charts
Version: 1.3
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1412290362

Package: auto-unprotect
Version: 1.0.9
Depends: busybox, inotify-tools, hmt
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1390952974

Package: procps
Version: 3.2.8-3
Depends: ncurses
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1412550009
Auto-Installed: yes

Package: smartmontools
Version: 5.41
Provides:
Status: install ok installed
Architecture: mipsel
Conffiles:
/mod/etc/smartd.conf fe36e1799997237df1bb904a6106e321
Installed-Time: 1352591073
Auto-Installed: yes

Package: webif-channelicons
Version: 1.1.13
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1413026246
Auto-Installed: yes

Package: jim-sqlite3
Version: 0.75
Depends: jim (>= 0.75), sqlite3
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1399412946
Auto-Installed: yes

Package: file
Version: 5.0.4
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1330106180
Auto-Installed: yes

Package: cron-daemon
Version: 1.18.3-1
Depends: busybox
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1325173826
Auto-Installed: yes

Package: tcpping
Version: 1.1
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1413026246
Auto-Installed: yes

Package: recmon
Version: 1.0.0-1
Depends: inotify-tools
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1364660369
Auto-Installed: yes

Package: id3v2
Version: 0.1.11-1
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1327206887
Auto-Installed: yes

Package: lamemp3
Version: 3.98.4
Provides:
Status: install ok installed
Architecture: mipsel
Installed-Time: 1325174276
Auto-Installed: yes

Package: epg
Version: 1.0.13
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1364660363
Auto-Installed: yes

Package: ncurses
Version: 5.9
Provides:
Status: install ok installed
Architecture: mipsel
Conffiles:
/mod/etc/termtype e1d515569ed684106b915422967748af
Installed-Time: 1328202889
Auto-Installed: yes

Package: trm
Version: 1.1
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1358899468
Auto-Installed: yes

Package: ffmpeg
Version: 0.10
Depends: bzip2, lamemp3
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1331068010

Package: samba
Version: 2.2.12-6
Provides:
Status: install user installed
Architecture: mipsel
Conffiles:
/mod/etc/smb.conf e641aaf8369a4848c9a3b70bdaa1a7e9
/mod/etc/secrets.tdb 347613eb74fffb2999fe2da3ea4d6b61
/mod/etc/smbpasswd 2d68b5a27b989f3a71d0f43a833134cf
Installed-Time: 1399412959

Package: custom-portal
Version: 1.12-1
Depends: webif, mongoose (>= 3.0-5)
Provides:
Conflicts: portal-xtra1
Status: install user not-installed
Architecture: mipsel

Package: jim
Version: 0.75-1
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1399412946
Auto-Installed: yes

Package: hmt
Version: 1.1.23
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1412290354
Auto-Installed: yes

Package: jim-oo
Version: 0.75
Depends: jim (>= 0.75)
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1399412959

Package: rsvsync
Version: 1.0.3
Provides:
Status: install user installed
Architecture: mipsel
Installed-Time: 1413067306
Auto-Installed: yes
 
I would be tempted to remove all these lines (keep a backup if you like) and then see what happens:
Code:
Package: portal-xtra1
Version: 1.12.064.300-3
Depends: webif, mongoose (>= 3.0-5)
Provides:
Conflicts: custom-portal
Status: install user not-installed
Architecture: mipsel

Package: webif
Version: 0.9.0-1
Depends: mongoose (>= 3.0-7), jim (>= 0.73), jim-oo, jim-sqlite3 (>= 0.73), jim-cgi (>= 0.5), service-control, busybox (>= 1.19.3-1), lsof, epg (>= 1.0.8), hmt (>= 1.1.4), ssmtp, anacron, trm, openssl-command, nicesplice, id3v2
Suggests: ffmpeg, webif-iphone
Provides:
Status: install user not-installed
Architecture: mipsel

Package: custom-portal
Version: 1.12-1
Depends: webif, mongoose (>= 3.0-5)
Provides:
Conflicts: portal-xtra1
Status: install user not-installed
Architecture: mipsel

If that doesn't fix it, then I'm out of guesses.
 
Nice one @prpr, that appears to have worked

It did give me a bit of a scare when I tried to install the new-portal - see the last line of code

But when I went in to the Updates tab of Package Management, there was an update for 'pkg_parse_from_stream_nomalloc'

So all working as intended

Thanks so much for your patience and help :doublethumbsup:

Code:
>>> opkg install new-portal
Installing new-portal (1.01) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/new-portal_1.01_mipsel.opk.
* Repairing /mod/boot
Configuring new-portal.
Collected errors:
* pkg_parse_from_stream_nomalloc: Missing new line character at end of file!
 
Nice one @prpr, that appears to have worked
Good.
It did give me a bit of a scare when I tried to install the new-portal - see the last line of code

But when I went in to the Updates tab of Package Management, there was an update for 'pkg_parse_from_stream_nomalloc'
I suspect you might need to scroll to the end of file and press the Enter/Return key to put a blank line in.
 
Thanks prpr, your solution also worked for me. Much appreciated.

I would be tempted to remove all these lines (keep a backup if you like) and then see what happens:
Code:
Package: portal-xtra1
Version: 1.12.064.300-3
Depends: webif, mongoose (>= 3.0-5)
Provides:
Conflicts: custom-portal
Status: install user not-installed
Architecture: mipsel

Package: webif
Version: 0.9.0-1
Depends: mongoose (>= 3.0-7), jim (>= 0.73), jim-oo, jim-sqlite3 (>= 0.73), jim-cgi (>= 0.5), service-control, busybox (>= 1.19.3-1), lsof, epg (>= 1.0.8), hmt (>= 1.1.4), ssmtp, anacron, trm, openssl-command, nicesplice, id3v2
Suggests: ffmpeg, webif-iphone
Provides:
Status: install user not-installed
Architecture: mipsel

Package: custom-portal
Version: 1.12-1
Depends: webif, mongoose (>= 3.0-5)
Provides:
Conflicts: portal-xtra1
Status: install user not-installed
Architecture: mipsel

If that doesn't fix it, then I'm out of guesses.
 
I still wonder what it's getting upset about and why though. If anyone has the time and the inclination, it might be interesting to find out which combinations of the above 3 items causes it to barf. That's 8 edits and 8 tests though...
 
Well, my status file didn't have an entry for portal-xtra1, and the webif entry looked different to above, so I left it in.
All I removed was.................

Package: custom-portal
Version: 1.12-1
Depends: webif, mongoose (>= 3.0-5)
Provides:
Conflicts: portal-xtra1
Status: install user not-installed
Architecture: mipsel
 
Back
Top