Now I wrote a tool similar to Woof and Pdebthing that can download DEB packages (of Ubuntu, Debian, ...) with their dependencies, but this time it's written in Perl and all its components are independent, so I can use this as the base for a package manager. It's similar to the relationship between Woof and PPM.
I wrote it from scratch with more of the secret UNIX philosophy sauce on top
At the moment I run it with these packages and the Ubuntu Maverick repos:
While Pdebthing detected around 90 dependencies for the last 4 packages, this beast detects almost 300. It's 100% percise but much heavier. Lots of recursion workubuntu-minimal
xorg
desktop-base
menu-xdg
extra-xdg-menus
kdelibs-kde3
kdebase-kde3
Just a working X ... is that too much to ask for?
EDIT: X won't start and I noticed things like dbus and hal are missing, so now I'm doing a second run with those:
As you see it's pretty much the entire Lubuntu, I want to start with all packages and then start the trimming. I just want a working X. Puppy's X works but it's broken, missing icons and stuff because the Puppy init scripts create a desktop icons "cache" and run the "event manager" ... I don't have those in the Calf Linux init.ubuntu-minimal
ubuntu-standard
xorg
desktop-base
lubuntu-desktop
I also noticed many packages have post-install scripts so I must reverse-engineer this too, I need to write some script that installs a DEB package to a directory ... then I need to run it for all packages in one huge directory and make a SFS from this mess