So I've had this work before, but hitting a problem early on on a new VM.
Ok, here 's my setup. I have a "AWS Workspace" that came preloaded with
Ubuntu 22.04.5 LTS
First thing, I want to get on mate of course.
I ran these commands
sudo apt update
sudo apt upgrade -y
sudo apt install ubuntu-mate-desktop -y
Part way through I get the typical "lightdm or gdm" I selected light dm
Then during that "apt install" apt bombs out with
Errors were encountered while processing:
/tmp/apt-dpkg-install-Vbp70x/391-ubuntu-mate-default-settings_22.04.14_all.deb
Ok, that is fun. So I tried sudo apt upgrade
jsut to see what state it was in and got
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mate-session-manager : Depends: mint-mate-default-settings but it is not installable or
ubuntu-mate-default-settings but it is not installed or
debian-mate-default-settings (>= 1.26.0-1ubuntu1) but it is not installed
ubuntu-mate-core : Depends: ubuntu-mate-default-settings but it is not installed
ubuntu-mate-desktop : Depends: ubuntu-mate-default-settings but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
The sudo apt --fix-broken install
Output
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
ubuntu-mate-default-settings
The following NEW packages will be installed:
ubuntu-mate-default-settings
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 0 B/38.8 kB of archives.
After this operation, 256 kB of additional disk space will be used.
(Reading database ... 391715 files and directories currently installed.)
Preparing to unpack .../ubuntu-mate-default-settings_22.04.14_all.deb ...
Unpacking ubuntu-mate-default-settings (22.04.14) ...
dpkg: error processing archive /var/cache/apt/archives/ubuntu-mate-default-settings_22.04.14_all.deb (--unpack):
trying to overwrite '/etc/firefox/policies/policies.json', which is also in package amazon-workspaces-theme 1.0-200204.0
Errors were encountered while processing:
/var/cache/apt/archives/ubuntu-mate-default-settings_22.04.14_all.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
So, not sure if this is a bug, but gives more intesesting info> Some confict here. See there have been other issues this in the past.
As it stands now I can't get apt really happy anymore. Not a big deal I can wipe this and start over and skip my primary first step of "install MATE" but that will make me sad.. :>
Any ideas? Thanks