[ubuntu-studio-users] Continuing problem with Ubuntu upgrade

Ralf Mardorf ralf.mardorf at alice-dsl.net
Tue Feb 12 16:20:05 UTC 2019


Hi,

did you backup your install (not just data, but the complete install)? I
would restore my install from a backup and try to upgrade the restored
install.

If you shouldn't have a backup, you could try to fix the install from
an Ubuntu flavour live DVD.

1. Boot the live Ubuntu flavour.
2. Connect the live Ubuntu flavour with the Internet.
3. Run

sudo apt update
sudo apt full-upgrade
sudo apt install systemd-container

4. Use a file manager (or command line) to mount the broken Ubuntu
Studio's root directory (not /root/, just /).

When using a file manager the mount point most likely
is /media/ubuntu-flavour-name/label-of-the-ubuntu-install-root-partition/,
so replace the below /mount/point/ by the correct path.

6. Run

sudo systemd-nspawn -qD /mount/point/ apt update
sudo systemd-nspawn -qD /mount/point/ apt install --fix-broken

if this should fail, try

sudo systemd-nspawn -bqD /mount/point/

log in as user and then run

sudo apt update
sudo apt install --fix-broken

If it shouldn't work, you still could try a "chroot" when running the
live Ubuntu flavor or you download all packages manually using the live
Ubuntu flavour or Windows and after that you boot the broken install
either in a systemd container or you really boot it and install the
downloaded packages by

sudo apt install /path/to/downloaded/packages/*

Regards,
Ralf



More information about the ubuntu-studio-users mailing list