[root@localhost ~]# dpkg -l-bash: dpkg: command not found
centos 7.9
dpkg -l 适用于ubuntu系统,你是centos7.9的系统,用rpm