Bug 467409 - Dependencies broken
Summary: Dependencies broken
Status: RESOLVED WORKSFORME
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-15 17:15 UTC by Nico Dorn
Modified: 2023-06-14 13:21 UTC (History)
4 users (show)

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


Attachments
Upgrade messages (340.56 KB, text/plain)
2023-03-15 17:15 UTC, Nico Dorn
Details
Broken dependencies apt-get output (10.21 KB, text/plain)
2023-04-03 12:32 UTC, Nico Dorn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Dorn 2023-03-15 17:15:04 UTC
Created attachment 157312 [details]
Upgrade messages

SUMMARY
It seems as if the recent updates have broken dependencies. In consequence, apt virtually proposes to uninstall the entire desktop. The problems started about three days ago with the proposal to remove skrooge and digikam.

STEPS TO REPRODUCE
sudo apt-get update && sudo apt-get dist-upgrade

OBSERVED RESULT
See attached file.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 5.19.0-35-generic (64-bit)
Graphics Platform: X11
Comment 1 Nico Dorn 2023-03-15 17:17:27 UTC
There are further users that reported similiar problems:

https://forum.kde.org/viewtopic.php?f=309&t=177454
https://forum.kde.org/viewtopic.php?f=309&t=177357&start=15

The proposed fix doesn't work for me, unfortunately.
Comment 2 Jaime Antonio Gonzalez 2023-03-16 02:27:08 UTC
I went ahead and ended up with a dependency nightmare and no desktop.

I had to do this commands in order in a tty (ALT+F2)

sudo dpkg --remove --force-remove-reinstreq neon-desktop

sudo dpkg --remove --force-remove-reinstreq plasma-desktop

sudo dpkg --configure -a

sudo pkcon install libharfbuzz-0b

sudo pkcon install plasma-desktop

sudo pkcon install neon-desktop

sudo pkcon install sddm 

sudo reboot now

And I got my desktop back! I've read another guide and didn't work for me. So YMMV.
Comment 3 Jaime Antonio Gonzalez 2023-03-16 05:41:22 UTC
(In reply to Jaime Antonio Gonzalez from comment #2)
...
> 
> sudo pkcon install libharfbuzz-0b
..

I made a typo, its sudo pkcon install libharfbuzz0b
Comment 4 Nico Dorn 2023-03-16 13:52:14 UTC
See https://forum.kde.org/viewtopic.php?f=309&t=176375&p=461467#p461467

The 32-bit version of libharfbuzz0b was not updated. That might be the core of the current problems.
Comment 5 Nico Dorn 2023-04-03 10:15:42 UTC
This is still an issue.

Could you please provide an i386 version for libjpeg-turbo8? That is important for users that need win32:i386. There are other users that are affected by this, too (see https://forum.kde.org/viewtopic.php?f=309&t=176375&start=15#p461785).
Comment 6 Nico Dorn 2023-04-03 12:32:54 UTC
Created attachment 157816 [details]
Broken dependencies apt-get output

Added attachment with details about broken dependencies (ouptut apt-get).
Comment 7 Jonathan Riddell 2023-04-03 12:54:51 UTC
We do have an i386 build of libjpeg-turbo8 in the neon user archive

We remove our build of libharfbuzz0b and this will need to be downgraded.  Current neon-settings2 should pin the downgrade for this.
Comment 8 Nico Dorn 2023-04-03 16:45:15 UTC
Thanks, Jonathan. I'lll check it out.
Comment 9 Nico Dorn 2023-06-14 13:21:09 UTC
TL;DR: works for me … now.

Okay, I finally tackled this unfortunated situation and allowed the system to remove a bunch of i386 packages that are essential for me (especially wine32:i386). As I'm in need of wine32:i386, I tried to reinstall it with "sudo apt-get install wine32:i386". This didn't work due to severe dependency issues. What I did to solve the situation:

sudo apt-get --allow-remove-essential purge ".*:i386"
     (--allow-remove-essential was necessary as there were some packages deemd essential by apt)
sudo dpkg --remove-architecture i386
     (restart, don't know if that was necessary)
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install wine32