I am very new to Ubuntu. I've had 20.04 with Gnome 3 for a couple months. Well, I wanted to try kubuntu. I got kubuntu installed and it is up and running. I went to uninstall Gnome 3 (using directions from the internet), but halfway through uninstalling, I exited out, not knowing you couldn't just start over again.
When I put in the command
$ sudo dpkg-reconfigure lightdm
I get this:
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
$ sudo fuser -v /var/cache/debconf/config.dat
USER PID ACCESS COMMAND
/var/cache/debconf/config.dat:
root 32024 F.... frontend
$ sudo apt-get remove gnome-session
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 31127 (apt-get)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
$ ps aux | grep -i apt
root 31124 0.0 0.0 11732 4828 ? S 07:49 0:00 sudo apt-get remove gnome-session gnome gnome-shell
root 31127 0.1 0.8 83060 69492 ? S 07:49 0:01 apt-get remove gnome-session gnome gnome-shell
strawbe+ 73729 0.0 0.0 9032 660 pts/2 S+ 08:06 0:00 grep --color=auto -i apt
Can anyone help please? I don't want to break anything! Thank you! :)
focal
is the codename for version 20.04. It does not replace GNOME which is the desktop environment used by Ubuntu desktop. It's unclear what you are trying to do and it's also unclear what you have done so far. For example when you tell us "When I put in the command to start/continue uninstalling Gnome" - this is ambiguous. You should always provide the exact command and the whole output. You should edit your question and make sure it's clear what you are trying to do. – Nmath Sep 11 '21 at 18:21