Page 1 of 1

Where is the DB used by Puppy Package Manager located?

Posted: Thu Mar 25, 2021 11:48 pm
by wanthinker

So i was kind of curious, and when thinking about it, i noticed that i didn't know where the DB (which most package manager have) actually was...
Looked at the default location used by dpkg (which is usually at /var/lib/dpkg on ubuntu based system), but there wasn't anything there beside empty folders.

So I'm wondering, where is the DB that Puppy Package Manager use located?


Re: Where is the DB used by Puppy Package Manager located?

Posted: Fri Mar 26, 2021 1:18 am
by williams2

/var/packages/

/root/.packages is a symlink to /var/packages/


Re: Where is the DB used by Puppy Package Manager located?

Posted: Fri Mar 26, 2021 5:44 am
by bigpup

Puppy Package Manager(PPM) has a file for each repository listed in PPM.
The file is a list of all the stuff that is in that repository, based on the last time you did PPM->Configure-> update database.
PPM only knows about stuff in the repository, by looking at the information in this file.
Anything that has been removed or added to the repository.
PPM will only know about the change, after you do an Update Database.

Good idea to update database, before searching for something in the repositories.