Simple Updater
Simple Updater
With peebee making a new puppy almost every week I had a little script to just update the changed files from the downloaded ISO.
I just found some time and put little more dialogs, info and checks and here it is (for safe keeping).
As the image shows will update/upgrade the (changed) puppy files of your frugal install with the ones in the ISO/CD.
We’ll keep the old files just in case.
Something for the very novice or the very lazy.
Edit: v2 checks for multiple Images/CDs
I just found some time and put little more dialogs, info and checks and here it is (for safe keeping).
As the image shows will update/upgrade the (changed) puppy files of your frugal install with the ones in the ISO/CD.
We’ll keep the old files just in case.
Something for the very novice or the very lazy.
Edit: v2 checks for multiple Images/CDs
- Attachments
-
- simple_updater-2.pet
- (3.39 KiB) Downloaded 158 times
-
- Update_from_ISO.jpg
- (103.79 KiB) Downloaded 677 times
Last edited by mavrothal on Fri 14 Sep 2018, 12:45, edited 3 times in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
Very good idea to offer this.
Thanks!
I do not know your code for this, but in the past.
This kind of program will only work if you are going to update to a newer version of a named Puppy.
Example:
Tahrpup6.0 to Tahrpup 6.0.3 to Tahrpup 6.0.5, etc.....
This would not work if going from one named Puppy to another named Puppy.
Example:
Tahrpup to Xenialpup
Thanks!
I do not know your code for this, but in the past.
This kind of program will only work if you are going to update to a newer version of a named Puppy.
Example:
Tahrpup6.0 to Tahrpup 6.0.3 to Tahrpup 6.0.5, etc.....
This would not work if going from one named Puppy to another named Puppy.
Example:
Tahrpup to Xenialpup
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Attached. This is a clickable script. Download and extract it.rockedge wrote:is there a program with a GUI that can change the kernel? maybe one already developed?
It is designed to follow the standard naming rules for recent puppies and the "huge" kernel packages.
- Attachments
-
- snappie.png
- Updated 2018-09-15
- (8.55 KiB) Downloaded 375 times
-
- switcheroo-1.1.tar.gz
- (798 Bytes) Downloaded 173 times
Last edited by rcrsn51 on Sun 16 Sep 2018, 13:22, edited 3 times in total.
As mentioned peebee's "+N" naming scheme, were SFSs have the same name and only the ISO name changes, was my "motive" for this script.bigpup wrote: This kind of program will only work if you are going to update to a newer version of a named Puppy.
But yes, will also update or downgrade a version and even check if the presumably "same version" is indeed the same as the ISO and update as needed (because after deleting the "Peebee_special_123+5.iso" I had no idea what was installed)
As I said "for the lazy ones"
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
Re: Simple Updater
Not "new" - just updates .....mavrothal wrote:With peebee making a new puppy almost every week
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Re: Simple Updater
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
Re: Simple Updater
Hiya' mavrothal (good to see you posting!) -
https://sourceforge.net/projects/zestyp ... c/updates/
I think peebee provides regular delta updates for his Slackware Lxde versions, too...
Bob
For UPupBB - might this be what you're looking for? ...mavrothal wrote:What I believe may be more appropriate is to provide deltas...
https://sourceforge.net/projects/zestyp ... c/updates/
I think peebee provides regular delta updates for his Slackware Lxde versions, too...
Bob
Re: Simple Updater
Moat wrote:Hiya' mavrothal (good to see you posting!) -
For UPupBB - might this be what you're looking for? ...mavrothal wrote:What I believe may be more appropriate is to provide deltas...
https://sourceforge.net/projects/zestyp ... c/updates/
I think peebee provides regular delta updates for his Slackware Lxde versions, too...
Bob
How stupid of me.
I keep downloading peebee's ISOs and never noticed he has deltas to the original ISO.
I should read the posts more carefully.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
Re: Simple Updater
Good idea. New version posted above.mavrothal wrote:(BTW rcrsn51 you may want to make it even simpler using the huge kernel tarball directly instead)
I guess I was not clear enough.Moat wrote:
Let me spell it out then.
I do know that peebee provides deltas for the original ISO (used them many times).
In order to use these deltas to update your frugal install, you have to safekeep the original ISO, get the delta, patch the iso, mount it, delete your HD/USB-installed SFSs/vmlinuz/initrd etc and copy the new ones from the ISO.
If you do not have the original ISO you are better off download the latest ISO instead and do the copy/paste from there.
This is certainly not what I was describing above, but rather this mechanism.
In that scenario the "update program" will go look for the delta update (that is different that the available and build in a specific way), and if present download it and patch the HD/USB-installed puppy SFSs, initrd and vmlinuz without further user intervention.
Could do something similar adding few lines of code in the program I have above but downloading an entire ISO (or 2 if you do not keep the original) for few MB of changed files looks like a big waste.
If peebee or any other puppy builder (is there any other?) will implement this or something like it, where the puppy core files will be updated per se and not through the savefile, I have no idea! I have my doubts because if you are a forum regular (as most of the people around here) non of these is important! You already like tinkering with puppy and you visit often enough to know about available updates. So why allow the machine to take your fun away
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
Whoa... yikes and yeah - I was waaay off base there, skimming along with a muddy head (of which I'm chronically prone to doing ). My apologies, Mavrothal!
And got it, thanks... sounds like a fantastic idea - a real (end user) labor, worry and bandwidth saver. Would be great to see this process implemented!
Bob
And got it, thanks... sounds like a fantastic idea - a real (end user) labor, worry and bandwidth saver. Would be great to see this process implemented!
Bob