Take the tour ×  I have uninstalled (aptitude purge) the qt-sdk
package but there is still a lot of qt4* and libqt* packages on
my system.  Is there a way to remove all these packages with
aptitude remove/purge beginning_of_pkg_name* like we can do with
apt-get? Maybe with bash ${} syntax?  I don't understand why we
can't do that with aptitude, it really sucks if you have to
remove all this packages manually, one by one.  PS: shouldn't
aptitude purge package_name remove all dependencies it has
downloaded?  share|improve this question About your PS: No, the
man page explains "Purge package" as remove it and all its
associated configuration and data files. –  sr_ Jan 26 at 18:44
@sr_ My bad, I've just tried deborphan but it doesn't remove all
the unused dependencies. How to do that? –  baptx Jan 26 at
18:48 Aptitude has many search terms, maybe these help you (they
probably solve the libqt* issue, e.g. ?name(libqt*)) –  sr_ Jan
26 at 18:51 @sr_ thanks, this solves my question. Btw, there is
still some isolated