[Linux-PowerEdge] OMSA installation

Teodor MICU mteodor at museglobal.ro
Tue Oct 16 04:56:32 CDT 2012


On Mon, 15 Oct 2012 20:14:48 +0200
Kai Stian Olstad <kai.stian.olstad at gmail.com> wrote:
> This command should remove all the packages
> dpkg --purge $(dpkg -l | grep srvadmin | awk '{print $2}')
> 
> You can check what it would do by adding --dry-run
> dpkg --purge --dry-run $(dpkg -l | grep srvadmin | awk '{print $2}')

I don't recommend to use 'dpkg' directly, instead use APT:

  # apt autoremove srvadmin*
  [..]
  Do you want to continue [Y/n]? n
  Abort.

(apt is an alias for 'apt-get --purge')

Cheers



More information about the Linux-PowerEdge mailing list