Page 3 of 44

Re: Toon firmware - update script

Posted: Fri Mar 16, 2018 9:12 pm
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

Re: Toon firmware - update script

Posted: Fri Mar 16, 2018 9:42 pm
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

Re: Toon firmware - update script

Posted: Fri Mar 16, 2018 10:30 pm
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?

Re: Toon firmware - update script

Posted: Fri Mar 16, 2018 10:48 pm
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?

Re: Toon firmware - update script

Posted: Fri Mar 16, 2018 10:54 pm
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?

Re: Toon firmware - update script

Posted: Sat Mar 17, 2018 8:33 am
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

Re: Toon firmware - update script

Posted: Sat Mar 17, 2018 9:08 am
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.

Re: Toon firmware - update script

Posted: Sat Mar 17, 2018 9:38 am
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#

Re: Toon firmware - update script

Posted: Sat Mar 17, 2018 11:56 am
by marcelr
@Martin101010: please checkout your mailbox.

Re: Toon firmware - update script

Posted: Sat Mar 17, 2018 11:59 am
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.

Re: Toon firmware - update script

Posted: Sat Mar 17, 2018 3:15 pm
by TheHogNL
I understand that MarcelR already fixed your packages. So you can update now if you still want.

Re: Toon firmware - update script

Posted: Sat Mar 17, 2018 4:08 pm
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

Re: Toon firmware - update script

Posted: Sat Mar 17, 2018 4:11 pm
by TheHogNL
True. A working Toon with this cold is indeed better then the risk of a broken Toon while updating :lol:

Re: Toon firmware - update script

Posted: Sun Mar 18, 2018 3:50 pm
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..

Re: Toon firmware - update script

Posted: Sun Mar 18, 2018 9:05 pm
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.