This was implemented by a new script, /usr/local/petget/check_deps.sh, in the 'petget' package. The version of this package is now '411'.
The script determines what repo the package comes from and looks in that repo only for dependent packages. For an "alien" package, one that you downloaded from anywhere and clicked on the install, the script looks in all known repos.
Note that the repos Puppy knows about are in /root/.packages/livepackage$REPO.txt, where $REPO can be any string. The official repos are currently "2", "3" and "4". For the current repo, 4, puppy looks in /root/.packages/livepackages.txt.
A new repo can be added, say livepackages_EXTRAPUP4.txt, but PETget will also have to be updated to know where to look online for those packages.
....hmmm, I wonder if we could incorporate that info into /root/.packages, that PETget can read?
Comments:Posted on 18 Oct 2008, 22:09 by disciple
A little enhancement that is dying to be done is simply making the list of dependencies that you see when you install a package selectable, so you can select the name of a dependency to copy it and go search the forum for it, instead of having to type it out.