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 Sun 22 Oct 2017, 08:02
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
PPM2
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 17 [250 Posts]   Goto page: 1, 2, 3, ..., 15, 16, 17 Next
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 2881

PostPosted: Thu 05 Feb 2015, 10:49    Post subject:  PPM2
Subject description: Puppy Package Manager generation 2.
 

After 2 months in development the "Version 2" of Puppy Package Manager (PPM) is at the "release candidate" state and ready for wider testing.

The major feature of the new PPM is that it can install or remove simultaneously many packages and their dependencies without any further user input. "With just 1 click".

And of course it has a brand-new UI, curtesy primarily of Zigbert, and a number of configuration options that you may want to explore and configure to your liking.
See a short video with the new PPM in action here to get a feeling of its function.

In addition to package installation, PPM2 provides the option to only download multiple packages with or without their dependencies with just 1 click, and furthermore allows you to define where the packages will be downloaded.

Finally, with PPM2 you can use again petget to install and remove packages from the console without a Desktop running (for example to install that missing video driver)

Of course Puppy is known for its very detailed and interactive UI so a step-by-step installation method reminiscent to the previous PPM behaviour is also available.
And for those that wary if they would like PPM2 at all, PPM with its Classic UI is still there as always functioning as it always had.

PPM2 is compatible with all 5.5+ puppies. From Racy 5.5 to TahrPup 6.0.1, 32 or 64 bit, frugal or full installs!
So install the ppm_auto pet and enjoy.

The pet also includes Zigbert's libstartdust that provides the required UI elements from the current woof-CE.

Please report success or failure here so by v2.0 with be a true PPM2 Wink

Updates log since 1.9.1 (from git log)
b200470 - Version 1.9.1
480b121 - Report correctly at the end in step-by-stem
49c4e0f - Correct reporting in step-by-step with mixed actions
278f6dc - Toggle icon of Uninstall button
18a44c2 - Clean flags on exit so will not inhibit PPM scripts
732af13 - Check DL_PATH only if it exists
5328ba1 - Version 1.9.2
80a24fc - Do not install renamed pets. Produce empty petname.files file
fb1c585 - Petget: do not delete packages if already in /root
01e0826 - Version 1.9.3
b0b694a - Integrate reportwindow.sh to installwindow.sh
107c6a1 - Rename 'install/remove'window.sh to modes.sh
2f2e99e - Editorial changes in reporting
4834311 - Version 1.9.4
61f6905 - Improve progress bar reporting for downloaded packages
4d53edc - Allow pets from older dir2pet to be installed
8e47478 - Do not freeze UI if user forces auto-install
1f32d84 - Allow download or step-by-step if package is installed
afca3bb - Version 1.9.5
b93c65b - Move textdomain earlier. Editorial
fd3bd1a - Specify space errors better
3de455f - Optionally inform of configuration changes at startup
8524a29 - Version 1.9.6
687ddce - Improve status bar reporting
c60049f - Align text in configuration info window
4e3e012 - Try a second download URL before give up
ec7ae9e - Change prompt as we do not always install
fb52d20 - Version 1.9.7
b30653e - Add statusbar info when testing. Remove trailing spaces.
546627d - PPM2; Support for multiple package installation/removal and console operation.(from woof-CE git log)
NOTE: PPM in puppies produced from woof-CE after May 10,2015, is newer and improved in some aspects over the attached pet

Changes that did not make it but you might be interested in:
Use the old ziggy UI in traditional
Add a clear button in the search field
Configurable default mode
Start at the last mode used
No warning if package is installed
Stealth package installation
Warn if deleted file is also installed by other pets
Do not ping Google if we do not check external IP
Configurable checking for service packs
Allow renamed/malformed packages
ppm_auto-2.pet
Description  NOTE: PPM in puppies produced from woof-CE after May 10,2015, is newer than this pet.
pet

 Download 
Filename  ppm_auto-2.pet 
Filesize  142.63 KB 
Downloaded  1044 Time(s) 

_________________
== Here is how to solve your Linux problems fast ==

Last edited by mavrothal on Fri 09 Oct 2015, 00:52; edited 30 times in total
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 3099
Location: wales

PostPosted: Thu 05 Feb 2015, 11:38    Post subject:  

hi mavrothal,

nearly there! Smile

tahrpup 6.0.1 ... 'auto install' and 'step by step' are working fine but both 'download' and 'download with dependencies' fail 100% of the time with 'no space left on device' error.

this is after clicking on the freememapplet

last version without this error was 1.5

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2881

PostPosted: Thu 05 Feb 2015, 11:52    Post subject:  

666philb wrote:
hi mavrothal,

nearly there! Smile

tahrpup 6.0.1 ... 'auto install' and 'step by step' are working fine but both 'download' and 'download with dependencies' fail 100% of the time with 'no space left on device' error.

this is after clicking on the freememapplet

last version without this error was 1.5

What is the error
"Free space estimation error. Exiting" or "No space left on device. Exiting"? do you have an alternative download folder?
Please post an image of the actual error

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 3099
Location: wales

PostPosted: Thu 05 Feb 2015, 12:21    Post subject:  

booting with no save i get "No space left on device. Exiting"
booting with a save i get "Free space estimation error. Exiting" i also get the 'pup_event_error' message with this one. (it pops up twice)

download folder is default /root
all settings default,
snapshot.png
 Description   
 Filesize   9.67 KB
 Viewed   2637 Time(s)

snapshot.png


_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2881

PostPosted: Thu 05 Feb 2015, 12:31    Post subject:  

666philb wrote:
booting with no save i get "No space left on device. Exiting"
booting with a save i get "Free space estimation error. Exiting" i also get the 'pup_event_error' message with this one. (it pops up twice)

download folder is default /root
all settings default,

OK, as we said before this has to do with pup_event not ppm.
In meant that the file /tmp/pup_event_sizefreem is not there.
This file is produced by pup_event.
Is the file there? Apparently your system has something that messes up pup_even.
Do you still see it after a restart?
You may want to try a fresh install.

Finding available free space through pup_event_sizefreem is something that PPM is doing at least since puppy 4, 6 years ago. Is not specific to PPM2
(There is no point in removing the check as it is important to be sure about the available space, otherwise you may end up with a broken system in the middle of an installation)

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
festus


Joined: 14 Jan 2015
Posts: 135

PostPosted: Fri 06 Feb 2015, 09:25    Post subject:  

Hello, mavrothal.

I installed, ppm_auto-1.9.1.pet, last night on LxPupTahr-14.12.1-pae, and when I wanted to check the dependencies of an application through >setup>check dependencies installed pkg, it gave no results. When, ppm_auto-1.9.1.pet, was uninstalled the dep-check worked as usual.


Just wanted to report this behavior.

festus Smile
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1370
Location: Japan

PostPosted: Fri 06 Feb 2015, 11:52    Post subject:  

Same problem here as 666philb. Installing 2 small packages went well, but then "No space left on device". File /tmp/pup_event_sizefreem exists (contains '887').
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2881

PostPosted: Fri 06 Feb 2015, 12:28    Post subject:  

festus wrote:
Hello, mavrothal.

I installed, ppm_auto-1.9.1.pet, last night on LxPupTahr-14.12.1-pae, and when I wanted to check the dependencies of an application through >setup>check dependencies installed pkg, it gave no results. When, ppm_auto-1.9.1.pet, was uninstalled the dep-check worked as usual.

Just wanted to report this behavior.

festus Smile

Good catch. Thanks.
The script actually works but is "quiet" because of the PPM. If you set the PPM mode to "step by step" and then you close it it will work fine.
Anyway is fixed now for the next version.

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2881

PostPosted: Fri 06 Feb 2015, 12:35    Post subject:  

MochiMoppel wrote:
Same problem here as 666philb. Installing 2 small packages went well, but then "No space left on device". File /tmp/pup_event_sizefreem exists (contains '887').


Actually "No space left on device" is a different error than what Phill has.
It means that the devise that has your savefolder/file or the device you have your download folder on is full.
Since we allow alternative download folders the script also checks on the device where the download folder is.
Any chance that this device was full or non-writable?

Since we allow for large an unattended installations, space check is rather extensive. Actually there are at least 4 different warnings when it comes to space checks, So if you (and anyone else that may get space related warnings) can post an image of the actuall warning/error would be very helpful to figure out which one it is and where it may be due.
Would also help to know the setup, ie with or without a savefile/folder, with or without an download folder other than /root and if you install or download the packages.

Latter: I found a case that this might have happened. Should be OK in 1.9.2

_________________
== Here is how to solve your Linux problems fast ==

Last edited by mavrothal on Fri 06 Feb 2015, 16:13; edited 1 time in total
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 1980
Location: In The Way

PostPosted: Fri 06 Feb 2015, 14:36    Post subject:  

After installing xdotool, elinks with dependencies, the 'report' listed one missing dependency. It would have been so nice to be able to 'copy' the text from the report rather than having to remember these often non-human memorable names. Just saying.
Back to top
View user's profile Send private message MSN Messenger 
mavrothal


Joined: 24 Aug 2009
Posts: 2881

PostPosted: Fri 06 Feb 2015, 15:24    Post subject:  

stemsee wrote:
After installing xdotool, elinks with dependencies, the 'report' listed one missing dependency. It would have been so nice to be able to 'copy' the text from the report rather than having to remember these often non-human memorable names. Just saying.

Hit view details and opens it in leafpad (or your default text viewer). Copy/save from there.

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2881

PostPosted: Fri 06 Feb 2015, 15:29    Post subject:  

New version 1.9.2
See first post for download, changes and fixes.

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
bigpup


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

PostPosted: Fri 06 Feb 2015, 20:19    Post subject:  

PPM version 1.9.2 installed.

Run "Check Dependencies Installed Packages" from menu->Setup.

If you choose a listed item to check.
Select "Check Dependencies" button.
The program window disappears and never comes back.
You see nothing for results of check or anything.

In fact it appears that the program shuts down.
The taskbar, program icon, disappears.
Etc....

Only way to get the "Check Dependencies Installed Packages" window back is to restart it from the menu.

Quote:
for version 1.9.1 The script actually works but is "quiet" because of the PPM. If you set the PPM mode to "step by step" and then you close it it will work fine.
Anyway is fixed now for the next version.

So the fix is in the next, next version Question Laughing

_________________
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 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1370
Location: Japan

PostPosted: Fri 06 Feb 2015, 20:51    Post subject:  

mavrothal wrote:
Actually "No space left on device" is a different error than what Phill has.
It's the same error message (read his post, I'm not talking about the screenshot) , so what makes you think that it's a different error?
Quote:
Any chance that this device was full or non-writable?
No. Free personal storage space 887MB. I didn't change any configurations.
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2881

PostPosted: Sat 07 Feb 2015, 00:38    Post subject:  

bigpup wrote:

So the fix is in the next, next version Question Laughing

This is certainly not the case as you can see
Check deps runs fine at my end.
Did you run 1.9.2 (just open and close) before to remove any previous flags?
It is normal for the program to disappear from the task bar as it is only a front end for check_deps.sh and it closes. If the quiet flag is still there from an earlier PPM will suppress any output.
Or maybe there is some other left over in your system? Is it also the case in fresh installs, ram etc?
If it insists, follow your signature Wink so we can find out what triggers it there and take some precautionary measures if needed.


MochiMoppel wrote:
It's the same error message

Phill indeed mentioned this error, but most on the "discussion" was on the other one. When you said the same message I assumed the major one. Rolling Eyes
Anyway, see if you can reproduce it with 1.9.2. I believe is fixed (if it is what I think it was).

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 17 [250 Posts]   Goto page: 1, 2, 3, ..., 15, 16, 17 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0811s ][ Queries: 12 (0.0072s) ][ GZIP on ]