Re: [Bug 1773859] Re: upgrades to 18.04 fail

2018-10-26 Thread Colin Belton
Sure, happy to try
On Thu, Oct 25, 2018 at 2:05 PM Jacob Ngalya <1773...@bugs.launchpad.net>
wrote:

> this package failed to upgrade when is upgrading to ubuntu 18.04, may
> you help me to resolve this issue
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1793916).
> 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:
>   In Progress
> 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.
>
>   [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 ... 63 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 a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1773859

Title:
  upgrades to 18.04 fail

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1773859] Re: upgrades to 18.04 fail

2018-10-23 Thread Colin Belton
I got mine fixed with the following:

Firstly removed gdm:

sudo apt purge gdm gdm3 etc


Then installed:
sudo apt-get install --reinstall ubuntu-desktop
sudo reboot

On Mon, Oct 22, 2018 at 8:52 AM Alejandro <1773...@bugs.launchpad.net>
wrote:

> Histill having the same problem  with the "systemd-shim"I don't know how
> to fix it May be I will format everything and reinstall Ubuntu 18
> againgreetings
>
>   From: José Enrique <1773...@bugs.launchpad.net>
>  To: avertaness...@yahoo.com
>  Sent: Thursday, October 18, 2018 3:10 AM
>  Subject: Re: [Bug 1773859] Re: upgrades to 18.04 fail
>
> Hy, in this moment I can't update my laptop or install any package or
> program
> Greetings
>
> El mié., 17 oct. 2018 23:11, Brian Murray  escribió:
>
> > ** Tags added: bugpattern-written
> >
> > --
> > 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:
> >  In Progress
> > 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.
> >
> >  [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 ... 63 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:
>   In Progress
> 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 

[Bug 1793916] [NEW] package systemd-sysv 237-3ubuntu10.3 failed to install/upgrade: installed systemd-shim package post-removal script subprocess returned error exit status 2

2018-09-22 Thread Colin Belton
Public bug reported:

During upgrade received following errors:
1. installed systemd-shim package post-removal script subprocess returned error 
exit status 2
2. could not install 
'/var/cache/apt/archives/systemd-sysv_237-3ubuntu10.3_amd64.deb
3. Could not install upgrades - The upgrade has aborted your system could be in 
an unusable state. A recovery will run now (dpkg -configure -a)
4. The upgrade has completed but there were errors during the upgrade process
5. lsb_release -a resulted in Ubuntu 18.04.1 LTS

Then no GUI when boot
So did:
sudo apt purge gdm gdm3
sudo apt install gdm3 ubuntu-desktop
systemctl restart gdm

And received:
The system is runnin in low graphics mode.
But still no GUI

Then did:
sudo apt-get install lightdm
sudo dpkg-reconfigure lightdm

And then got a working GUI.
Then followed errors and request for bug report

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: systemd-sysv 237-3ubuntu10.3
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
Date: Sat Sep 22 11:19:55 2018
ErrorMessage: installed systemd-shim package post-removal script subprocess 
returned error exit status 2
InstallationDate: Installed on 2013-04-01 (1999 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
Python3Details: /usr/bin/python3.6, Python 3.6.6, python3-minimal, 
3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 
2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt  1.6.3ubuntu0.1
SourcePackage: systemd
Title: package systemd-sysv 237-3ubuntu10.3 failed to install/upgrade: 
installed systemd-shim package post-removal script subprocess returned error 
exit status 2
UpgradeStatus: Upgraded to bionic on 2018-09-22 (0 days ago)

** Affects: systemd (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package bionic third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1793916

Title:
  package systemd-sysv 237-3ubuntu10.3 failed to install/upgrade:
  installed systemd-shim package post-removal script subprocess returned
  error exit status 2

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs