Thread: Clean rootfs
View Single Post
Posts: 440 | Thanked: 160 times | Joined on Aug 2010 @ Las Vegas, NV
#17
Originally Posted by michaaa62 View Post
May be this even might be done with a one-liner, but i use those two lines
Code:
dpkg -l |awk '/^rc/{ print $2 }' > list
dpkg --purge $(<list)
Doesn't seems to work with and without root.

dpkg: --purge needs at least one package name argument.