PPM dependency improvements

I am currently working on the Puppy Package Manager.

One thing that I have just fixed is handling of the PKG_NAME_ALIASES variable. This variable is defined in the PKGS_MANAGEMENT file, which in a running Puppy is in /root/.packages.

This variable declares alternate names for packages. Different distros may have different names for the same package, also some PETs used in Puppy may have different names from those in the host distro.

Each entry in PKG_NAME_ALIASES is space-delimited and has a comma-separated list of equivalent names. For example: libungif,libgif,giflib

In the above example, you may install a package, for example a Slackware package, that lists 'giflib' as one of the dependencies, however Puppy has 'libgif' as the name of the installed package. PPM will filter out this bogus missing dependency.

PKG_NAME_ALIASES can have glob wildcards, for example 'cxxlibs,glibc*,libc-*', and that was not working. I have fixed it.

I tested with the 'ffmpegthumbnailer' package on the Slacky repository, which has 'cxxlibs' as one of its dependencies.

But, there is another problem, that I intend to tackle next. Spup 0.4 has an ffmpeg PET that I compiled myself, and 'ffmpegthumbnailer' is not compatible with it, will only work with the older ffmpeg at the Slacky repository.

Posted on 11 Jul 2010, 8:10


Posted on 11 Jul 2010, 13:52 by bigpup
Dependencies checker
Have you looked at this bug when trying to check dependencies for installed pets?


Posted on 13 Jul 2010, 18:42 by scsijon
ppm mod if time and simple
can I request, please, if it's simple and you have time, and since your working on ppm, to add a tickbox to leave the downloaded file in root rather than deleting after installing.

Posted on 13 Jul 2010, 18:58 by BarryK
Package in /root
Well, one workaround is to download it somewhere other than /root.

This is nagging at my memory... I think that it was ttuuxxx who requested this some time ago, and I thought that I did implement it, that is, not delete package if it is in /root.

But I can't quite remember. Are you using a recent PPM?

Posted on 14 Jul 2010, 20:15 by L18L
working on the Puppy Package Manager
glad to see that you are working "only" on dependencies because I have just uploaded my internationalized version of dotpup inclusive ppm and installer, see

Best regards and thanks for woof