PPM2

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

PPM2

#1 Post by mavrothal »

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 ;-)

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 ifpackage 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
Attachments
ppm_auto-2.pet
NOTE: PPM in puppies produced from woof-CE after May 10,2015, is newer than this pet.
(142.63 KiB) Downloaded 1605 times
Last edited by mavrothal on Fri 09 Oct 2015, 04:52, edited 30 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] ==

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

hi mavrothal,

nearly there! :)

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
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#3 Post by mavrothal »

666philb wrote:hi mavrothal,

nearly there! :)

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
== [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] ==

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#4 Post by 666philb »

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,
Attachments
snapshot.png
(9.67 KiB) Downloaded 3417 times
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#5 Post by mavrothal »

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)
== [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] ==

User avatar
festus
Posts: 235
Joined: Wed 14 Jan 2015, 19:10

#6 Post by festus »

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.
Image

Just wanted to report this behavior.

festus :)

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#7 Post by MochiMoppel »

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').

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#8 Post by mavrothal »

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 :)
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.
== [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] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#9 Post by mavrothal »

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
Last edited by mavrothal on Fri 06 Feb 2015, 20:13, edited 1 time 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] ==

stemsee

#10 Post by stemsee »

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.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#11 Post by mavrothal »

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.
== [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] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#12 Post by mavrothal »

New version 1.9.2
See first post for download, changes and fixes.
== [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] ==

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#13 Post by bigpup »

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.
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 :?: :lol:
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 :shock:
YaPI(any iso installer)

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#14 Post by MochiMoppel »

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?
Any chance that this device was full or non-writable?
No. Free personal storage space 887MB. I didn't change any configurations.

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#15 Post by mavrothal »

bigpup wrote: So the fix is in the next, next version :?: :lol:
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. :roll:
Anyway, see if you can reproduce it with 1.9.2. I believe is fixed (if it is what I think it was).
== [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] ==

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#16 Post by bigpup »

Did you run 1.9.2 (just open and close) before to remove any previous flags?
After doing this "Check Dependencies Installed Packages" from menu->Setup seems to be working OK now.
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 :shock:
YaPI(any iso installer)

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

version 1.9.3

#17 Post by mavrothal »

Came across a harmless but possibly annoying bug, where if a pet is in /root and you click to install it, but then abort when petget asks if you want to install it, the pet is deleted. Not anymore.
Pets from other locations are still deleted from /root when you abort installation.

This fix in the newly uploaded Version 1.9.3
(check first post)


Any other bugs anyone?
== [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] ==

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#18 Post by bigpup »

Version 1.9.3

Using in full install of Tahrpup 6.0.1

Seems to be working for me OK.

Not really sure why the classic GUI is even offered anymore.
It is like having two completely different versions of PPM.
Does seem like stepping back in time when using the classic GUI.
One thing about the classic GUI.
It does not scale to full size window very well.
Notice going full window does nothing to change the size of the package list display.
Attachments
capture18830.png
(99.65 KiB) Downloaded 579 times
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 :shock:
YaPI(any iso installer)

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#19 Post by mavrothal »

bigpup wrote:Not really sure why the classic GUI is even offered anymore.
It is like having two completely different versions of PPM.
Does seem like stepping back in time when using the classic GUI.
One thing about the classic GUI.
It does not scale to full size window very well.
Notice going full window does nothing to change the size of the package list display.
Classic UI was always like that and is going to stay that way (at least concerning my input in it - patches are always welcome).
This is actually the idea, keep the old familiar environment for whoever is using it and is familiar with it.
I'm sure you have seen the apparent age distribution of puppy users and you may find some value in this (even if exceptions in both directions are very common).
I also think that providing the "safety" of the familiar, increases the chances for trying and eventually adopting the new UI.
== [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] ==

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#20 Post by bigpup »

Thanks!

I understand.

Some people just will not move on to using the latest.

Why get a new cell phone? :shock: :lol:
Attachments
Briefcase-273x300.jpg
(24.59 KiB) Downloaded 575 times
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 :shock:
YaPI(any iso installer)

Post Reply