Built-in-package remover for Puppy (both versions 1.x.x and 2.xx)
Note: Version 1.5 will work with Puppy 2.14. However, it has a dependency on the 0pkgs_db file. That is what contains the data it needs to uninstall things. If you upgrade your Puppy to a newer version, you should also update that dependency for best results. Just use PETget, it's easy.
PupBeGone is a hacked PupGet that displays the files that Puppy comes with by default. Stuff like Abiword or Gaim or Mozilla. It then lets you remove them. This is accomplished by either downloading the package list, or downloading the package and making a filelist out of it, then using that list to remove the package. It also edits /root/.packages/packages.txt to reflect the changes. That means that if you want to get them back, you will be able to do it with good old PupGet. Which is good since PupBeGone can't install.
Unfortunately, Puppy replaces /root/.packages/packages.txt with every boot. To get around this, I set it to back it up to /root/.packages/currentpackages.txt. The install script adds the line
Code: Select all
cp /root/.packages/currentpackages.txt /root/.packages/packages.txt
Also, like with PupGet, PupBeGone gives you the option of using a local file rather than downloading the package. It also allows you to archive the package (in /root/archive) in case you want to reinstall it without pesky download times. You don't have to archive it, though.
Keep in mind that this script is pretty much pointless in anything but a hardrive install (poor-man's-hd install won't cut it either). It will "delete" the package, but it will still be there. It will look like it's gone, but since it's really on the cd or pup_xxx.sfs, it's really still there. It makes it unusable and removes it from the menu, but there is no size change.
However, it is possible to use PupBeGone to remove packages before running one of those easy remaster scripts that copies your current setup. I think AlienX's works like that.
WARNING: PupBeGone is broken, and has been for the last couple versions too. Version 1.4 should work with the "old method" up through Puppy 2.13. I'll fix this by the 24th.
pupbegone-v1.5.pet
pupbegone-v1.4.pup