Erase multiple packages using rpm or yum

后端 未结 5 1000
故里飘歌
故里飘歌 2021-02-01 23:17

I was given access to a server with 50+ php rpms installed. I\'m trying to remove them all.

Basically, I\'m trying to combine these two commands:

rpm -qa         


        
5条回答
  •  南笙
    南笙 (楼主)
    2021-02-01 23:52

    I had this today. Using --justdb and --noscripts rpm parameters wasn't sufficient without the --allmatches, and that's it.

    [root@localhost ~]# rpm -ev --allmatches --justdb 
    

    https://mcvictech.blogspot.com/2011/10/rpm-error-specifies-multiple-packages.html

提交回复
热议问题