the Debian way to sync apt-get and aptitude

From: David Kirchner (dpk_at_dpk.net)
Date: 11/10/05

  • Next message: s. keeling: "Re: only Root can play sound in GNOME"
    Date: Thu, 10 Nov 2005 13:57:49 -0800
    To: Debian User List <debian-user@lists.debian.org>
    
    

    Is there a Debian way to sync apt-get and aptitude data files? We just
    had a problem where aptitude decided to programs that were installed
    by apt-get immediately prior. This is on Sarge stable.

    Specifically, the steps to reproduce this were:

    apt-get install flac
    aptitude
      Press 'g' and you'd see 2 held back packages (cpio, libssl) and 4
    packages to be removed (flac and its dependencies).

    If you removed flac+deps with aptitude and then reinstalled them with
    apt-get, aptitude would still want to remove flac.

    This could not be reproduced on another Sarge stable server, so I
    suspect the aptitude/apt-get data files got corrupted in some way.

    Upgrading 'cpio' and 'libssl' packages took care of this particular
    problem, but that doesn't make a lot of sense, since they're not
    dependencies or conflicts to flac.

    (I have searched Google for this, but I find a lot of documentation
    for aptitude instead. I'm fine with being pointed at documentation if
    someone written about this somewhere.)


  • Next message: s. keeling: "Re: only Root can play sound in GNOME"

    Relevant Pages

    • Re: update manager cannot update kernel files (was Re: aptitude x apt-get (was: Re: Dapper -
      ... is simply that the update app in gnome on Ubuntu Dapper did *NOT* update ... As I said, you can do the same things (install, update, upgrade, dist-upgrade, ... Aptitude has several enhancements over apt-get, ...
      (Ubuntu)
    • Re: aptitude vs. apt-get
      ... apt-get -s upgrade shows nothing to install and 2 packages ... I admit there probably is an explanation to the aptitude ...
      (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: cant apt-get install
      ... As I would later figure out, too, the debian installer simply left out packages it lost TCP connection on, without re-trying to get them or asking the user what to do! ... After having downloaded all new packages, apt-get simply hang at 99%. ... Of course I immediately wanted to install some packages again. ... aptitude that is. ...
      (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)