Re: the Debian way to sync apt-get and aptitude
From: Simo Kauppi (swk_at_nic.fi)
Date: 11/15/05
- Previous message: TAC Forums: "Re: ipssend and RaidMan on IBM xSeries"
- In reply to: David Kirchner: "the Debian way to sync apt-get and aptitude"
- Next in thread: Michael Marsh: "Re: the Debian way to sync apt-get and aptitude"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 15 Nov 2005 17:35:39 +0200 To: debian-user@lists.debian.org
On Thu, Nov 10, 2005 at 01:57:49PM -0800, David Kirchner wrote:
> 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.)
I'm not sure if this is related to your specific problem, but apt-get
and aptitude handle dependencies a little differently. By default
aptitude treats recommendations as dependencies and apt-get does not.
To not treat recommendations as dependencies in aptitude, just put
Aptitude::Recommends-Important "false"; in your ~/.aptitude/config or
/etc/apt/apt.conf or give -R option (aka --without-recommends) in the
aptitude command line.
Simo
-- :r ~/.signature
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- application/pgp-signature attachment: Digital signature
- Previous message: TAC Forums: "Re: ipssend and RaidMan on IBM xSeries"
- In reply to: David Kirchner: "the Debian way to sync apt-get and aptitude"
- Next in thread: Michael Marsh: "Re: the Debian way to sync apt-get and aptitude"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|