I can't install XFCE ( xubuntu desktop)
I tried sudo apt-get install xubuntu-desktop
.
It turned out like this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xubuntu-desktop : Depends: gtk2-engines-pixbuf but it is not going to be installed
Recommends: abiword but it is not going to be installed
Recommends: abiword-plugin-grammar but it is not going to be installed
Recommends: abiword-plugin-mathview but it is not going to be installed
Recommends: brltty-x11 but it is not going to be installed
Recommends: gimp but it is not going to be installed
Recommends: gthumb but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Anyone knows what this means and how to fix it ?
- PS: If I have installed Xubuntu-desktop, how can I remove the Unity?
- Thank you.
`
Seems like you had a broken update or software install so either your apt-cache is messed up or your dpkg isn't getting a lock. First try
sudo dpkg --configure -a
Then:
sudo apt-get update
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove
sudo dpkg --remove -force --force-remove-reinstreq broken-packagename
Optionally to remove unity:
sudo apt-get purge ubuntu-default-settings
sudo apt-get purge ubuntu-desktop
sudo apt-get autoremove
You should something like this:
sudo apt install xubuntu-desktop <and its dependencies separated by space>
In your error it should be like:
sudo apt install xubuntu-desktop gtk2-engines-pixbuf abiword abiword-plugin-grammar abiword-plugin-mathview brltty-x11 gimp gthumb