Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Oct 2018, 03:06
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Puppy package update manager
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [24 Posts]   Goto page: 1, 2 Next
Author Message
linus.cl

Joined: 02 Apr 2014
Posts: 127
Location: Germany

PostPosted: Mon 22 Sep 2014, 11:22    Post subject:  Puppy package update manager
Subject description: The newest version of the puppy package updater
 

Hello!

The Puppy package updater is out! Very Happy Very Happy

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! Smile

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.
updatepuppy.tar.gz
Description  Puppy Update Manager 3
gz

 Download 
Filename  updatepuppy.tar.gz 
Filesize  2.09 KB 
Downloaded  328 Time(s) 
updatepuppy2.tar.gz
Description  Puppy Update Manager 2
gz

 Download 
Filename  updatepuppy2.tar.gz 
Filesize  1.93 KB 
Downloaded  322 Time(s) 
screenshot_2014-09-22_172633.png
 Description   Screenshot
 Filesize   39.42 KB
 Viewed   1271 Time(s)

screenshot_2014-09-22_172633.png

updatepuppy.tar.gz
Description  Puppy Update Manager
gz

 Download 
Filename  updatepuppy.tar.gz 
Filesize  1.81 KB 
Downloaded  325 Time(s) 

Last edited by linus.cl on Wed 26 Nov 2014, 14:16; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Mon 22 Sep 2014, 12:10    Post subject: Re: Puppy package update manager
Subject description: The newest version of the puppy package updater
 

linus.cl wrote:
The Puppy package updater is out!

Good news.
I'll try soon.

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Wed 24 Sep 2014, 07:34    Post subject:  

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

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
Jasper

Joined: 25 Apr 2010
Posts: 1350
Location: England

PostPosted: Wed 24 Sep 2014, 09:48    Post subject:  

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
Shot.png
 Description   
 Filesize   8.06 KB
 Viewed   1182 Time(s)

Shot.png

Shot(1).png
 Description   
 Filesize   33.33 KB
 Viewed   1188 Time(s)

Shot(1).png

Back to top
View user's profile Send private message 
linus.cl

Joined: 02 Apr 2014
Posts: 127
Location: Germany

PostPosted: Wed 24 Sep 2014, 13:51    Post subject:  

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


Thank you for your suggestion!
You are not able to choose packages yet, all packages will be installed.
Back to top
View user's profile Send private message Visit poster's website 
linus.cl

Joined: 02 Apr 2014
Posts: 127
Location: Germany

PostPosted: Wed 24 Sep 2014, 13:58    Post subject:  

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


Thank you!

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!! Rolling Eyes Very Happy
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!
screenshot_2014-09-24_195747.png
 Description   
 Filesize   24.49 KB
 Viewed   1167 Time(s)

screenshot_2014-09-24_195747.png

Back to top
View user's profile Send private message Visit poster's website 
Jasper

Joined: 25 Apr 2010
Posts: 1350
Location: England

PostPosted: Wed 24 Sep 2014, 14:56    Post subject:  

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
Back to top
View user's profile Send private message 
linus.cl

Joined: 02 Apr 2014
Posts: 127
Location: Germany

PostPosted: Thu 25 Sep 2014, 12:55    Post subject:  

Update Puppy 2 is out! I've add a progressbar. A bug is fixed now: The packages will be installed with petget.

Download the newest version at the first post.

Does somebody know how to add a checkbox to the program??

Thanks
Back to top
View user's profile Send private message Visit poster's website 
Jasper

Joined: 25 Apr 2010
Posts: 1350
Location: England

PostPosted: Thu 25 Sep 2014, 14:03    Post subject:  

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
Back to top
View user's profile Send private message 
linus.cl

Joined: 02 Apr 2014
Posts: 127
Location: Germany

PostPosted: Thu 25 Sep 2014, 14:41    Post subject:  

Jasper wrote:
Hi linus.cl et al,
I suggest that, at least for now, testers have a back-up.

Yes, that's important. But I don't know which kind of back-up do you mean.

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.

Why? When I tried the program it works.

For example:
Code:

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

Jasper wrote:

Unimportantly, the progress bar shot to 20%, then after long gap went to 60% then after a few more minutes to 100%.

Yes, this must be better.
Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 11129
Location: Charleston S.C. USA

PostPosted: Wed 08 Oct 2014, 02:47    Post subject:  

Quote:
Description
The Puppy package updater updates all packages that are avaible in the repos of ppm.

Is this all the repositories selected to be seen in the main GUI?
Or all the ones that are listed in the PPM configuration, as possible repositories to select from?

_________________
I have found, in trying to help people, that 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 Shocked
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11129
Location: Charleston S.C. USA

PostPosted: Wed 08 Oct 2014, 15:09    Post subject:  

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.

_________________
I have found, in trying to help people, that 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 Shocked
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3425
Location: Oregon

PostPosted: Wed 08 Oct 2014, 19:45    Post subject:  

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.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 11129
Location: Charleston S.C. USA

PostPosted: Fri 10 Oct 2014, 14:57    Post subject:  

I posted about this program in the Woof-CE forum.

Need to read the comments posted there.
http://woof-ce.26403.n7.nabble.com/Puppy-package-update-manager-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?

_________________
I have found, in trying to help people, that 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 Shocked
Back to top
View user's profile Send private message 
xanad


Joined: 28 Feb 2014
Posts: 400
Location: 2 locations: MonteRosa Alp and Milano

PostPosted: Sat 11 Oct 2014, 08:04    Post subject:  

A contribute:

updatepuppy.sh gettetextized (little change at line 38 - quote problem)
updatepuppy.sh.pot
updatepuppy.sh.mo - italian
updatepuppy.tar.gz
Description 
gz

 Download 
Filename  updatepuppy.tar.gz 
Filesize  3.28 KB 
Downloaded  217 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [24 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1285s ][ Queries: 14 (0.0105s) ][ GZIP on ]