View Issue Details

IDProjectCategoryView StatusLast Update
0009129Kali LinuxKali Package Bugpublic2025-04-23 15:18
Reportererasmo52 Assigned Todaniruiz  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0009129: Switching desktop environment xfce to kde in kali virtualbox distribution
Description

I installed the last (2025.1a) virtualbox distribution. Installed and run correctly.
Following your guide "Switching Desktop Environments" I tried to switch from xfce to kde.
Installed successfully the kde environment and reboot starting a plasma X11 session.
When I tried to remove the xfce environment I receive an error message as "Error: Removing essential system-critical packages is not permitted. This might break the system."
Why? It is a bug? Or it is your guide not updated? it is no more possible to remove xfce environment? Or there is different instructions to run?
Thanks for your attention
Erasmo

Activities

arnaudr

arnaudr

2025-04-11 15:43

manager   ~0020482

It's due to a change in Kali 2025.1. Going forward, apt refuses to remove a desktop metapackage, as you noticed.

I think there's a way to force apt to do it though. Maybe you can try the flag --allow-remove-essential?

erasmo52

erasmo52

2025-04-11 17:56

reporter   ~0020483

Thank you, friend, for your attention.
Finally I will manually create the VM and install kali from the ISO distribution, because I think it will consent me to install natively the KDE only.
If so, I think it would be a better way to perform a cleaner installation with the KDE desktop environment.
What about my idea?
Thank you again

daniruiz

daniruiz

2025-04-23 13:04

manager   ~0020518

I have updated the documentation https://gitlab.com/kalilinux/documentation/kali-docs/-/commit/13fb9dbc42daa05787fe14f9d749ed6983a37769

Issue History

Date Modified Username Field Change
2025-04-08 17:22 erasmo52 New Issue
2025-04-11 15:43 arnaudr Note Added: 0020482
2025-04-11 17:56 erasmo52 Note Added: 0020483
2025-04-23 13:04 daniruiz Note Added: 0020518
2025-04-23 13:04 daniruiz Assigned To => daniruiz
2025-04-23 13:04 daniruiz Status new => resolved
2025-04-23 13:04 daniruiz Resolution open => fixed