Yeah, that is the problem with Linux….
Not all tables are going to work on all platforms. It depends. None should crash, but they may not return data.
This is generally because not all data is meaningful. Rpm tables don’t mean much on dpkg platforms.
Tables based on core Linux features, or kernel functionality should generally work.