Bug 425411 - Cancelling KDE Neon 20.04 Focal Fossa upgrade results in broken Flatpak and System Information
Summary: Cancelling KDE Neon 20.04 Focal Fossa upgrade results in broken Flatpak and S...
Status: REPORTED
Alias: None
Product: neon
Classification: KDE Neon
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-16 04:39 UTC by Ben
Modified: 2020-11-03 15:50 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben 2020-08-16 04:39:15 UTC
SUMMARY
Cancelling KDE Neon 20.04 Focal Fossa upgrade results in broken Flatpak and System Information.


STEPS TO REPRODUCE
1. click the upgrade icon in system tray to initiate the 20.04 upgrade screen and let it download but don't actually install anything.
2. When the upgrade screen displays what would be removed, installed, etc, then click on Cancel to not proceed.




OBSERVED RESULT
Afterwards, flatpak is no longer installed and I cannot reinstall it nor run my flatpak apps.
Also the About System or System Information no longer appear in the Start menu.


~$ sudo apt install flatpak
[sudo] password for user: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) flatpak:amd64 < none -> 1.6.2-1+18.04+bionic+build5 @rc puN Ib >
Broken flatpak:amd64 Depends on bubblewrap:amd64 < 0.2.1-1ubuntu0.1 @ii mK > (>= 0.4.0)
  Considering bubblewrap:amd64 0 as a solution to flatpak:amd64 9999
Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 flatpak : Depends: bubblewrap (>= 0.4.0)
           Recommends: xdg-desktop-portal (>= 1.6)
           Recommends: xdg-desktop-portal-gtk (>= 1.6) or
                       xdg-desktop-portal-backend
E: Unable to correct problems, you have held broken packages.


~$ sudo apt install bubblewrap
Reading package lists... Done
Building dependency tree       
Reading state information... Done
bubblewrap is already the newest version (0.2.1-1ubuntu0.1).
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages were automatically installed and are no longer required:
  appmenu-gtk-module-common appmenu-gtk2-module appmenu-gtk3-module drkonqi fonts-wine gir1.2-gdesktopenums-3.0 gnome-desktop3-data gnome-session-common ibus-table ibus-table-emoji ieee-data
  kde-style-oxygen-qt5 kded5 kgamma5 kuserfeedback-doc lib32gcc1 libappmenu-gtk2-parser0 libappmenu-gtk3-parser0 libappstream-glib8 libc6-i386 libcolorcorrect5 libgps23 libkf5emoticons-bin
  libkf5emoticons-data libkf5emoticons5 libkfontinst5 libkfontinstui5 libksysguardsensorfaces1 libksysguardsensors1 libkuserfeedbackcore1 libnotificationmanager1 libostree-1-1 liboxygenstyle5-5
  liboxygenstyleconfig5-5 libpam-kwallet-common libpam-kwallet5 libpipewire-0.2-1 libplasma-geolocation-interface5 libqalculate14 libqalculate14-data libqt5webengine5 libscim8v5 libtaskmanager6
  libweather-ion7 libwine-development libxcb-record0 pipewire plasma-desktop-data plasma-integration plasma-workspace-wallpapers python-notify python3-distro python3-evdev python3-setproctitle qdbus-qt5
  qml-module-org-kde-activities qml-module-org-kde-kholidays qml-module-org-kde-ksysguard qml-module-org-kde-kwindowsystem qml-module-org-kde-quickcharts qml-module-org-kde-solid
  qml-module-org-kde-userfeedback qml-module-qt-labs-folderlistmodel qml-module-qt-labs-settings qml-module-qtwebengine sddm socat winetricks xdg-dbus-proxy
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

~$ sudo apt-get install xdg-desktop-portal
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages were automatically installed and are no longer required:
  appmenu-gtk-module-common appmenu-gtk2-module appmenu-gtk3-module drkonqi fonts-wine gir1.2-gdesktopenums-3.0 gnome-desktop3-data gnome-session-common ibus-table ibus-table-emoji ieee-data
  kde-style-oxygen-qt5 kded5 kgamma5 kuserfeedback-doc lib32gcc1 libappmenu-gtk2-parser0 libappmenu-gtk3-parser0 libappstream-glib8 libc6-i386 libcolorcorrect5 libgps23 libkf5emoticons-bin
  libkf5emoticons-data libkf5emoticons5 libkfontinst5 libkfontinstui5 libksysguardsensorfaces1 libksysguardsensors1 libkuserfeedbackcore1 libnotificationmanager1 libostree-1-1 liboxygenstyle5-5
  liboxygenstyleconfig5-5 libpam-kwallet-common libpam-kwallet5 libpipewire-0.2-1 libplasma-geolocation-interface5 libqalculate14 libqalculate14-data libqt5webengine5 libscim8v5 libtaskmanager6
  libweather-ion7 libwine-development libxcb-record0 pipewire plasma-desktop-data plasma-integration plasma-workspace-wallpapers python-notify python3-distro python3-evdev python3-setproctitle qdbus-qt5
  qml-module-org-kde-activities qml-module-org-kde-kholidays qml-module-org-kde-ksysguard qml-module-org-kde-kwindowsystem qml-module-org-kde-quickcharts qml-module-org-kde-solid
  qml-module-org-kde-userfeedback qml-module-qt-labs-folderlistmodel qml-module-qt-labs-settings qml-module-qtwebengine sddm socat winetricks xdg-dbus-proxy
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  xdg-desktop-portal
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 223 kB of archives.
After this operation, 1,205 kB of additional disk space will be used.
Get:1 http://archive.neon.kde.org/user bionic/main amd64 xdg-desktop-portal amd64 1.4.2-3+18.04+bionic+build2 [223 kB]
Fetched 223 kB in 5s (47.0 kB/s)            
Selecting previously unselected package xdg-desktop-portal.
(Reading database ... 237930 files and directories currently installed.)
Preparing to unpack .../xdg-desktop-portal_1.4.2-3+18.04+bionic+build2_amd64.deb ...
Unpacking xdg-desktop-portal (1.4.2-3+18.04+bionic+build2) ...
Setting up xdg-desktop-portal (1.4.2-3+18.04+bionic+build2) ...


~$ sudo apt-get install xdg-desktop-portal-gtk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages were automatically installed and are no longer required:
  appmenu-gtk-module-common appmenu-gtk2-module appmenu-gtk3-module drkonqi fonts-wine gir1.2-gdesktopenums-3.0 gnome-desktop3-data gnome-session-common ibus-table ibus-table-emoji ieee-data
  kde-style-oxygen-qt5 kded5 kgamma5 kuserfeedback-doc lib32gcc1 libappmenu-gtk2-parser0 libappmenu-gtk3-parser0 libappstream-glib8 libc6-i386 libcolorcorrect5 libgps23 libkf5emoticons-bin
  libkf5emoticons-data libkf5emoticons5 libkfontinst5 libkfontinstui5 libksysguardsensorfaces1 libksysguardsensors1 libkuserfeedbackcore1 libnotificationmanager1 libostree-1-1 liboxygenstyle5-5
  liboxygenstyleconfig5-5 libpam-kwallet-common libpam-kwallet5 libpipewire-0.2-1 libplasma-geolocation-interface5 libqalculate14 libqalculate14-data libqt5webengine5 libscim8v5 libtaskmanager6
  libweather-ion7 libwine-development libxcb-record0 pipewire plasma-desktop-data plasma-integration plasma-workspace-wallpapers python-notify python3-distro python3-evdev python3-setproctitle qdbus-qt5
  qml-module-org-kde-activities qml-module-org-kde-kholidays qml-module-org-kde-ksysguard qml-module-org-kde-kwindowsystem qml-module-org-kde-quickcharts qml-module-org-kde-solid
  qml-module-org-kde-userfeedback qml-module-qt-labs-folderlistmodel qml-module-qt-labs-settings qml-module-qtwebengine sddm socat winetricks xdg-dbus-proxy
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  evince
The following NEW packages will be installed:
  xdg-desktop-portal-gtk
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 130 kB of archives.
After this operation, 734 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 xdg-desktop-portal-gtk amd64 1.0.2-0ubuntu1.1 [130 kB]
Fetched 130 kB in 1s (147 kB/s)                
Selecting previously unselected package xdg-desktop-portal-gtk.
(Reading database ... 237963 files and directories currently installed.)
Preparing to unpack .../xdg-desktop-portal-gtk_1.0.2-0ubuntu1.1_amd64.deb ...
Unpacking xdg-desktop-portal-gtk (1.0.2-0ubuntu1.1) ...
Setting up xdg-desktop-portal-gtk (1.0.2-0ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...

~$ sudo apt install flatpak
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) flatpak:amd64 < none -> 1.6.2-1+18.04+bionic+build5 @rc puN Ib >
Broken flatpak:amd64 Depends on bubblewrap:amd64 < 0.2.1-1ubuntu0.1 @ii mK > (>= 0.4.0)
  Considering bubblewrap:amd64 2 as a solution to flatpak:amd64 9999
Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 flatpak : Depends: bubblewrap (>= 0.4.0)
           Recommends: xdg-desktop-portal (>= 1.6)
E: Unable to correct problems, you have held broken packages.



EXPECTED RESULT
System should be untouched when cancelling out of the upgrade if the upgrade did not proceed. Flatpak and System Information should still work.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.19.3 or 5.19.4. Not sure because System Information shortcut is missing.
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

~$ uname -a
Linux <computername> 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux


ADDITIONAL INFORMATION
Comment 1 Ben 2020-08-16 05:04:36 UTC
After rebooting, the system almost unusable.  The login screen will show a new interface but I cannot log in because the Enter key does not let me submit the password.  Also it defaults to the on screen keyboard. Even when I use the onscreen keyboard, clicking the Enter button does not work.  I can still press CTRL+ALT+F2 to get to a console screen and log in.
Comment 2 Ben 2020-08-16 07:07:17 UTC
In the console I did do-release-upgrade and completed the upgrade; however, the login screen still would not let me log in.

I deleted ~\.Xauthority
but i still couldn't log in

Then I did:
sudo apt-get update
sudo apt-get upgrade
sudo apt autoremove
sudo apt-get clean
reboot

Then I didn't get login screen any more. I guess deleting .Xauthority was bad.

I'm just going to try to do a clean install of KDE Neon 20.04.
Comment 3 Ben 2020-08-16 07:55:24 UTC
A clean install of KDE Neon 20.04 (2020-08-15) to replace the partition results in a "GNU GRUB  version 2.04" screen where I am to enter commands into grub.
Comment 4 Ben 2020-08-16 09:27:17 UTC
A clean install of Kubuntu 20.04.1 including deleting partition and formatting also results in a "GNU GRUB  version 2.04" screen where I am to enter commands into grub.
Comment 5 Ben 2020-08-16 12:10:27 UTC
I was able to enter in grub commands by following instructions on https://linuxhint.com/grub_rescue_ubuntu_1804/

I had to change the boot partition to "nvme0n1p6" to match the correct partition instead of "sda1".

A problem still exists where the computer does not show a grub boot menu and still goes to the grub command line.

In Kubuntu, I also tried to update grub using:
sudo update-grub2
but it still requires me to enter commands into grub.

I also tried grub-install but it fails:
$ sudo grub-install /dev/nvme0n1
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
$ sudo grub-install /dev/nvme0
Installing for i386-pc platform.
grub-install: error: attempt to read or write outside of disk `hostdisk//dev/nvme0'.

I'm using UEFI and dual boot with Windows 10.
Comment 6 Ben 2020-08-17 03:48:57 UTC
In Kubuntu, I also tried using the EFI boot partition but it still requires me to enter commands into grub when I restart the computer.

~$ sudo update-grub2
[sudo] password for user: 
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-42-generic
Found initrd image: /boot/initrd.img-5.4.0-42-generic
Found Windows Boot Manager on /dev/nvme0n1p2@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings
done
~$ sudo grub-install /dev/nvme0n1p2
Installing for i386-pc platform.
grub-install: warning: File system `fat' doesn't support embedding.
grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.