Re: the Debian way to sync apt-get and aptitude

From: Michael Marsh (michael.a.marsh_at_gmail.com)
Date: 11/15/05

  • Next message: phyrster: "can apt/aptitude use a non-anonymous mirror?"
    Date: Tue, 15 Nov 2005 10:40:54 -0500
    To: debian-user@lists.debian.org
    
    

    On 11/10/05, David Kirchner <dpk@dpk.net> wrote:
    > Is there a Debian way to sync apt-get and aptitude data files? We just
    > had a problem where aptitude decided to [remove] programs that were installed
    > by apt-get immediately prior. This is on Sarge stable.

    Aptitude tries to keep track of what you installed by hand and what
    was installed to satisfy a dependency. In the latter case, it tries
    to clean up packages that it thinks are no longer needed. This can
    cause a headache when you migrate from apt-get to aptitude. I
    recently switched, and expected to have to go through the hassle of
    marking everything I wanted to keep. What I found, however, was that
    having already marked things with debfoster, aptitude already knew
    what I wanted to keep specifically and what was a dependency. You
    might find debfoster useful for this, as well. You should be able to
    run it after apt-getting a package, and then not get complaints from
    aptitude.

    Still, you should probably just choose one or the other. Aptitude can
    be run from the command line almost identically to apt-get.

    --
    Michael A. Marsh
    http://www.umiacs.umd.edu/~mmarsh
    http://mamarsh.blogspot.com
    

  • Next message: phyrster: "can apt/aptitude use a non-anonymous mirror?"

    Relevant Pages

    • 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: 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: ubuntu & kubuntu
      ... update and remove packages with both of the utilities. ... command line) front-ends for dpkg - aptitude never calls apt-get. ... I challenge you to ever find an instance of aptitude running a command ...
      (Ubuntu)