Bug#751589: sysvinit-core: /sbin/init missing after switching from systemd to sysvinit

Michael Biebl biebl at debian.org
Sat Jun 14 18:34:57 BST 2014


Am 14.06.2014 18:31, schrieb Michael Biebl:

> That said, even with that sequence of events /sbin/init is available here.
> I'm marking the bug as unreproducible until we have steps how we can
> reproduce the issue.
> 
> root at pluto:/# apt-get remove systemd
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> The following extra packages will be installed:
>   sysvinit-core
> The following packages will be REMOVED:
>   systemd systemd-sysv
> The following NEW packages will be installed:
>   sysvinit-core
> 0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
> Need to get 0 B/130 kB of archives.
> After this operation, 4909 kB disk space will be freed.
> Do you want to continue? [Y/n] 
> debconf: delaying package configuration, since apt-utils is not installed
> dpkg: systemd-sysv: dependency problems, but removing anyway as you requested:
>  sysvinit depends on sysvinit-core | upstart | systemd-sysv; however:
>   Package sysvinit-core is not installed.
>   Package upstart is not installed.
>   Package systemd-sysv is to be removed.
> 
> (Reading database ... 13159 files and directories currently installed.)
> Removing systemd-sysv (204-10) ...
> Selecting previously unselected package sysvinit-core.
> (Reading database ... 13142 files and directories currently installed.)
> Preparing to unpack .../sysvinit-core_2.88dsf-53.2_amd64.deb ...
> Unpacking sysvinit-core (2.88dsf-53.2) ...
> Setting up sysvinit-core (2.88dsf-53.2) ...
> Not restarting sysvinit
> (Reading database ... 13167 files and directories currently installed.)
> Removing systemd (204-10) ...
> systemd is the active init system, please switch to another before removing systemd.
> dpkg: error processing package systemd (--remove):
>  subprocess installed pre-removal script returned error exit status 1
> Running in chroot, ignoring request.
> Running in chroot, ignoring request.
> Errors were encountered while processing:
>  systemd
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> root at pluto:/# ls /sbin/init -la
> -rwxr-xr-x 1 root root 40552 Jun  7 23:32 /sbin/init
> 
> root at pluto:/# dpkg -S /sbin/init 
> sysvinit-core: /sbin/init
> 

As I'm not able to reproduce the issue, I'm unable to test if replacing
Breaks with Conflicts actually fixes this particular bug you are seeing.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140614/05d8dace/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list