Re: Pipe help
* nate (debian-user@aphroland.org) [030422 21:00]:
> Hall Stevenson said:
> > I've finally decided to give Gnome the boot...
> >
> > I was hoping that something like "dpkg --purge gnome-session" would warn
> > me that packages a, b, c, and so on would also be removed because of
> > dependency issues. It didn't... So, I have to remove things "by hand",
> > individually. But, something like "dpkg --get-selections | grep gnome"
> > reports some handy info. I can do something with that, can't I ?? It's
> > definitely a start too. After that, "deborphan" or similar can help me
> > clean up after that.
>
> not sure what your trying to do but I often run:
>
> dpkg --get-selections | grep deinstall | awk '{print $1}' | xargs dpkg --purge
>
> to purge packages that were removed but still have config files behind.
But I haven't removed them yet or gotten them to a "deinstall" state.
And I could *never* come up with a command string like you just did
either !! :)
Hall
Reply to:
- References:
- Pipe help
- From: Hall Stevenson <hallstevenson@mindspring.com>
- Re: Pipe help
- From: "nate" <debian-user@aphroland.org>