http://www.murga-linux.com/puppy//viewt ... 78#1010478
Mistfire made some efforts to simplify things in PPMv3 and some of these change might have been incorporated into WoofCE and if not you can probably find them as part of x-slacko slim.
However, in my opinion; even with Mistfire's simplifications, the ppm way of adding repos is confusing. The Debian approach or using the sources.list file is much simpler and this can be done via Scotmann's package manager (AKA pkg).
**WARNING**
I consider this approach experimental because as a minimum Scotmann's version of the package manager hasn't had as much testing as the puppy package manager (AKA petget). I presume that "pkg" works on the systems which Scotmann tested it on and it may also work on puppy distros which include pkg as part of the release (e.g. josejp2424's version of dpup buster). However, even if it does work in said versions of puppy; it still might be the case that for these puppies, the sources.list approach might be quite a bit slower than the 0setup approach. See issue:
- ppa2pup should probably use the deb2pup binary
Anyway, I'm working on some code that appears to significantly speed up this by utilizing AWK to convert the debian package database into puppy format (the credit goes mostly to jamesbond here). See issue:
- ppa2pup alternative approaches
To test this code you can replace the file /usr/sbin/ppa2pup with the following code [1]:
/usr/sbin/ppa2pup
**Above Link Updated** - 19 Nov 19
I recommend creating a backup of ppa2pup so that as a minimum one has a reference point to see what has changed. For testing you you might want to comment out the line in /usr/sbin/pkg which calls 0setup [2]. If you like how the new ppa2pup code works, you can add all repos to sources.list so that these packages are updated via ppa2pup rather than via 0setup. This will remove both the architecture dependencies of pkg and also the dependencies of package on the puppy package manager [3]
Once this is done then we can test out ppa2pup with the following command:
Code: Select all
pkg --repo-update
I will do some testing of this updated version of ppa2pup on my tiny_puduan_ascii distro. If anyone tests this on a different version of puppy, please let me know of the results
Notes
-------------------
1 - When copying from pastebin either copy and paste the raw version of the file or alternatively download the file and change the line ending to Unix format either by using the editor (e.g. geany) or the dos2unix utility.
2 - It is safe to comment out the 0setup line from package because we can call this function directly if we want rather than using "pkg --repo-update".
3 - Removing the dependencies on petget will help in building minimal systems like wiak's firstrib/weedog system.