I usually do apt-get dist-upgrade instead of a mere apt-get upgrade for consistency reasons. However, for the first time on one of my RaspberryPis I got the following:
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
upstart
The following NEW packages will be installed:
sysvinit
The following packages will be upgraded:
python3-pifacedigital-scratch-handler
1 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 4,692 B/134 kB of archives.
After this operation, 940 kB disk space will be freed.
Do you want to continue [Y/n]?
Why does it want to remove upstart again? I intentionally installed upstart and of course sysvinit and upstart are mutually exclusive.
# apt-cache depends sysvinit
sysvinit
Depends: libc6
Depends: libselinux1
Depends: libsepol1
Depends: debianutils
PreDepends: initscripts
|PreDepends: sysv-rc
PreDepends: file-rc
PreDepends: sysvinit-utils
# apt-cache depends upstart
upstart
Depends: libc6
Depends: libdbus-1-3
Depends: libjson0
Depends: libnih-dbus1
Depends: libnih1
Depends: libselinux1
Depends: libudev0
Depends: sysvinit-utils
Depends: sysv-rc
Depends: initscripts
Depends: mountall
Depends: ifupdown
Depends: udev
Suggests: python
Suggests: graphviz
Suggests: bash-completion
Conflicts: <lxcguest>
Conflicts: <startup-tasks>
Conflicts: <system-services>
Conflicts: sysvinit
Conflicts: <upstart-compat-sysv>
Conflicts: <upstart-job>
Breaks: cryptsetup
Breaks: <friendly-recovery>
Breaks: libc6
Replaces: <startup-tasks>
Replaces: <system-services>
Replaces: sysvinit
Replaces: <upstart-compat-sysv>
Replaces: <upstart-job>
upstart
apt-get upgradevs.apt-get dist-upgrade. – 0xC0000022L Nov 15 '13 at 17:04upstart(according to package meta-info replacessysvinit) if I choose to install the former,sysvinitwants back in. Also see http://unix.stackexchange.com/q/101330/5462 ... looks like this would be a big according to Gilles' comment. – 0xC0000022L Nov 18 '13 at 00:57