← Back to team overview

dx-packages team mailing list archive

Re: [Bug 1773859] Please test proposed package

 

Hola mira esta solución.

Saludos.

El jue., 29 nov. 2018 22:51, b0w <1773859@xxxxxxxxxxxxxxxxxx> escribió:

> Yo tambien tengo dudas de como resolverlo! I Still have some doubts on how
> to fix it, but if in 7 days it will be available for everyone i will just
> wait the update.
> Greetings!
>
> On Thu, Nov 29, 2018 at 12:31 PM Alejandro <1773859@xxxxxxxxxxxxxxxxxx>
> wrote:
>
> > José Enrique,disculpa y gracias por contestarme.Quería pedirte si me
> > puedes contar brevemente ¿cómo pudiste borrar el systemd-shim package?No
> se
> > cómo accederloMuchas graciasAlejandro
> >       -
> >       -
> >          -
> >
> >
> >       -
> >          - -----------------
> > José Enrique <1773859@xxxxxxxxxxxxxxxxxx>
> >
> >       -
> >       - Nov 19 at 2:01 PM
> >
> >
> >    - To avertanessian@xxxxxxxxx
> >       -
> >
> > Message body
> > Thanks a lot for your help. I resolved my problem erasing systemd-shim
> and
> > updating.
> > I'll try new solution in another pc.
> > Kind regards
> >
> >
> >       From: José Enrique <1773859@xxxxxxxxxxxxxxxxxx>
> >  To: avertanessian@xxxxxxxxx
> >  Sent: Tuesday, November 27, 2018 3:01 PM
> >  Subject: Re: [Bug 1773859] Please test proposed package
> >
> > Lo siento Alejandro, no soy Lucas
> >  Saludos
> >
> > El mar., 27 nov. 2018 18:51, Alejandro <1773859@xxxxxxxxxxxxxxxxxx>
> > escribió:
> >
> > > Dear Łukasz ZemczakThank you for all your replies.Sorry I couldn't make
> > > this test in the last weeks I will make them as soon as
> > > possibleRegardsAlejandro
> > >
> > >      From: Łukasz Zemczak <1773859@xxxxxxxxxxxxxxxxxx>
> > >  To: avertanessian@xxxxxxxxx
> > >  Sent: Tuesday, November 20, 2018 9:21 AM
> > >  Subject: [Bug 1773859] Please test proposed package
> > >
> > > Hello Kees, or anyone else affected,
> > >
> > > Accepted systemd into bionic-proposed. The package will build now and
> be
> > > available at
> > > https://launchpad.net/ubuntu/+source/systemd/237-3ubuntu10.10 in a few
> > > hours, and then in the -proposed repository.
> > >
> > > Please help us by testing this new package.  See
> > > https://wiki.ubuntu.com/Testing/EnableProposed for documentation on
> how
> > > to enable and use -proposed.  Your feedback will aid us getting this
> > > update out to other Ubuntu users.
> > >
> > > If this package fixes the bug for you, please add a comment to this
> bug,
> > > mentioning the version of the package you tested and change the tag
> from
> > > verification-needed-bionic to verification-done-bionic. If it does not
> > > fix the bug for you, please add a comment stating that, and change the
> > > tag to verification-failed-bionic. In either case, without details of
> > > your testing we will not be able to proceed.
> > >
> > > Further information regarding the verification process can be found at
> > > https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you
> in
> > > advance for helping!
> > >
> > > N.B. The updated package will be released to -updates after the bug(s)
> > > fixed by this package have been verified and the package has been in
> > > -proposed for a minimum of 7 days.
> > >
> > > --
> > > You received this bug notification because you are subscribed to a
> > > duplicate bug report (1796221).
> > > https://bugs.launchpad.net/bugs/1773859
> > >
> > > Title:
> > >  upgrades to 18.04 fail
> > >
> > > Status in systemd package in Ubuntu:
> > >  Fix Released
> > > Status in systemd-shim package in Ubuntu:
> > >  Won't Fix
> > > Status in systemd source package in Bionic:
> > >  Fix Committed
> > > Status in systemd-shim source package in Bionic:
> > >  Won't Fix
> > > Status in systemd source package in Cosmic:
> > >  Fix Released
> > > Status in systemd-shim source package in Cosmic:
> > >  Won't Fix
> > >
> > > Bug description:
> > >  [Impact]
> > >
> > >    * Some systems fail to upgrade due to conflicts between systemd and
> > >  the (now removed from the archive) systemd-shim / upstart.
> > >
> > >    * Instead of trying to work out what's the problem in ordering /
> > >  removal of diverts, ensure that systemd is never unpacked whilst
> > >  systemd-shim/upstart are still on disk. Thus declare conflicts against
> > >  systemd-shim/upstart packages in systemd package.
> > >
> > >  [Test Case]
> > >
> > >    * monitor drop-off of upgrades with below reported problem
> > >
> > >    * Check that it is possible to upgrade to bionic's libpam-systemd
> > >  from xenial with systemd-shim installed on xenial, ie.
> > >
> > >  lxc launch ubuntu-daily:xenial test-shim-upgrade
> > >  lxc exec test-shim-upgrade
> > >  apt update
> > >  apt install systemd-shim
> > >  wget
> > >
> >
> https://deb.debian.org/debian/pool/main/s/systemd-shim/systemd-shim_10-3_amd64.deb
> > >  apt install ./systemd-shim_10-3_amd64.deb
> > >  sed 's/xenial/bionic/' -i /etc/apt/sources.list
> > >  apt update
> > >  apt install systemd
> > >
> > >  this currently passes, however, systemd-shim remains installed. It
> > >  should be removed instead. Apt install systemd should have lines like
> > >  this:
> > >
> > >  The following packages will be REMOVED:
> > >    systemd-shim
> > >  ...
> > >  Removing 'diversion of
> > > /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to
> > >
> >
> /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd
> > > by systemd-shim'
> > >  ...
> > >
> > >
> > >  [Regression Potential]
> > >
> > >    * systemd-shim/upstart are both removed and not supported in bionic,
> > >  thus forcing their removal via conflicts should bring the system into
> > >  an expected state.
> > >
> > >  [Other Info]
> > >
> > >    * original bug report
> > >
> > >  $ sudo apt upgrade
> > >  Reading package lists... Done
> > >  Building dependency tree
> > >  Reading state information... Done
> > >  Calculating upgrade... Done
> > >  The following packages will be REMOVED:
> > >    systemd-shim
> > >  0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> > >  1 not fully installed or removed.
> > >  After this operation, 71.7 kB disk space will be freed.
> > >  Do you want to continue? [Y/n] y
> > >  (Reading database ... 632222 files and directories currently
> installed.)
> > >  Removing systemd-shim (9-1bzr4ubuntu1) ...
> > >  Removing 'diversion of
> > > /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to
> > >
> >
> /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd
> > > by systemd-shim'
> > >  dpkg-divert: error: rename involves overwriting
> > > '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service'
> with
> > >    different file
> > >
> >
> '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd',
> > > not allowed
> > >  dpkg: error processing package systemd-shim (--remove):
> > >    subprocess installed post-removal script returned error exit status
> 2
> > >  Errors were encountered while processing:
> > >    systemd-shim
> > >  E: Sub-process /usr/bin/dpkg returned an error code (1)
> > >
> > >  Commenting out the dpkg-divert in systemd-shim's postrm solved this
> > >  for me and I was about to continue the upgrade.
> > >
> > > To manage notifications about this bug go to:
> > >
> > >
> >
> https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1773859/+subscriptions
> > >
> > > --
> > > You received this bug notification because you are subscribed to a
> > > duplicate bug report (1792241).
> > > https://bugs.launchpad.net/bugs/1773859
> > >
> > > Title:
> > >  upgrades to 18.04 fail
> > >
> > > Status in systemd package in Ubuntu:
> > >  Fix Released
> > > Status in systemd-shim package in Ubuntu:
> > >  Won't Fix
> > > Status in systemd source package in Bionic:
> > >  Fix Committed
> > > Status in systemd-shim source package in Bionic:
> > >  Won't Fix
> > > Status in systemd source package in Cosmic:
> > >  Fix Released
> > > Status in systemd-shim source package in Cosmic:
> > >  Won't Fix
> > >
> > > Bug description:
> > >  [Impact]
> > >
> > >    * Some systems fail to upgrade due to conflicts between systemd and
> > >  the (now removed from the archive) systemd-shim / upstart.
> > >
> > >    * Instead of trying to work out what's the problem in ordering /
> > >  removal of diverts, ensure that systemd is never unpacked whilst
> > >  systemd-shim/upstart are still on disk. Thus declare conflicts against
> > >  systemd-shim/upstart packages in systemd package.
> > >
> > >  [Test Case]
> > >
> > >    * monitor drop-off of upgrades with below reported problem
> > >
> > >    * Check that it is possible to upgrade to bionic's libpam-systemd
> > >  from xenial with systemd-shim installed on xenial, ie.
> > >
> > >  lxc launch ubuntu-daily:xenial test-shim-upgrade
> > >  lxc exec test-shim-upgrade
> > >  apt update
> > >  apt install systemd-shim
> > >  wget
> > >
> >
> https://deb.debian.org/debian/pool/main/s/systemd-shim/systemd-shim_10-3_amd64.deb
> > >  apt install ./systemd-shim_10-3_amd64.deb
> > >  sed 's/xenial/bionic/' -i /etc/apt/sources.list
> > >  apt update
> > >  apt install systemd
> > >
> > >  this currently passes, however, systemd-shim remains installed. It
> > >  should be removed instead. Apt install systemd should have lines like
> > >  this:
> > >
> > >  The following packages will be REMOVED:
> > >    systemd-shim
> > >  ...
> > >  Removing 'diversion of
> > > /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to
> > >
> >
> /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd
> > > by systemd-shim'
> > >  ...
> > >
> > >
> > >  [Regression Potential]
> > >
> > >    * systemd-shim/upstart are both removed and not supported in bionic,
> > >  thus forcing their removal via conflicts should bring the system into
> > >  an expected state.
> > >
> > >  [Other Info]
> > >
> > >    * original bug report
> > >
> > >  $ sudo apt upgrade
> > >  Reading package lists... Done
> > >  Building dependency tree
> > >  Reading state information... Done
> > >  Calculating upgrade... Done
> > >  The following packages will be REMOVED:
> > >    systemd-shim
> > >  0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> > >  1 not fully installed or removed.
> > >  After this operation, 71.7 kB disk space will be freed.
> > >  Do you want to continue? [Y/n] y
> > >  (Reading database ... 632222 files and directories currently
> installed.)
> > >  Removing systemd-shim (9-1bzr4ubuntu1) ...
> > >  Removing 'diversion of
> > > /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to
> > >
> >
> /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd
> > > by systemd-shim'
> > >  dpkg-divert: error: rename involves overwriting
> > > '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service'
> with
> > >    different file
> > >
> >
> '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd',
> > > not allowed
> > >  dpkg: error processing package systemd-shim (--remove):
> > >    subprocess installed post-removal script returned error exit status
> 2
> > >  Errors were encountered while processing:
> > >    systemd-shim
> > >  E: Sub-process /usr/bin/dpkg returned an error code (1)
> > >
> > >  Commenting out the dpkg-divert in systemd-shim's postrm solved this
> > >  for me and I was about to continue the upgrade.
> > >
> > > To manage notifications about this bug go to:
> > >
> > >
> >
> https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1773859/+subscriptions
> > >
> >
> > --
> > You received this bug notification because you are subscribed to a
> > duplicate bug report (1796221).
> > https://bugs.launchpad.net/bugs/1773859
> >
> > Title:
> >   upgrades to 18.04 fail
> >
> > Status in systemd package in Ubuntu:
> >   Fix Released
> > Status in systemd-shim package in Ubuntu:
> >   Won't Fix
> > Status in systemd source package in Bionic:
> >   Fix Committed
> > Status in systemd-shim source package in Bionic:
> >   Won't Fix
> > Status in systemd source package in Cosmic:
> >   Fix Released
> > Status in systemd-shim source package in Cosmic:
> >   Won't Fix
> >
> > Bug description:
> >   [Impact]
> >
> >    * Some systems fail to upgrade due to conflicts between systemd and
> >   the (now removed from the archive) systemd-shim / upstart.
> >
> >    * Instead of trying to work out what's the problem in ordering /
> >   removal of diverts, ensure that systemd is never unpacked whilst
> >   systemd-shim/upstart are still on disk. Thus declare conflicts against
> >   systemd-shim/upstart packages in systemd package.
> >
> >   [Test Case]
> >
> >    * monitor drop-off of upgrades with below reported problem
> >
> >    * Check that it is possible to upgrade to bionic's libpam-systemd
> >   from xenial with systemd-shim installed on xenial, ie.
> >
> >   lxc launch ubuntu-daily:xenial test-shim-upgrade
> >   lxc exec test-shim-upgrade
> >   apt update
> >   apt install systemd-shim
> >   wget
> >
> https://deb.debian.org/debian/pool/main/s/systemd-shim/systemd-shim_10-3_amd64.deb
> >   apt install ./systemd-shim_10-3_amd64.deb
> >   sed 's/xenial/bionic/' -i /etc/apt/sources.list
> >   apt update
> >   apt install systemd
> >
> >   this currently passes, however, systemd-shim remains installed. It
> >   should be removed instead. Apt install systemd should have lines like
> >   this:
> >
> >   The following packages will be REMOVED:
> >     systemd-shim
> >   ...
> >   Removing 'diversion of
> > /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to
> >
> /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd
> > by systemd-shim'
> >   ...
> >
> >
> >   [Regression Potential]
> >
> >    * systemd-shim/upstart are both removed and not supported in bionic,
> >   thus forcing their removal via conflicts should bring the system into
> >   an expected state.
> >
> >   [Other Info]
> >
> >    * original bug report
> >
> >   $ sudo apt upgrade
> >   Reading package lists... Done
> >   Building dependency tree
> >   Reading state information... Done
> >   Calculating upgrade... Done
> >   The following packages will be REMOVED:
> >     systemd-shim
> >   0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> >   1 not fully installed or removed.
> >   After this operation, 71.7 kB disk space will be freed.
> >   Do you want to continue? [Y/n] y
> >   (Reading database ... 632222 files and directories currently
> installed.)
> >   Removing systemd-shim (9-1bzr4ubuntu1) ...
> >   Removing 'diversion of
> > /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to
> >
> /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd
> > by systemd-shim'
> >   dpkg-divert: error: rename involves overwriting
> > '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service' with
> >     different file
> >
> '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd',
> > not allowed
> >   dpkg: error processing package systemd-shim (--remove):
> >    subprocess installed post-removal script returned error exit status 2
> >   Errors were encountered while processing:
> >    systemd-shim
> >   E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> >   Commenting out the dpkg-divert in systemd-shim's postrm solved this
> >   for me and I was about to continue the upgrade.
> >
> > To manage notifications about this bug go to:
> >
> >
> https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1773859/+subscriptions
> >
> > --
> > You received this bug notification because you are subscribed to a
> > duplicate bug report (1786151).
> > https://bugs.launchpad.net/bugs/1773859
> >
> > Title:
> >   upgrades to 18.04 fail
> >
> > Status in systemd package in Ubuntu:
> >   Fix Released
> > Status in systemd-shim package in Ubuntu:
> >   Won't Fix
> > Status in systemd source package in Bionic:
> >   Fix Committed
> > Status in systemd-shim source package in Bionic:
> >   Won't Fix
> > Status in systemd source package in Cosmic:
> >   Fix Released
> > Status in systemd-shim source package in Cosmic:
> >   Won't Fix
> >
> > Bug description:
> >   [Impact]
> >
> >    * Some systems fail to upgrade due to conflicts between systemd and
> >   the (now removed from the archive) systemd-shim / upstart.
> >
> >    * Instead of trying to work out what's the problem in ordering /
> >   removal of diverts, ensure that systemd is never unpacked whilst
> >   systemd-shim/upstart are still on disk. Thus declare conflicts against
> >   systemd-shim/upstart packages in systemd package.
> >
> >   [Test Case]
> >
> >    * monitor drop-off of upgrades with below reported problem
> >
> >    * Check that it is possible to upgrade to bionic's libpam-systemd
> >   from xenial with systemd-shim installed on xenial, ie.
> >
> >   lxc launch ubuntu-daily:xenial test-shim-upgrade
> >   lxc exec test-shim-upgrade
> >   apt update
> >   apt install systemd-shim
> >   wget
> >
> https://deb.debian.org/debian/pool/main/s/systemd-shim/systemd-shim_10-3_amd64.deb
> >   apt install ./systemd-shim_10-3_amd64.deb
> >   sed 's/xenial/bionic/' -i /etc/apt/sources.list
> >   apt update
> >   apt install systemd
> >
> >   this currently passes, however, systemd-shim remains installed. It
> >   should be removed instead. Apt install systemd should have lines like
> >   this:
> >
> >   The following packages will be REMOVED:
> >     systemd-shim
> >   ...
> >   Removing 'diversion of
> > /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to
> >
> /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd
> > by systemd-shim'
> >   ...
> >
> >
> >   [Regression Potential]
> >
> >    * systemd-shim/upstart are both removed and not supported in bionic,
> >   thus forcing their removal via conflicts should bring the system into
> >   an expected state.
> >
> >   [Other Info]
> >
> >    * original bug report
> >
> >   $ sudo apt upgrade
> >   Reading package lists... Done
> >   Building dependency tree
> >   Reading state information... Done
> >   Calculating upgrade... Done
> >   The following packages will be REMOVED:
> >     systemd-shim
> >   0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> >   1 not fully installed or removed.
> >   After this operation, 71.7 kB disk space will be freed.
> >   Do you want to continue? [Y/n] y
> >   (Reading database ... 632222 files and directories currently
> installed.)
> >   Removing systemd-shim (9-1bzr4ubuntu1) ...
> >   Removing 'diversion of
> > /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to
> >
> /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd
> > by systemd-shim'
> >   dpkg-divert: error: rename involves overwriting
> > '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service' with
> >     different file
> >
> '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd',
> > not allowed
> >   dpkg: error processing package systemd-shim (--remove):
> >    subprocess installed post-removal script returned error exit status 2
> >   Errors were encountered while processing:
> >    systemd-shim
> >   E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> >   Commenting out the dpkg-divert in systemd-shim's postrm solved this
> >   for me and I was about to continue the upgrade.
> >
> > To manage notifications about this bug go to:
> >
> >
> https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1773859/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1792241).
> https://bugs.launchpad.net/bugs/1773859
>
> Title:
>   upgrades to 18.04 fail
>
> Status in systemd package in Ubuntu:
>   Fix Released
> Status in systemd-shim package in Ubuntu:
>   Won't Fix
> Status in systemd source package in Bionic:
>   Fix Committed
> Status in systemd-shim source package in Bionic:
>   Won't Fix
> Status in systemd source package in Cosmic:
>   Fix Released
> Status in systemd-shim source package in Cosmic:
>   Won't Fix
>
> Bug description:
>   [Impact]
>
>    * Some systems fail to upgrade due to conflicts between systemd and
>   the (now removed from the archive) systemd-shim / upstart.
>
>    * Instead of trying to work out what's the problem in ordering /
>   removal of diverts, ensure that systemd is never unpacked whilst
>   systemd-shim/upstart are still on disk. Thus declare conflicts against
>   systemd-shim/upstart packages in systemd package.
>
>   [Test Case]
>
>    * monitor drop-off of upgrades with below reported problem
>
>    * Check that it is possible to upgrade to bionic's libpam-systemd
>   from xenial with systemd-shim installed on xenial, ie.
>
>   lxc launch ubuntu-daily:xenial test-shim-upgrade
>   lxc exec test-shim-upgrade
>   apt update
>   apt install systemd-shim
>   wget
> https://deb.debian.org/debian/pool/main/s/systemd-shim/systemd-shim_10-3_amd64.deb
>   apt install ./systemd-shim_10-3_amd64.deb
>   sed 's/xenial/bionic/' -i /etc/apt/sources.list
>   apt update
>   apt install systemd
>
>   this currently passes, however, systemd-shim remains installed. It
>   should be removed instead. Apt install systemd should have lines like
>   this:
>
>   The following packages will be REMOVED:
>     systemd-shim
>   ...
>   Removing 'diversion of
> /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to
> /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd
> by systemd-shim'
>   ...
>
>
>   [Regression Potential]
>
>    * systemd-shim/upstart are both removed and not supported in bionic,
>   thus forcing their removal via conflicts should bring the system into
>   an expected state.
>
>   [Other Info]
>
>    * original bug report
>
>   $ sudo apt upgrade
>   Reading package lists... Done
>   Building dependency tree
>   Reading state information... Done
>   Calculating upgrade... Done
>   The following packages will be REMOVED:
>     systemd-shim
>   0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
>   1 not fully installed or removed.
>   After this operation, 71.7 kB disk space will be freed.
>   Do you want to continue? [Y/n] y
>   (Reading database ... 632222 files and directories currently installed.)
>   Removing systemd-shim (9-1bzr4ubuntu1) ...
>   Removing 'diversion of
> /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to
> /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd
> by systemd-shim'
>   dpkg-divert: error: rename involves overwriting
> '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service' with
>     different file
> '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd',
> not allowed
>   dpkg: error processing package systemd-shim (--remove):
>    subprocess installed post-removal script returned error exit status 2
>   Errors were encountered while processing:
>    systemd-shim
>   E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>   Commenting out the dpkg-divert in systemd-shim's postrm solved this
>   for me and I was about to continue the upgrade.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1773859/+subscriptions
>


** Attachment added: "Screenshot_20181130-081204.jpg"
   https://bugs.launchpad.net/bugs/1773859/+attachment/5217584/+files/Screenshot_20181130-081204.jpg

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to systemd-shim in Ubuntu.
https://bugs.launchpad.net/bugs/1773859

Title:
  upgrades to 18.04 fail

Status in systemd package in Ubuntu:
  Fix Released
Status in systemd-shim package in Ubuntu:
  Won't Fix
Status in systemd source package in Bionic:
  Fix Committed
Status in systemd-shim source package in Bionic:
  Won't Fix
Status in systemd source package in Cosmic:
  Fix Released
Status in systemd-shim source package in Cosmic:
  Won't Fix

Bug description:
  [Impact]

   * Some systems fail to upgrade due to conflicts between systemd and
  the (now removed from the archive) systemd-shim / upstart.

   * Instead of trying to work out what's the problem in ordering /
  removal of diverts, ensure that systemd is never unpacked whilst
  systemd-shim/upstart are still on disk. Thus declare conflicts against
  systemd-shim/upstart packages in systemd package.

  [Test Case]

   * monitor drop-off of upgrades with below reported problem

   * Check that it is possible to upgrade to bionic's libpam-systemd
  from xenial with systemd-shim installed on xenial, ie.

  lxc launch ubuntu-daily:xenial test-shim-upgrade
  lxc exec test-shim-upgrade
  apt update
  apt install systemd-shim
  wget https://deb.debian.org/debian/pool/main/s/systemd-shim/systemd-shim_10-3_amd64.deb
  apt install ./systemd-shim_10-3_amd64.deb 
  sed 's/xenial/bionic/' -i /etc/apt/sources.list
  apt update
  apt install systemd

  this currently passes, however, systemd-shim remains installed. It
  should be removed instead. Apt install systemd should have lines like
  this:

  The following packages will be REMOVED:
    systemd-shim
  ...
  Removing 'diversion of /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd by systemd-shim'
  ...

  
  [Regression Potential]

   * systemd-shim/upstart are both removed and not supported in bionic,
  thus forcing their removal via conflicts should bring the system into
  an expected state.

  [Other Info]

   * original bug report

  $ sudo apt upgrade
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Calculating upgrade... Done
  The following packages will be REMOVED:
    systemd-shim
  0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
  1 not fully installed or removed.
  After this operation, 71.7 kB disk space will be freed.
  Do you want to continue? [Y/n] y
  (Reading database ... 632222 files and directories currently installed.)
  Removing systemd-shim (9-1bzr4ubuntu1) ...
  Removing 'diversion of /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd by systemd-shim'
  dpkg-divert: error: rename involves overwriting '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service' with
    different file '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd', not allowed
  dpkg: error processing package systemd-shim (--remove):
   subprocess installed post-removal script returned error exit status 2
  Errors were encountered while processing:
   systemd-shim
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  Commenting out the dpkg-divert in systemd-shim's postrm solved this
  for me and I was about to continue the upgrade.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1773859/+subscriptions


References