User Tools

Site Tools


1804to1904upgrade

Danger Will Robinson

This is what I did on my laptop. I don't recommend you do this. It's just a note.

Start point was KDE Neon 18.04. I wanted to upgrade to 19.04, and switch from KDE to either GNOME Shell or Unity.

Update existing install

sudo apt update
sudo apt dist-upgrade

Update sources lists

Switch out bionic to disco code name in my sources.list. This jumps over 18.10 and goes directly to 19.04.

sudo sed -i 's/bionic/disco/g' /etc/apt/sources.list

Disable the KDE Neon repo

sudo sed -i 's/deb/#deb/g' /etc/apt/sources.list.d/neon.list

Update!

sudo apt update

Prep the upgrade

Install new versions of apt and dpkg from disco.

sudo apt install apt dpkg
  

Download updated packages without installing - so if my connection goes on the fritz, I have the packages cached locally.

  
sudo apt dist-upgrade -d

Grab the Unity related stuff too!

sudo apt install unity-session -d
  

Start the upgrade proper

Here goes nothing!

sudo apt dist-upgrade

dpkg crashed

Get the upgrade to continue

sudo dpkg --configure -a

Got prompt from x86_64-efi

Chose to install package maintainers version of grub config

Got prompt for sddm

Chose to install package maintainers version of Xsession and wayland-session files

Got prompt for pulseaudio

Chose to install package maintainers version of /etc/pulse/default.pa

Got prompt for /etc/update-manager/release-upgrades

Chose to install package maintainers version

Upgrade crashed out..

alan@KinkPad-K450:~$ sudo dpkg –configure -a [sudo] password for alan: dpkg: dependency problems prevent configuration of gtk3-engines-breeze: gtk3-engines-breeze depends on breeze-gtk-theme (>= 5.10.3-1~); however: Package breeze-gtk-theme is not installed. dpkg: error processing package gtk3-engines-breeze (–configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libpam-kwallet5: libpam-kwallet5 depends on libpam-kwallet-common (= 4:5.15.4-0ubuntu1); however: Package libpam-kwallet-common is not installed. dpkg: error processing package libpam-kwallet5 (–configure): dependency problems - leaving unconfigured Errors were encountered while processing: gtk3-engines-breeze libpam-kwallet5 Unpacking breeze-gtk-theme (5.15.4-0ubuntu1) … Preparing to unpack …/libpam-kwallet-common_4%3a5.15.4-0ubuntu1_all.deb … Unpacking libpam-kwallet-common (4:5.15.4-0ubuntu1) … dpkg: error processing archive /var/cache/apt/archives/libpam-kwallet-common_4%3a5.15.4-0ubuntu1_all.deb (–unpack): trying to overwrite '/etc/xdg/autostart/pam_kwallet_init.desktop', which is also in package pam-kwallet-init 4:5.12.8-0xxneon+18.04+bionic+build8 Errors were encountered while processing: /var/cache/apt/archives/libpam-kwallet-common_4%3a5.15.4-0ubuntu1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

To un-break it

sudo apt remove pam-kwallet-init libpam-kwallet-common libpam-kwallet5
sudo apt install breeze-gtk-theme libpam-kwallet-common
sudo apt-get dist-upgrade
sudo apt remove plasma-discover-private plasma-discover-common
sudo apt install unity-session
sudo apt-get autoremove
sudo apt-get install ubuntu-desktop^

Reboot, done

1804to1904upgrade.txt · Last modified: 2019/08/08 01:52 by popey