Aptitude is a quite powerful package manager leveraging CLI and an ncurses-style interface. It includes very powerful conflict resolution, and uses a very similar command-line syntax to apt. Often, its powerful resolution engine can help fix package trouble that apt cannot. It is part of the aptitude package.

history | show excerpt | excerpt history