Dependency checking improved

All Woof-built puppies have a package dependency checker in the menu, at "Setup --> Check dependencies installed pkg". This runs script /usr/local/petget/check_deps.sh. When the Puppy Package Manager installs a package, this script is also run.

Playdayz reported a problem with some packages reporting missing shared library files, when in fact they did exist. An example given was 'EudoraOSE-1.0rc1-Lucid.pet' which is a Lucid Puppy 5.1 package. The problem occurs if the libraries are not in the library search path, but the package most likely has a startup script that makes the libraries loadable.

I have fixed /usr/local/petget/check_deps.sh so that it reports if "missing" libraries do actually exist. I also added a "View details" button that gives a breakdown of missing libraries on a per-executable basis.


Posted on 30 Aug 2010, 19:08


Comments:

Posted on 30 Aug 2010, 22:25 by technosaurus
dir2pet dependencies
wasn't there at some point a list of possible dependencies when running dir2pet? lots of packages in the forum are missing dependencies or have the wrong ones and this could be useful... or maybe I am just overlooking it/have outdated version.

wouldn't it be something like:
POSSDEPS=`cat <pkgslist> |cut -d "|" -f 1`


Posted on 31 Aug 2010, 7:51 by BarryK
re dir2pet
No, I don't think dir2pet ever had a dependency checking in it. It is up to the developer to determine dependencies and add them in the pet.specs file.



Posted on 31 Aug 2010, 13:22 by bigpup
Package list too long to see all
Menu
Did this get fixed?

Setup>Check dependencies installed pkg

can't see all packages installed (can see first 28 of my 43 installed packages)
Go full screen and still can't see all installed packages. No way of seeing the rest. The list is too long with no way to scroll.



Posted on 31 Aug 2010, 16:13 by BarryK
43 packages
That is a somewhat unusual situation?

If you hold down the <alt> key, you can drag a window with the mouse pointer -- does that enable you to see them all?



Posted on 1 Sep 2010, 12:53 by bigpup
the bug report
Here is the bug report:
http://www.murga-linux.com/puppy/viewtopic.php?t=57336

To me, it is just an understood basic feature of any program. If it shows a list, that is too long to see it all, there would be a way to scroll down the list. This program does not have that ability.
Having to move the window around seems so lame!


Posted on 1 Sep 2010, 15:44 by BarryK
Re too many installed pkgs
Ok, I have modified the script, not with scrolling, but if list is more than 23 packages then they are displayed in two columns.



Posted on 2 Sep 2010, 12:35 by bigpup
Great changes!
Thanks for making these changes! Now this program is even better.
Can it be downloaded someplace to update what is in use now?