(04-18-2017, 09:20 AM)Jerry link Wrote: [quote author=ralphy link=topic=3961.msg31172#msg31172 date=1492506892]
I need for you to help me debugging these things Jerry.
I do, but it's not always easy. If you've written the code, I prefer to leave it with you until it's bug free, in the meantime, the least I can do is give feedback, logs etc. If I wrote the code, I would also have a better view and understanding.
[/quote]
The error was not in lite-upgrade code, Jerry (which I have kept almost identical to the previous version with minor improvements such as logging and privileges escalation to prevent the whole process from running unnecessarily). It was in postinst because we checked the
start and
updates files assuming that the parent folder existed, it does for 3.2 but doesn't in 3.0. This could have happened with the old version too as soon as we tried to check a file and set execute permissions where the parent folder doesn't exist.
I'm not blaming anyone; these things happen, specially considering that we have improved and adjusted so many things from that we had in the code when I first joined in. It is been quite a lot, honestly. Irrespective, I consider this a "minor" issue because the initial code never gave us logs to see what was actually happening nor it set correct permissions recursively as we do now.
Anyways, I'm gonna push the fix to master now... 3.0 upgraded to 3.4 issues free: :D
- It corrected the missing file in / etc/llver
- Welcome screen was upgraded
- widget got upgraded
- no errors in postinst
This is how I tested it:
Test 1
1- Installed 3.0 Fresh
2- Install Updates
3- replace lite-upgrade old with lite-upgrade new
4- Run upgrade
Test 2
1- Installed 3.0 Fresh (No updates during installation or after)
2- replace lite-upgrade old with lite-upgrade new
4- Run upgrade
Success both times.
https://unlockforus.com
Sorry for seeming stupid and preferring Linux - I just don't know any better.