Zend certified PHP/Magento developer

how can I get the list of installed packages of a raspbian system from a mounted system disk?

I have the SD card from a raspberry buster system, which doesn’t boot anymore but is still readable.
How can I get the list of installed packages so that I can check which packages had been installed on that system?