[Aptitude-devel] Bug#799987: Bug#799987: Bug#799987: Bug#799987: aptitude and dpkg disagree upon held packages

Axel Beckert abe at debian.org
Sat Oct 17 13:22:48 UTC 2015


Hi Harald,

Harald Dunkel wrote:
> > -- so the problem of dpkg and apt and others not knowing about
> > aptitude's hold states of uninstalled packages will repeat, as with
> > the holds on installed packages until now.
> 
> I disagree on putting dpkg and apt on the same level here. In my
> understanding apt-get and aptitude are.

In general that's the case. But that doesn't change the _fact_ that
apt is using dpkg's database for holds.

>From apt-mark's man page:

       hold

           hold is used to mark a package as held back, which will
	   prevent the package from being automatically installed,
	   upgraded or removed. The command is only a wrapper around
	   dpkg --set-selections and the state is therefore maintained
	   by dpkg(1) and not affected by the --file option.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Aptitude-devel mailing list