site  contact  subhomenews

PPM: dependency check bug

December 20, 2010 — BarryK
Forum member 'scsijon' was testing Wary 102 and reported issues with installing some packages.

Firefox has the dependency 'alsa-lib', which is installed but the dependency-check reported it missing. This occurs because the PET used in Wary is called 'alsa-lib21a'. Fixed. I edited /usr/local/petget/

When it installs, the Firefox PET puts up a message that a reboot is required to properly install it. Before rebooting, the dependency-check window reported '' missing. Yes, that is because it is located at /opt/, and is supposed to be found after a reboot.

But, it was not found after reboot either.
I found a bug in /etc/profile, fixed.

Firefox then ran fine. resync
scsijon also reported a problem with the Firefox PET being corrupted at I logged into and performed a 'touch' operation on all the Wary and Quirky PET packages to change their 'accessed' and 'modified' dates, which should force to re-download all the PETs.

I tested installing Firefox from, it downloaded and installed ok.


PPM update database
Username: bigpup
A wish for improvement to PPM. In PPM configure, if you select update now, for the data base, all the data bases get updated. Takes a very long time. What would be a very good feature is for it to only update the repositories that you have selected to use. You select: Puppy-lucid-official Puppy-woof-official Click on "update now" Only those two get updated. That is all you need. Love the improvements you have made to PPM!!!!

Re PPM update long time
Username: BarryK
"Yes, for you Lucid guys, I need to liaise with Iguleder, who has written a conversion tool that converts the Debian/Ubuntu pkg databases to Puppy format very quickly -- I did write that in my to-do list, haven't got around to it yet.

Username: 01micko
"Hi Barry Unfortunately for Puppy, Iguleder has been drafted to the Israeli Army. I don't think we'll be seeing him until he gets some leave, which could be several weeks or months. He wrote a tool called "Pdebthing" and it uses perl scripts to do the conversion of the databases, it's fast. He also wrote "Pslackthing" a similar tool for the Slackware databases, again perl scripts: Hope these are of some use. Cheers

See my latest PPM comment?
Username: PaulBx1
"Barry, don't know if you saw my latest comment on PPM: In other words, I am disputing your claim that a search looks in only the selected repo. :-) And suggesting a change that makes it so. This actually fixes all search problems for me.

Re PPM search
Username: BarryK
"PaulBx1, I tested PPM search when you reported the problem, and I tested again right now with a pristine Wary 104. In both cases the search works as expected. I searched for "abiword" and for each of the repos 'puppy-wary5', 'puppy-quirky' and 'puppy-4' it only found the abiword packages in those repos. So, are you using Wary? If not, using Lucid or something else, it may have some alteration that is corrupting the search code, or is not using latest Woof. Ah, I see that you have posted in the Quirky 1.4 thread, but you are using Lupu 511. I have made improvements to PPM searching fairly recently, and Lupu 511 is not using latest Woof.

Username: Iguleder
"Barry, I started my army duty two weeks ago and this is the first time I touch a computer ... would you like me to upload the latest deb2ppm script? I can also share my new slack2ppm and other useful scripts I wrote as part of Pslackthing (a hobby project, see the spup thread). I'm leaving home again on Sunday, early - so if you need any code let me know within 24 hours ... and if you need anything, PM me in the forums or email me, I promise I'll be available when I find the time :) BTW: the Slackware database conversion code is bad, some packages have "PACKAGE" in the dependencies field.

Re db conversion
Username: BarryK
"Iguleder, Hi, no particular rush just now. In a week or two (or three) I would like to consider your code to speedup Debian/Ubuntu db conversion in Woof. That is the main one that takes a very long time. Hope you are coping ok with the military duty!

Here it is
Username: Iguleder
"Here, Barry - uploaded it just in case. Here's the copy I have lying in my dpup workshop, Just run it on a Debian package list to make sure it works as expected, it's very easy to modify it :) I remember I had a problem, package dependencies were not cleared between packages so dependencies were messed up, so you really should check the script. I also had problems with the line that makes sure you passed all arguments, I used 1-4 instead of 0-3. I *think* it's the fixed script, I just have so many copies of it lying around I can't tell myself. The Slackware one is way simpler, I can share it too but I want to play more with spup till I upload something. At the moment I'm trying to make the first 12-hour puplet ever ;) So far the army duty is nice, but I'm waiting for my basic training to end so I can start doing the things I was supposed to ;)

Tags: woof