[Aptitude-devel] Bug#780028: init: aptitude upgrade from wheezy to jessie does not install systemd-sysv

Axel Beckert abe at debian.org
Sun Mar 8 18:35:37 GMT 2015


Paul Wise wrote:
> I found an upgrade[1][2] path where sysvinit-core is installed instead
> of systemd-sysv, while with aptitude dist-upgrade systemd-sysv gets
> installed[3]. Ansgar was able to reproduce it by using a simpler method:
>       * create a clean Debian 7.8 install
>       * add jessie entries to sources.list
>       * aptitude upgrade will want to install sysvinit-core instead of
>         systemd-sysv.

Ehm, the above does sound much more simple than this script:

>      1. https://people.debian.org/~pabs/tmp/debian-upgrade

Citing from the URL above:

> apt-get update
> apt-get -y upgrade
> aptitude -y upgrade
> apt-get -y dist-upgrade
> aptitude -y dist-upgrade
> apt-get -y autoremove

Why in the world would someone use apt-get and aptitude alternately
during a dist-upgrade? If you don't want to interfere with, you use
apt-get (which should choose systemd-sysv) or you use aptitude because
you want to interfere and interactively fine-tune aptitude's decisions
anyway, so it shouldn't matter if aptitude chooses the one or the
other because you're going to fine tune such stuff anyways.

See the discussion starting at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756816#10 for a
discussion about the fundamental differences in the approaches of and
ideas behind apt-get and aptitude.

		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