Bug 467038 - kde-baseapps package was removed from system after an update
Summary: kde-baseapps package was removed from system after an update
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages Testing Edition (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-08 02:53 UTC by Moltke
Modified: 2023-03-12 03:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moltke 2023-03-08 02:53:48 UTC
SUMMARY
***
Dolphin was removed from system after an update. Some pkg was downgraded, can't remember which one exactly, but I think it had to do something with libpoppler since I tried reinstalling it and got this error:
The following packages have unmet dependencies:
libpoppler126 : Depends: libjpeg-turbo8 (>= 1:2.1.5) but 2.1.5-2+22.04+jammy+stable+build20 will be installed
E: Unable to fix problems, you have broken packages on hold.
***


STEPS TO REPRODUCE
1. Not sure.
2. 
3. 

OBSERVED RESULT
Dolhin got removed

EXPECTED RESULT
Nothing should get removed

SOFTWARE/OS VERSIONS
Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 5.19.0-35-generic (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Moltke 2023-03-08 02:58:56 UTC
This is the whole error I get when trying to get dolphin back:
install dolphin
Reading package list... Done
Creating dependency tree... Done
Reading status information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) libpoppler126:amd64 < none -> 23.03.0-0xneon+22.04+jammy+stable+build11 @un puN Ib >
Broken libpoppler126:amd64 Depends on libjpeg-turbo8:amd64 < 2.1.5-2+22.04+jammy+stable+build20 @ii pK > (>= 1:2.1.5)
donate
Done 
 can't install some package. This can mean that you asked for an impossible situation or, if you are using the distribution
unstable, that some necessary packages have not yet been created or are They have taken from «Incoming».

The following information may help resolve the situation:

The following packages have unmet dependencies:
  libpoppler126 : Depends: libjpeg-turbo8 (>= 1:2.1.5) but 2.1.5-2+22.04+jammy+stable+build20 will be installed
E: Could not fix problems, you have broken packages on hold.

Note: I'm translating from Spanish, so wording in some parts might be different.
Comment 2 Moltke 2023-03-08 14:40:48 UTC
So, I just learned that the package kde-baseapps was removed, not only dolphin but gwenview was removed, too, and so was okular. When tried to install got the exact same error:

$ apt policy kde-baseapps
kde-baseapps:
   Installed: (none)
   Candidate: 4:21.08.0+5.118ubuntu1
   Version table:
      4:21.08.0+5.118ubuntu1 500
         500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages

$ sudo apt install kde-baseapps
[sudo] password for moltke:
Reading package list... Done
Creating dependency tree... Done
Reading status information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) libpoppler126:amd64 < none -> 23.03.0-0xneon+22.04+jammy+stable+build11 @un puN Ib >
Broken libpoppler126:amd64 Depends on libjpeg-turbo8:amd64 < 2.1.5-2+22.04+jammy+stable+build20 @ii pK > (>= 1:2.1.5)
done
Some packages could not be installed. This can mean that you asked for an impossible situation or, if you are using the distribution
unstable, that some necessary packages have not yet been created or they have been taken from «Incoming».
The following information may help resolve the situation:

The following packages have unmet dependencies:
libpoppler126 : Depends: libjpeg-turbo8 (>= 1:2.1.5) but 2.1.5-2+22.04+jammy+stable+build20 will be installed
E: Could not fix problems, you have broken packages on hold.
Comment 3 Moltke 2023-03-08 14:47:11 UTC
Here's pkcon transaction report/log, after which this happened:

Transaction: /1054_aaebdebe
 System time: 2023-03-07T14:49:14.779710Z
 Succeeded: True
 Role: update-packages
 Duration: 952 (seconds)
 Command line: 
 User ID: 0
 Username: root
 Real name: root
 Affected packages:
 - removing bluez-cups-5.64-0ubuntu1.amd64
 - removing cups-2.4.1op1-1ubuntu4.1.amd64
 - removing cups-core-drivers-2.4.1op1-1ubuntu4.1.amd64
 - removing cups-filters-1.28.15-0ubuntu1.amd64
 - removing cups-filters-core-drivers-1.28.15-0ubuntu1.amd64
 - removing dolphin-4:22.12.3+p22.04+tstable+git20230307.0014-0.amd64
 - removing dolphin-plugins-4:22.12.3+p22.04+tstable+git20230302.1505-0.amd64
 - removing gwenview-4:22.12.3+p22.04+tstable+git20230307.0014-0.amd64
 - removing hplip-3.21.12+dfsg0-1.amd64
 - removing khelpcenter-4:22.12.3+p22.04+tstable+git20230306.0045-0.amd64
 - removing libgegl-0.4-0-1:0.4.42-0build2~ubuntu2204.amd64
 - removing libjpeg62-turbo-1:2.1.5-2+22.04+jammy+stable+build1.amd64
 - removing libkf5baloowidgets-bin-4:22.12.3+p22.04+tstable+git20230302.1416-0.amd64
 - removing libkf5baloowidgets5-4:22.12.3+p22.04+tstable+git20230302.1416-0.amd64
 - removing libkf5filemetadata-bin-5.103.0+p22.04+tunstable+git20230305.0227-0.amd64
 - removing libkf5khtml-bin-5.103.0+p22.04+tunstable+git20230305.0227-0.amd64
 - removing libkf5khtml5-5.103.0+p22.04+tunstable+git20230305.0227-0.amd64
 - removing libpoppler-cpp0v5-23.03.0-0xneon+22.04+jammy+stable+build11.amd64
 - removing libpoppler-glib8-23.03.0-0xneon+22.04+jammy+stable+build11.amd64
 - removing libpoppler-qt5-1-23.03.0-0xneon+22.04+jammy+stable+build11.amd64
 - removing libpoppler126-23.03.0-0xneon+22.04+jammy+stable+build11.amd64
 - removing libsane1-1.1.1-5.amd64
 - removing okular-4:22.12.3+p22.04+tstable+git20230306.0040-0.amd64
 - removing okular-backends-4:22.12.3+p22.04+tstable+git20230306.0040-0.amd64
 - removing poppler-utils-23.03.0-0xneon+22.04+jammy+stable+build11.amd64
 - removing printer-driver-hpcups-3.21.12+dfsg0-1.amd64
 - removing printer-driver-splix-2.0.0+svn315-7fakesync1build3.amd64
 - removing sane-utils-1.1.1-5.amd64
 - downgrading libjpeg-turbo8-2.1.5-2+22.04+jammy+stable+build18.amd64
 - installing colord-data-1.4.6-1.all
 - installing foomatic-filters-4.0.17-13.amd64
 - installing libblkid-dev-2.37.2-4ubuntu3.amd64
 - installing libcairo-script-interpreter2-1.16.0-5ubuntu2.amd64
 - installing libcolorhug2-1.4.6-1.amd64
 - installing libdeflate-dev-1.10-2.amd64
 - installing libffi-dev-3.4.2-4.amd64
 - installing libgdk-pixbuf-2.0-dev-2.42.8+dfsg-1ubuntu0.2.amd64
 - installing libgdk-pixbuf-xlib-2.0-0-2.40.2-2build4.amd64
 - installing libgdk-pixbuf-xlib-2.0-dev-2.40.2-2build4.amd64
 - installing libgdk-pixbuf2.0-dev-2.40.2-2build4.amd64
 - installing libglib2.0-dev-2.72.4-0ubuntu1.amd64
 - installing libglib2.0-dev-bin-2.72.4-0ubuntu1.amd64
 - installing libgtk-4-1-4.6.6+ds-0ubuntu1.amd64
 - installing libgtk-4-bin-4.6.6+ds-0ubuntu1.amd64
 - installing libgtk-4-common-4.6.6+ds-0ubuntu1.all
 - installing libjbig-dev-2.1-3.1ubuntu0.22.04.1.amd64
 - installing libjpeg-dev-8c-2ubuntu10.amd64
 - installing libjpeg-turbo8-dev-2.1.5-2+22.04+jammy+stable+build18.amd64
 - installing libjpeg8-8c-2ubuntu10.amd64
 - installing libjpeg8-dev-8c-2ubuntu10.amd64
 - installing liblzma-dev-5.2.5-2ubuntu1.amd64
 - installing libmount-dev-2.37.2-4ubuntu3.amd64
 - installing libpcre16-3-2:8.39-13ubuntu0.22.04.1.amd64
 - installing libpcre2-32-0-10.39-3ubuntu0.1.amd64
 - installing libpcre2-dev-10.39-3ubuntu0.1.amd64
 - installing libpcre2-posix3-10.39-3ubuntu0.1.amd64
 - installing libpcre3-dev-2:8.39-13ubuntu0.22.04.1.amd64
 - installing libpcre32-3-2:8.39-13ubuntu0.22.04.1.amd64
 - installing libpcrecpp0v5-2:8.39-13ubuntu0.22.04.1.amd64
 - installing libpng-dev-1.6.37-3build5.amd64
 - installing libpng-tools-1.6.37-3build5.amd64
 - installing libpthread-stubs0-dev-0.4-1build2.amd64
 - installing libselinux1-dev-3.3-1build2.amd64
 - installing libsepol-dev-3.3-1build1.amd64
 - installing libtiff-dev-4.3.0-6ubuntu0.4.amd64
 - installing libtiffxx5-4.3.0-6ubuntu0.4.amd64
 - installing libx11-dev-2:1.7.5-1.amd64
 - installing libxau-dev-1:1.0.9-1build5.amd64
 - installing libxcb1-dev-1.14-3ubuntu3.amd64
 - installing libxdmcp-dev-1:1.1.3-0ubuntu5.amd64
 - installing pkg-config-0.29.2-1ubuntu3.amd64
 - installing python3-distutils-3.10.6-1~22.04.all
 - installing python3-lib2to3-3.10.6-1~22.04.all
 - installing uuid-dev-2.37.2-4ubuntu3.amd64
 - installing x11proto-dev-2021.5-1.all
 - installing xorg-sgml-doctools-1:1.11-1.1.all
 - installing xtrans-dev-1.4.0-1.all
 - installing zlib1g-dev-1:1.2.11.dfsg-2ubuntu9.2.amd64

This «libjpeg-turbo8-2.1.5-2+22.04+jammy+stable+build18.amd64» is the pkg that got downgraded, and caused all this mess.
Comment 4 Moltke 2023-03-08 15:01:35 UTC
Tried with pkcon, same thing:

sudo pkcon install dolphin
Resolving                     [=========================]         
Testing changes               [=========================]         
Finished                      [=========================]         
Fatal error: The following packages have unmet dependencies:
  libpoppler126: Depende: libjpeg-turbo8 (>= 1:2.1.5) but 2.1.5-2+22.04+jammy+stable+build20 is to be installed

sudo pkcon install kde-baseapps
Resolving                     [=========================]         
Testing changes               [=========================]         
Finished                      [=========================]         
Fatal error: The following packages have unmet dependencies:
  libpoppler126: Depende: libjpeg-turbo8 (>= 1:2.1.5) but 2.1.5-2+22.04+jammy+stable+build20 is to be installed

:(
Comment 5 Moltke 2023-03-08 15:03:02 UTC
And now gimp doesn't work:

$ gimp
gimp: error while loading shared libraries: libgegl-0.4.so.0: cannot open shared object file: No such file or directory

Please, help! :(
Comment 6 Carlos De Maine 2023-03-09 09:36:09 UTC
Hi..  Updated packages are coming through the build system.  Unfortunately you tried to upgrade while the packages that depend on libjpeg-turbo were rebuilding to satisfy the new dependencies.  Please never accept the removal of any packages and wait for the corrected/rebuilt packages to come down the line.  Cheers
Comment 7 Moltke 2023-03-09 11:28:30 UTC
(In reply to Carlos De Maine from comment #6)
> Hi..  Updated packages are coming through the build system.  Unfortunately
> you tried to upgrade while the packages that depend on libjpeg-turbo were
> rebuilding to satisfy the new dependencies.  Please never accept the removal
> of any packages and wait for the corrected/rebuilt packages to come down the
> line.  Cheers

I never accepted anything, it just happened. Is this fixable?
Comment 8 Carlos De Maine 2023-03-10 00:07:56 UTC
that's strange apt will always prompt on deletion, i thought pkcon would do the same.  everything is being rebuilt against the new jpeg-turbo, harfbuzz, poppler etc and should be promoted to user asap.  when they land, you'll be able to reinstall all those packages
Comment 9 Moltke 2023-03-10 00:24:51 UTC
(In reply to Carlos De Maine from comment #8)
> that's strange apt will always prompt on deletion, i thought pkcon would do
> the same.  everything is being rebuilt against the new jpeg-turbo, harfbuzz,
> poppler etc and should be promoted to user asap.  when they land, you'll be
> able to reinstall all those packages

I use pkcon, always do. No, I didn't get any warnings. I did see that pkg (libjpeg-turbo8) would be downgraded, but it didn't say anything about removing kde-baseapps. Hope they land soon, I installed thunar for the time being, which I like better than the rest, and by the way I noticed file transfer seems a little faster than in dolphin, but still miss having dolphin and the rest around available to use. :(
Comment 10 Moltke 2023-03-10 20:06:57 UTC
First, Sorry for the long post.
I reinstalled Neon cause I really need dolphin, gimp and the other apps. I haven't updated yet, since «libjpeg-turbo8» problematic version is still there and out of curiosity, I ran pkcon to see if it did warn me, but I missed it, well I didn't:
«
$ sudo pkcon refresh && sudo pkcon update
[sudo] password for moltke: 
Refreshing cache              [=========================]         
Loading cache                 [=========================]         
Downloading packages          [=========================]         
Running                       [=========================]         
Finished                      [=========================]         
 Disabled                             file:/var/lib/preinstalled-pool jammy InRelease
 Enabled                              file:/var/lib/preinstalled-pool jammy Release
 Enabled                              file:/var/lib/preinstalled-pool jammy Release
 Enabled                              file:/var/lib/preinstalled-pool jammy Release.gpg
 Enabled                              http://archive.ubuntu.com/ubuntu jammy InRelease
 Enabled                              http://archive.ubuntu.com/ubuntu jammy InRelease
 Enabled                              http://security.ubuntu.com/ubuntu jammy-security InRelease
 Enabled                              http://security.ubuntu.com/ubuntu jammy-security InRelease
 Enabled                              http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata
 Enabled                              http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata
 Enabled                              https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease
 Enabled                              http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata
 Enabled                              http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata
 Enabled                              https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease
 Enabled                              http://archive.ubuntu.com/ubuntu jammy-updates InRelease
 Enabled                              http://archive.ubuntu.com/ubuntu jammy-updates InRelease
 Enabled                              http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata
 Enabled                              http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata
 Enabled                              http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata
 Enabled                              http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata
 Enabled                              http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata
 Enabled                              http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata
 Enabled                              http://archive.neon.kde.org/testing jammy InRelease
 Enabled                              http://archive.neon.kde.org/testing jammy InRelease
Getting updates               [=========================]         
Finished                      [=========================]         
Testing changes               [=========================]         
Finished                      [                         ] (0%)  
The following packages have to be installed:
 knewstuff-dialog-5.103.0+p22.04+tunstable+git20230309.0207-0.amd64     Support for downloading application assets from the network.
 linux-headers-5.15.0-67-5.15.0-67.74.all       Header files related to Linux kernel version 5.15.0
 linux-headers-5.15.0-67-generic-5.15.0-67.74.amd64     Linux kernel headers for version 5.15.0 on 64 bit x86 SMP
 linux-headers-5.19.0-35-generic-5.19.0-35.36~22.04.1.amd64     Linux kernel headers for version 5.19.0 on 64 bit x86 SMP
 linux-hwe-5.19-headers-5.19.0-35-5.19.0-35.36~22.04.1.all      Header files related to Linux kernel version 5.19.0
 linux-image-5.15.0-67-generic-5.15.0-67.74.amd64       Signed kernel image generic
 linux-image-5.19.0-35-generic-5.19.0-35.36~22.04.1.amd64       Signed kernel image generic
 linux-modules-5.15.0-67-generic-5.15.0-67.74.amd64     Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
 linux-modules-5.19.0-35-generic-5.19.0-35.36~22.04.1.amd64     Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
 linux-modules-extra-5.15.0-67-generic-5.15.0-67.74.amd64       Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
 linux-modules-extra-5.19.0-35-generic-5.19.0-35.36~22.04.1.amd64       Linux kernel extra modules for version 5.19.0 on 64 bit x86 SMP
 vulkan-tools-1.3.204.0+dfsg1-1.amd64   Miscellaneous Vulkan utilities
The following packages have to be updated:
 appstream-0.16.1-0xneon+22.04+jammy+stable+build7.amd64        Software component metadata management
 apt-config-icons-0.16.1-0xneon+22.04+jammy+stable+build7.all   APT configuration snippet to enable icon downloads
 apt-config-icons-hidpi-0.16.1-0xneon+22.04+jammy+stable+build7.all     APT configuration snippet to enable HiDPI icon downloads
 apt-config-icons-large-0.16.1-0xneon+22.04+jammy+stable+build7.all     APT configuration snippet to enable large icon downloads
 apt-config-icons-large-hidpi-0.16.1-0xneon+22.04+jammy+stable+build7.all       APT configuration snippet to enable large HiDPI icon downloads
 
 libjpeg-turbo8-2.1.5-2+22.04+jammy+stable+build20.amd64        libjpeg-turbo JPEG runtime library

 ubuntu-release-upgrader-core-1:22.04.16+p22.04+tstable+git20230222.1142.all    manage release upgrades
 ubuntu-release-upgrader-qt-1:22.04.16+p22.04+tstable+git20230222.1142.all      manage release upgrades
 udev-249.11-0ubuntu3.7.amd64   /dev/ and hotplug management daemon
 xdg-desktop-portal-kde-5.27.2+p22.04+tstable+git20230310.0018-0.amd64  backend implementation for xdg-desktop-portal using Qt
Proceed with changes? [N/y] N
The transaction did not procee[=========================]         
Fatal error: user declined simulation
»
As you can see, it tells you what's going to be installed and updated, but it doesn't say whether something will be removed as a result.  And neither did apt:

«
$ sudo apt full-upgrade
Reading package list... Done
Creating dependency tree... Done
Reading status information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
donate
Calculating the update... Done
The packages listed below were installed automatically and are no longer needed.
   libdbusmenu-glib4 libdbusmenu-gtk3-4 xul-ext-ubufox
Use "sudo apt autoremove" to remove them.
The following NEW packages will be installed:
   knewstuff-dialog linux-headers-5.15.0-67 linux-headers-5.15.0-67-generic linux-headers-5.19.0-35-generic linux-hwe-5.19-headers-5.19.0-35
   linux-image-5.15.0-67-generic linux-image-5.19.0-35-generic linux-modules-5.15.0-67-generic linux-modules-5.19.0-35-generic
   linux-modules-extra-5.15.0-67-generic linux-modules-extra-5.19.0-35-generic vulkan-tools
The following packages have been withheld:
   grub-efi-amd64-bin grub-efi-amd64-signed gwenview
The following packages will be updated:
   appstream apt-config-icons apt-config-icons-hidpi apt-config-icons-large apt-config-icons-large-hidpi ark baloo-kf5 bluedevil breeze
   breeze-cursor-theme breeze-gtk-theme breeze-icon-theme curl distro-release-notifier dolphin dolphin-plugins drkonqi drkonqi-pk-debug-installer
   flatpak-kcm framework integration fwupd-signed gir1.2-harfbuzz-0.0 gir1.2-pango-1.0 git git-man grub-theme-breeze intel-microcode isc-dhcp-client
   isc-dhcp-common kaccounts-integration kaccounts-providers kactivities-bin kactivitymanagerd kamera kate kate5-data kde-cli-tools kde-cli-tools-data
   kde-config-gtk-style kde-config-gtk-style-preview kde-config-plymouth kde-config-screenlocker kde-config-sddm kde-config-updates kde-nomodeset
   kde-spectacle kde-style-breeze kde-style-oxygen-qt5 kdeconnect kded5 kdegraphics-thumbnailers kdeplasma-addons-data kdialog kdoctools5 keditbookmarks
   kgamma5 khelpcenter khotkeys khotkeys-data kimageformat-plugins kinfocenter kinit kio kio-extras kio-extras-data kmenuedit konsole konsole-kpart
   kpackagelauncherqml kpackagetool5 kpeople-vcard kross kscreen ksshaskpass ksystemstats ktexteditor-data ktexteditor-katepart kup-backup
   kuserfeedback-doc kwalletmanager kwayland-data kwayland-integration kwin-addons kwin-common kwin-data kwin-style-breeze kwin-wayland kwin-x11 kwrited
   layer-shell-qt libappstream4 libappstreamqt2 libcolorcorrect5 libcurl3-gnutls libcurl4 libdolphinvcs5 libdrm-amdgpu1 libdrm-common libdrm-intel1
   libdrm-nouveau2 libdrm-radeon1 libdrm2 libgnutls30 libharfbuzz0b «libjpeg-turbo8» libkaccounts2 libkdecorations2-5v5 libkdecorations2private10
   qtwayland5 rsync sddm sddm-theme-breeze shim-signed signon-kwallet-extension software-properties-common sonnet-plugins sudo systemd systemd-coredump
   systemd-hwe-hwdb systemd-sysv systemd-timesyncd systemsettings tar tcpdump ubuntu-release-upgrader-core ubuntu-release-upgrader-qt udev
   xdg-desktop-portal-kde
441 updated, 12 new to install, 0 to remove and 3 not updated.
You need to download 597 MB of files.
An additional 1,345 MB of disk space will be used after this operation.
do you wish to continue? [Y/n] n
Canceled.
»

I tried with discover, no warnings:
libjpeg-turbo8
Update to the new version 2.1.5-2+22.04+jammy+stable+build20
No release notes provided.

So, I was wondering if marking «libjpeg-turbo8» as held will prevent the mess?
Comment 11 Moltke 2023-03-11 04:44:38 UTC
Nah, didn't work.  Doing «sudo apt-mark hold libjpeg-turbo8» doesn't prevent the mess from happening; pkcon exits with error and refuses to proceed, apt on the other hand would perform the update, only this time it did warn me about pkgs being removed.  I then did «sudo apt-mark unhold libjpeg-turbo8» and both pkcon and apt would continue, but no warnings; nor from pkcon neither from apt.  I guess I'll just wait a little longer for those pkgs to land. :(
Comment 12 Moltke 2023-03-12 03:45:56 UTC
Well, it's fixed, at last. :) Thanks!