I tried to remove samba-server
with this command (sudo tasksel remove samba-server
) and every app even the system apps are deleted and now xubuntu is stuck at boot, just showing loading. What should I do?
Did tasksel
deleted my files too?
I tried to remove samba-server
with this command (sudo tasksel remove samba-server
) and every app even the system apps are deleted and now xubuntu is stuck at boot, just showing loading. What should I do?
Did tasksel
deleted my files too?
TL;DR - it is a serious bug, do not use tasksel for removing things!
Analysis
Below is available options of
tasksel
:Samba task is named as
samba-server
as you wrote:It consists of only one package:
If we try to simulate uninstall - we get the following line:
(in the line above the last hyphen
-
cause problems).What I did:
tasksel
withsudo apt-get install tasksel
sudo tasksel install samba-server
sudo tasksel remove samba-server
Fix the system
Then I tried to repair the system:
We need to boot in Recovery mode (click Shift on boot, in GRUB select Advanced options for Ubuntu, select Ubuntu, with Linux ... (recovery mode))
Select
resume Resume normal boot
to access login shellOpen first console #1 with Ctrl+Alt+1 then login
If you do not have internet - check Ethernet interface name and run DHCP-client manually on it:
Reinstall
xubuntu-desktop
meta-package to the system:After reboot I can access the system.
Conclusion
So it seems that it is a serious bug - I have found some with almost same symptoms:
Also I have filed new bug 1779645 "Critical bug in tasksel:
tasksel remove task-name
removes whole system"What to do?
Do not use
tasksel
for removing things at least on 16.04 LTS, 18.04 LTS and 20.04 LTS.