Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1016  / 3 Years ago, wed, september 1, 2021, 6:23:43

System: Kubuntu 20.04 LTS


Long story short,
I did the following:


apt remove --purge kdevelop
find /usr/ -type f -name "*kdev*.so*"
rm -rf /usr/lib/x86_64-linux-gnu/libblockdev.so.2.0.0
apt remove --purge kwrite
find /usr/ -type f -name "*kwrite*.so*"
rm -rf /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/kwrited.so
apt autoremove
apt install kwrite
apt install kdevelop

and now some things don't work anymore; some programs take 5 minutes to start and some do not start at all.


These files are not installed and I think that is the problem.


/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/kwrited.so
/usr/lib/x86_64-linux-gnu/libblockdev.so.2.0.0

One possible solution is to reinstall the KDE Plasma desktop, but I don't want to lose my settings (colors, icons, animations, features...), I've been working on this for 1 month and I'm still not done.


How can I solve this without losing my desktop settings?




If you want to know why I did this, here is the full version:
I was missing a function in Kate and KDevelop, the plus sign for opening folders in the sidebar. Kubuntu uses version 19... of Kate, but there is already version 21... available and in the 21 version the plus sign is present. There is no repo for Kate only the Ubuntu reopsetory, so I had to download the appimage. After I started the Kate app image, I had to wait about 30 seconds when clicking on a folder until it opened.
I thought this is because Kate V.19... is installed and uninstalled Kate V.19 with apt remove --purge kate. But nothing has changed. Then I remembered that Kdevelop is also installed and it also works with Kate, so I uninstalled KDevelop too (apt remove --purge kdevelop). But it didn't help either, so I cleaned the system with apt autoremove and searched for Kate files and removed them. after esystem reboot it started. The KDE Plasma Desktop takes 5 minutes to start. Dolphin File Exlorer takes 5 minutes to start and can't access other partitions and drives. GNOME Disk Utility does not start at all, and so on.


More From » kubuntu

 Answers
0

The solution to this problem is to restore the manually removed system files


/usr/lib/x86_64-linux-gnu/libblockdev.so.2.0.0
/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/kwrited.so

Use the Ubuntu Packages Search to find out that the removed files belong to the packages libblockdev2 and kwrited.


Just reinstall these packages:


sudo apt install --reinstall kwrited libblockdev2

[#1544] Thursday, September 2, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
elecerna

Total Points: 140
Total Questions: 121
Total Answers: 107

Location: Northern Ireland
Member since Sun, Nov 21, 2021
2 Years ago
;