Puppy package update manager
Puppy package update manager
Hello!
The Puppy package updater is out!
Try it out!
You only have to run the bashscript in updatepuppy.tar.gz!
Don't worry! You have to wait some time when the puppy update manager is loading!
Description
The Puppy package updater updates all packages that are avaible in the repos of ppm.
The GUI is working with Xdialog.
I hope It'll be enjoy you!
Write if it works!
Thanks!
Changelog
Version 1: initial version
Version 2: I've added a progressbar. A bug is fixed now: The packages will be installed with petget.
Version 3: I've added a gtkdialog main window. You can choose the packages to install now.
The Puppy package updater is out!
Try it out!
You only have to run the bashscript in updatepuppy.tar.gz!
Don't worry! You have to wait some time when the puppy update manager is loading!
Description
The Puppy package updater updates all packages that are avaible in the repos of ppm.
The GUI is working with Xdialog.
I hope It'll be enjoy you!
Write if it works!
Thanks!
Changelog
Version 1: initial version
Version 2: I've added a progressbar. A bug is fixed now: The packages will be installed with petget.
Version 3: I've added a gtkdialog main window. You can choose the packages to install now.
- Attachments
-
- updatepuppy.tar.gz
- Puppy Update Manager 3
- (2.09 KiB) Downloaded 423 times
-
- updatepuppy2.tar.gz
- Puppy Update Manager 2
- (1.93 KiB) Downloaded 407 times
-
- screenshot_2014-09-22_172633.png
- Screenshot
- (39.42 KiB) Downloaded 1360 times
-
- updatepuppy.tar.gz
- Puppy Update Manager
- (1.81 KiB) Downloaded 418 times
Last edited by linus.cl on Wed 26 Nov 2014, 18:16, edited 3 times in total.
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Re: Puppy package update manager
Good news.linus.cl wrote:The Puppy package updater is out!
I'll try soon.
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
This first version is interesting.
I started the test, but I have not installed any update because I would choose the updates to install (if I understand correctly, the utility does not allow it).
For users, it would be interesting to add a Help button.
Regards
I started the test, but I have not installed any update because I would choose the updates to install (if I understand correctly, the utility does not allow it).
For users, it would be interesting to add a Help button.
Regards
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
Hi linus.cl,
Using Precise 5.6 with your code to update my 5 data bases (which I hadn't done for many months) it took at most 10 seconds from a click start to the small screen shot.
Clicking OK produced the larger screen shot.
I trust all is as expected.
My regards and thanks
Using Precise 5.6 with your code to update my 5 data bases (which I hadn't done for many months) it took at most 10 seconds from a click start to the small screen shot.
Clicking OK produced the larger screen shot.
I trust all is as expected.
My regards and thanks
- Attachments
-
- Shot.png
- (8.06 KiB) Downloaded 1272 times
-
- Shot(1).png
- (33.33 KiB) Downloaded 1277 times
Thank you for your suggestion!ASRI éducation wrote:This first version is interesting.
I started the test, but I have not installed any update because I would choose the updates to install (if I understand correctly, the utility does not allow it).
For users, it would be interesting to add a Help button.
Regards
You are not able to choose packages yet, all packages will be installed.
Thank you!Jasper wrote:Hi linus.cl,
Using Precise 5.6 with your code to update my 5 data bases (which I hadn't done for many months) it took at most 10 seconds from a click start to the small screen shot.
Clicking OK produced the larger screen shot.
I trust all is as expected.
My regards and thanks
But the packages also must be updated! Do you see some error code?
Have you looked in the terminal?
Try to wait a little bit!
I know you have to click so much!!
First you see the installed packages, then the avaible packages and the installed packages...
You can change the repositories: Change the download location in updatepuppy.sh!
- Attachments
-
- screenshot_2014-09-24_195747.png
- (24.49 KiB) Downloaded 1253 times
Hi linus.cl,
Thank you for your helpful explanation.
This time, when I reached the very long list of packages which could be automatically updated en bloc - I found the list to be most informative and impressively interesting, but, for now, I chickened out of the full update (though I may just set up recovery precautions so I can finalise my trial - I'll report back if I do that).
My regards
Thank you for your helpful explanation.
This time, when I reached the very long list of packages which could be automatically updated en bloc - I found the list to be most informative and impressively interesting, but, for now, I chickened out of the full update (though I may just set up recovery precautions so I can finalise my trial - I'll report back if I do that).
My regards
Hi linus.cl et al,
This is a terrific idea, but, I believe, it needs refining.
I suggest that, at least for now, testers have a back-up.
Importantly, I did not find a way to stop the final process which seemed to want to install everything regardless of my actions.
Unimportantly, the progress bar shot to 20%, then after long gap went to 60% then after a few more minutes to 100%.
My regards
This is a terrific idea, but, I believe, it needs refining.
I suggest that, at least for now, testers have a back-up.
Importantly, I did not find a way to stop the final process which seemed to want to install everything regardless of my actions.
Unimportantly, the progress bar shot to 20%, then after long gap went to 60% then after a few more minutes to 100%.
My regards
Yes, that's important. But I don't know which kind of back-up do you mean.Jasper wrote:Hi linus.cl et al,
I suggest that, at least for now, testers have a back-up.
Why? When I tried the program it works.Jasper wrote:Importantly, I did not find a way to stop the final process which seemed to want to install everything regardless of my actions.
For example:
Code: Select all
Xdialog --title "Packages with a new version:" --textbox "/tmp/packages-newversion" 0 0
case $? in
1)
echo "Exit...Bye!"
exit;;
255)
echo "Exit...Bye!"
exit;;
esac
Yes, this must be better.Jasper wrote: Unimportantly, the progress bar shot to 20%, then after long gap went to 60% then after a few more minutes to 100%.
Is this all the repositories selected to be seen in the main GUI?Description
The Puppy package updater updates all packages that are avaible in the repos of ppm.
Or all the ones that are listed in the PPM configuration, as possible repositories to select from?
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)
Using Update Puppy 2
Used it on a fresh full install of Slacko 5.7.
Slacko 5.7 was basically the way it comes, with nothing added or changed.
For the most part the Update Puppy seemed to work.
However, it did list some updates that did not seem to be updates to files or programs.
Example:
These are the same version that are already in Slacko 5.7
Galculator 1.3.4
Linux_firewall 2.0rc9-puppy2
There may be more, but those two stood out on the list.
The other thing was when I let the program install the updates.
Seemed to me that it tried to install stuff that was not on the original list of available updates. Also they where not newer versions of the program.
Example:
The one I noticed was pMusic.
The one that comes with Slacko 5.7 is pMusic V4.2.8
Update Puppy 2 wanted to install pMusic V2.6.7
In Slacko 5.7 "Puppy Package Manager" one of the repositories is the puppy-noarch.
That is where pMusic V2.6.7 is listed.
Used it on a fresh full install of Slacko 5.7.
Slacko 5.7 was basically the way it comes, with nothing added or changed.
For the most part the Update Puppy seemed to work.
However, it did list some updates that did not seem to be updates to files or programs.
Example:
These are the same version that are already in Slacko 5.7
Galculator 1.3.4
Linux_firewall 2.0rc9-puppy2
There may be more, but those two stood out on the list.
The other thing was when I let the program install the updates.
Seemed to me that it tried to install stuff that was not on the original list of available updates. Also they where not newer versions of the program.
Example:
The one I noticed was pMusic.
The one that comes with Slacko 5.7 is pMusic V4.2.8
Update Puppy 2 wanted to install pMusic V2.6.7
In Slacko 5.7 "Puppy Package Manager" one of the repositories is the puppy-noarch.
That is where pMusic V2.6.7 is listed.
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)
As per bigpup's post, it seems that an updater wanting to install an older version of an application over a newer version of the same application goes against what an updater is supposed to do.
Also, adding a feature to be able to select what applications to update from the list would be good.
Puppy is supposed to allow the user control of their system and any updating application that takes that choice away to me is counter productive.
Also, adding a feature to be able to select what applications to update from the list would be good.
Puppy is supposed to allow the user control of their system and any updating application that takes that choice away to me is counter productive.
I posted about this program in the Woof-CE forum.
Need to read the comments posted there.
http://woof-ce.26403.n7.nabble.com/Pupp ... td704.html
Example:
Need to read the comments posted there.
http://woof-ce.26403.n7.nabble.com/Pupp ... td704.html
Example:
mavrothal wrote:Layered OSs with a read-only core are not "tuned" for continuos updates because after a while your original SFS is useless and your save-file/folder is over 1GB with OS files. So effectively it becomes a full install.
For "emergency" updates, PPM already has a "service pack" mechanism and is up to the pupplet developer to provide the packs.
For bigger updates a point release through a delta every a couple of months makes more sense for a puppy-like OS.
An other issue with an "automatic" update is that puppies have various hacks and trims over the standard packages. An automatic update may reverse or even brake things. All distro's that provide automatic updates have a tightly regulated repository with packages tested for compatibility (and even there you have occasional breakdowns). Puppy has non of that...
The automatic-updates software is fine to have but the real issue with updates is the "quality assured" repo.
So if we get a repository with carefully tested packages for every (offical) pupplet out there, I'm all for automatic updates. At least for full installs.
Any takers for the QAed repos?
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)
- xanad
- Posts: 400
- Joined: Fri 28 Feb 2014, 14:56
- Location: 2 locations: MonteRosa Alp and Milano
- Contact:
A contribute:
updatepuppy.sh gettetextized (little change at line 38 - quote problem)
updatepuppy.sh.pot
updatepuppy.sh.mo - italian
updatepuppy.sh gettetextized (little change at line 38 - quote problem)
updatepuppy.sh.pot
updatepuppy.sh.mo - italian
- Attachments
-
- updatepuppy.tar.gz
- (3.28 KiB) Downloaded 286 times
A few items and suggestions if I may:
I initially thought the updater wasn't working correctly.
It read: Package "$name" is at version "$version" on multiple lines.
Jasper made a good point, with a pause at 20% and so on up to 100%.
My update required many items to be updated. The interactive window requiring "OK" became an annoyance, after the first few updates. It would be nice to have this automated, without the pop-ups.
As someone mentioned earlier, it would be nice to choose which items you want to update.
Additional note: It appears I lost at least a few menu entries. This may or may not be related to the actual packages that were updated but specifically, my Opera and Seamonkey menu items disappeared. They still work from terminal. I may have lost other menu items but I haven't taken a full inventory. Running OV Precise 5.8
Best,
Slavvo67
I initially thought the updater wasn't working correctly.
It read: Package "$name" is at version "$version" on multiple lines.
Jasper made a good point, with a pause at 20% and so on up to 100%.
My update required many items to be updated. The interactive window requiring "OK" became an annoyance, after the first few updates. It would be nice to have this automated, without the pop-ups.
As someone mentioned earlier, it would be nice to choose which items you want to update.
Additional note: It appears I lost at least a few menu entries. This may or may not be related to the actual packages that were updated but specifically, my Opera and Seamonkey menu items disappeared. They still work from terminal. I may have lost other menu items but I haven't taken a full inventory. Running OV Precise 5.8
Best,
Slavvo67
Thank you for tips!
Now you can choose which update do you want to install.
I made a new version with gtkdialog. It looks really better.
There is one Main Window.
Many thanks to zigbert: http://murga-linux.com/puppy/viewtopic.php?t=38608 and LazY Puppy http://murga-linux.com/puppy/viewtopic.php?t=96575
Try it out and report errors!
P.S.: xanad: I think your language pack isn't working with the new version. Unfortunately. But many thanks for your help!
bigpup: Do you really think packages like firefox ... needn't an update?
Maybe we can choose some packages which needs an update and search especially for them.
Now you can choose which update do you want to install.
I made a new version with gtkdialog. It looks really better.
There is one Main Window.
Many thanks to zigbert: http://murga-linux.com/puppy/viewtopic.php?t=38608 and LazY Puppy http://murga-linux.com/puppy/viewtopic.php?t=96575
Try it out and report errors!
P.S.: xanad: I think your language pack isn't working with the new version. Unfortunately. But many thanks for your help!
bigpup: Do you really think packages like firefox ... needn't an update?
Maybe we can choose some packages which needs an update and search especially for them.
- Attachments
-
- screenshot_updatemanager_2014-11-26_145508.png
- (65.17 KiB) Downloaded 432 times
-
- updatepuppy.tar.gz
- Puppy Update Manager 3
- (2.09 KiB) Downloaded 267 times
Last edited by linus.cl on Wed 26 Nov 2014, 19:44, edited 3 times in total.
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
You should continue to increase/use version number (so: Update Manager 3 etc.pp.) and put it always into the first post or even -at least- put a link to it in first post.
Pretty cool, the tree example is working for you.
RSH
Pretty cool, the tree example is working for you.
RSH
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
Yes, it is working!linus.cl wrote: Many thanks to zigbert: http://murga-linux.com/puppy/viewtopic.php?t=38608 and LazY Puppy http://murga-linux.com/puppy/viewtopic.php?t=96575
Thank you for the help!
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
You probably want to sort your list in alphabetical order?
Code: Select all
sort -u YourList > YourListSortedTemp
cp -af YourListSortedTemp YourList
rm -f YourListSortedTemp
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink: