Plesk isn't issueing any command that triggers that. It's an operating system issue. The problem is that with every apt, yum or dnf command, some system packages are also affected. Plesk only detects that there are errors during an installation process, regardless what their origin is.