Re: ubuntu & kubuntu



On Mon, 20 Oct 2008 23:22:47 -0300, Derek Broughton wrote:

Thorny wrote:

On Sat, 18 Oct 2008 11:35:50 -0300, Derek Broughton wrote:

Mario Guenterberg wrote:

Aptitude is a "front-end" for apt-get and does the same. You can do
install, update and remove packages with both of the utilities.

Actually, aptitude and apt-get are very similar (at least at the
command line) front-ends for dpkg - aptitude never calls apt-get.

Derek, in my normally picky-picky mode I would make this comment.
Aptitude is a front end for apt which was crafted as a front end for
dpkg.

I challenge you to ever find an instance of aptitude running a command
named "apt". In fact, "apt" is a java tool on my system. "apt" is a
catch-all word for the whole Advanced Package Tool. apt-get isn't a
"front-end" for apt - it IS the command line component of the apt package.

Apt-get
is a command line tool for apt and aptitude is a terminal based front
end for apt. Minor difference from what you wrote, but, strictly
speaking, more precise.

More precise, but essentially wrong. Aptitude _has_ a terminal based
front-end, but it's perfectly possible to use it almost exactly as you use
apt-get. When it comes down to running other binaries, what they both
execute is "dpkg" - just watch the process tree.

You are correct that I should have written APT.

No, of course there is no command apt but try uninstalling the package apt
and see if those CLI commands work with dpkg.

From the description of apt:
"Advanced front-end for dpkg
This is Debian's next generation front-end for the dpkg package manager.
It provides the apt-get utility and APT dselect method that provides a
simpler, safer way to install and upgrade packages.

APT features complete installation ordering, multiple source capability
and several other unique features, see the Users Guide in apt-doc."

I don't think it is an accident that the CLI tool apt-get starts with the
letters "a", "p", "t". Nor do I think that it is an accident the terminal
interface aptitude (which you correctly state can also work as a CLI
command similar to apt-get) starts with "apt".

Here is the description for aptitude:
"terminal-based apt frontend
aptitude is a terminal-based apt frontend with a number of useful
features, including: a mutt-like syntax for matching packages in a
flexible manner, dselect-like persistence of user actions, the
ability to retrieve and display the Debian changelog of most
packages, and a command-line mode similar to that of apt-get."

YMMV.



--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: stable to testing: aptitude wants strange things
    ... apt-get turns out to be mostly the same. ... Now both apt-get and aptitude want to remove aptitude. ... The following packages will be REMOVED: ... modconf openssl python-central python-minimal python-support ...
    (Debian-User)
  • Re: Ugly sarge upgrade -- kernel 2.4.27-2 > 2.4.27-6
    ... I'd like to just have apt-get upgrade fix it;) ... ... the bugs posted on the bugs site it looks like this has been kicking ... > At this point let me suggest aptitude as a substitute for apt-get. ... >>dselect and currently have the kernel packages on hold. ...
    (Debian-User)
  • Re: packages removed by Release Manager just reveal older versions
    ... > aptitude or even dselect will display packages that are not in the ... sources listed in sources.list[and both aptitude and apt-get do tell you ... that he had to insert the CDs to install the packages is a warning]]. ... > Seven reasons why you should be using aptitude instead of apt-get. ...
    (Debian-User)
  • Re: Maze of Twisty Turny Little Package Managers
    ... dependencies on debian - dpkg, apt-get, aptitude, synaptic, ????. ... 'official' or favored method in debian - but my confusion is even more ... recomendations, when one person habitually uses apt-get, another ... packages are "held" at some current, ...
    (Debian-User)
  • Re: Aptitude Advanced Searching
    ... I personally think this belongs in the notes for Aptitude, ... This command searches for packages whose name contains ... Searches for packages matching one of the patterns ...
    (Debian-User)