Toon firmware - update script

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

Martin101010
Starting Member
Starting Member
Posts: 38
Joined: Thu Nov 23, 2017 10:12 pm

Re: Toon firmware - update script

Post by Martin101010 »

I tried to use the script v.1.8. It stopped as it was not able to determine the running version.
Toonstore shows it is running 4.8.25

Debug output;

Code: Select all

Unable to determine your current running version!
DEBUG information:
Detected:
Available:  1.9.10 2.1.0 2.2.24 2.3.17 2.3.29 2.3.36 2.4.12 2.5.11 2.5.14 2.5.18 2.6.24 2.6.33 2.8.16 2.8.21 2.9.15 2.9.26 3.0.29 3.0.32 3.1.22 3.2.14 3.2.18 3.3.8 3.4.4 3.5.4 3.6.3 3.7.8 3.7.9 4.3.20 4.4.21 4.7.23 4.8.25 4.9.23 4.10.6 4.11.6 4.12.0 4.13.6 4.13.7
END DEBUG information
When i tried to find the base-qb2-* files manually I get

Code: Select all

eneco-001-094981:/# find -name base-qb2-*
./usr/lib/opkg/info/base-qb2-ene.list
./usr/lib/opkg/info/base-qb2-ene.postinst
./usr/lib/opkg/info/base-qb2-ene.control
eneco-001-094981:/#
Any tips are welcome

Martin
Last edited by Martin101010 on Fri Mar 16, 2018 10:46 pm, edited 1 time in total.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Can you check the result of

Code: Select all

opkg list-installed base-qb2-\*
And also post the result of

Code: Select all

grep Version /usr/lib/opkg/info/base-qb2-ene.control
Member of the Toon Software Collective
Martin101010
Starting Member
Starting Member
Posts: 38
Joined: Thu Nov 23, 2017 10:12 pm

Re: Toon firmware - update script

Post by Martin101010 »

The HoghNL,

Thanks for your reply, this was the result;
eneco-001-094981:/# opkg list-installed base-qb2-\*
eneco-001-094981:/# grep Version /usr/lib/opkg/info/base-qb2-ene.control
Version: 4.8.25-1157-0
eneco-001-094981:/#
Maybe the base-qb2- files are not there as my toon GUI was gone before and Marcel helped me to rebuild it.
Can I place the version number some ware manually in the script?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

No, because it will fail with the Eneco upgrade script as that will except also the package to be installed.
Can you check if "opkg list-installed" does show other packages?
Member of the Toon Software Collective
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware - update script

Post by marcelr »

Hmmm ... when the control file exists, the package should be installed ...
What does

Code: Select all

grep base-qb2 /usr/lib/opkg/status 
give you?
Martin101010
Starting Member
Starting Member
Posts: 38
Joined: Thu Nov 23, 2017 10:12 pm

Re: Toon firmware - update script

Post by Martin101010 »

It gives
/# grep base-qb2 /usr/lib/opkg/status
Replaces: base-qb2-ene
Package: base-qb2-ene
/#
I have the base-qb2-ene_4.8.25-1157-0_qb2.ipk file on my pc what was installed during the repair
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

OK weird. Some parts of your opkg (the files) say that the base-qb2-ene is installed. However when querying with 'list-installed' it doesn't show up.
I would recommend trying to install the base-qb2-ene ipk of your version first. Hopefully it will then show up in the list-installed.

So do a

Code: Select all

opkg install base-qb2-ene_4.8.25-1157-0_qb2.ipk
If it then does not show up in "opkg list-installed" try

Code: Select all

opkg install --force-reinstall base-qb2-ene_4.8.25-1157-0_qb2.ipk
If it then again does not show up, report here.
Member of the Toon Software Collective
Martin101010
Starting Member
Starting Member
Posts: 38
Joined: Thu Nov 23, 2017 10:12 pm

Re: Toon firmware - update script

Post by Martin101010 »

Unfortunately, it does not work. It gives

Code: Select all

:/mnt/data/update# opkg install base-qb2-ene_4.8.25-1157-0_qb2.i
pk
Installing base-qb2-ene (4.8.25-1157-0) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for base-                                                                                                             qb2-ene:
 *      glibc-patch-dns *       wireless-tools *
 * opkg_install_cmd: Cannot install package base-qb2-ene.
:/mnt/data/update#
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware - update script

Post by marcelr »

@Martin101010: please checkout your mailbox.
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon firmware - update script

Post by michel30 »

Hello,

What version you are trying to upgrade?
I had in the past also problems with missing files so I download these ones manual but I could not find the file that gives you an error.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

I understand that MarcelR already fixed your packages. So you can update now if you still want.
Member of the Toon Software Collective
Martin101010
Starting Member
Starting Member
Posts: 38
Joined: Thu Nov 23, 2017 10:12 pm

Re: Toon firmware - update script

Post by Martin101010 »

TheHogNL wrote:I understand that MarcelR already fixed your packages. So you can update now if you still want.
Thanks for the help. Indeed the packages are fixed. I will wait for the cold weather to dissapear as I have no spare toon available. The prices on marktplaats are redicules nowadays.

Rg Martin

Verstuurd vanaf mijn SM-G950F met Tapatalk
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

True. A working Toon with this cold is indeed better then the risk of a broken Toon while updating :lol:
Member of the Toon Software Collective
Sundown89
Starting Member
Starting Member
Posts: 7
Joined: Sun Mar 18, 2018 3:43 pm

Re: Toon firmware - update script

Post by Sundown89 »

Hi TheHog,

Great work on your update script! Just upgraded successfully to 4.10.6. Your script reminded me to check the passwd file.
Do I need to reset this to what the rooting manual states or do I leave the (encrypted?) password in place?

So root::0:0:root:/root:/bin/sh or root:"password$8702%6#1":0:0:root:/root:/bin/sh?

Thanks!

Update:
I tried the first method but my access to SSH was denied after. So the second method is the way to go..
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Correct. Leave the encrypted password there. An empty password does not work for SSH.
The original Toon (before rooting) has the text PASSWORD there. Which ofcourse does not work (intended). That string is not a valid encrypted value.

Btw, I hope you where able to get access again.
Member of the Toon Software Collective
Post Reply

Return to “Toon Firmware”