[Bug 1761377] Re: Installation fails when using an existing partition for /home : "ubi-usersetup failed with exit code 141" when installing (or upgrading to) 18.04 from USB

Kjetil Rydland kjetilrydl at gmail.com
Sun Nov 17 20:41:12 UTC 2019


*** This bug is a duplicate of bug 1767799 ***
    https://bugs.launchpad.net/bugs/1767799

I had this issue and I also managed to solve it with (I think) pure luck.
I had an old LTS installed, and wanted to upgrade to 18.04. I decided to do a clean install with a live-USB. I got this error but tried anyway. The installation never finished and my system was broken. I recently tried again, but this time I chose to NOT format / and I also didn't specify to use my old /home as /home. The installation then went flawlessly and I had a working 18.04.3 installation.

However, I managed to install with a new username, not the one I had
been using. This meant I had no access to my old user files. I then
reinstalled again with the correct username, and again the install went
flawlessly. But I could not log in, I just got sent back to the login
prompt. I then installed ecryptfs-utils via tty, and log in now works
and my system is fine.

I'm not sure if this is helpful or related to this bug, but hopefully it
is.

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

Title:
  Installation fails when using an existing partition for /home : "ubi-
  usersetup failed with exit code 141" when installing (or upgrading to)
  18.04 from USB

Status in ubiquity package in Ubuntu:
  Confirmed

Bug description:
  Summary says it all. I chose to updgrade my distribution using today's 18.04 candidate on USB. While on the screen for choosing username, I got a window "ubi-usersetup crashed" which gives the error 
  "ubi-usersetup failed with exit code 141" and warns the install/upgrade could fail.

  $ more /var/log/syslog
  Apr  5 05:12:41 ubuntu rsyslogd: [origin software="rsyslogd" swVersion="8.16.0" 
  x-pid="1108" x-info="http://www.rsyslog.com"] start
  Apr  5 05:12:41 ubuntu rsyslogd: rsyslogd's groupid changed to 106
  Apr  5 05:12:41 ubuntu rsyslogd: rsyslogd's userid changed to 102
  Apr  5 05:12:41 ubuntu systemd[1]: Started Create Static Device Nodes in /dev.
  Apr  5 05:12:41 ubuntu systemd[1]: Starting udev Kernel Device Manager...
  Apr  5 05:12:41 ubuntu systemd[1]: Starting Flush Journal to Persistent Storage.
  ..
  Apr  5 05:12:41 ubuntu systemd[1]: Started Flush Journal to Persistent Storage.
  Apr  5 05:12:41 ubuntu systemd[1]: Started Set the console keyboard layout.
  Apr  5 05:12:41 ubuntu systemd-modules-load[963]: Inserted module 'lp'
  Apr  5 05:12:41 ubuntu systemd-modules-load[963]: Inserted module 'ppdev'
  Apr  5 05:12:41 ubuntu systemd-modules-load[963]: Inserted module 'parport_pc'
  Apr  5 05:12:41 ubuntu systemd[1]: Started Load Kernel Modules.
  Apr  5 05:12:41 ubuntu systemd[1]: Starting Apply Kernel Variables...
  Apr  5 05:12:41 ubuntu systemd[1]: Mounting Kernel Configuration File System...
  Apr  5 05:12:41 ubuntu systemd[1]: Mounting FUSE Control File System...
  Apr  5 05:12:41 ubuntu systemd[1]: Mounted Kernel Configuration File System.
  Apr  5 05:12:41 ubuntu systemd[1]: Mounted FUSE Control File System.
  Apr  5 05:12:41 ubuntu systemd[1]: Started LVM2 metadata daemon.
  Apr  5 05:12:41 ubuntu systemd[1]: Started Apply Kernel Variables.
  Apr  5 05:12:41 ubuntu systemd[1]: Started udev Kernel Device Manager.
  Apr  5 05:12:41 ubuntu systemd[1]: Starting Show Plymouth Boot Screen...

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: ubuntu-release-upgrader-core 1:18.04.13
  ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
  Uname: Linux 4.15.0-13-generic x86_64
  ApportVersion: 2.20.9-0ubuntu2
  Architecture: amd64
  CasperVersion: 1.392
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Apr  4 22:24:44 2018
  LiveMediaBuild: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180403)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  Symptom: release-upgrade
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list