Hi. Sorry for the Swedish below, but the messages should be readable. I could not install Mate 17.10 on a Dell XPS with factory-installed Ubuntu 17.10. sudo apt --fix-broken install and sudo update/upgrade also fails, so I’m stuck. What’s the procedure to get out of this mess?
sudo apt-get install mate-desktop-environment
Läser paketlistor… Färdig
Bygger beroendeträd
Läser tillståndsinformation… Färdig
mate-desktop-environment is already the newest version (1.18.0+1).
Du bör köra ”apt --fix-broken install” för att korrigera dessa.
Följande paket har beroenden som inte kan tillfredsställas:
mate-session-manager : Beroende av: mint-mate-default-settings men det kan inte installeras eller
ubuntu-mate-default-settings men det kommer inte att installeras eller
debian-mate-default-settings (>= 1.18.1-2ubuntu2) men det kommer inte att installeras
E: Otillfredsställda beroenden. Prova med ”apt --fix-broken install” utan paket (eller ange en lösning).
So mate-session-manager depends on: mint-mate-default-settings | ubuntu-mate-default-settings | debian-mate-default-settings
The first package never existed, and the third package is inherited from Debian (and isn’t installed in Ubuntu MATE by default). So I’d try installing ubuntu-mate-default-settings manually and check the error messages after that. It might give some further hints about what’s wrong.
Also there’s a way to get messages in English. Place LC_ALL=C before the command, like this: LC_ALL=C sudo apt-get install ubuntu-mate-default-settings
LC_ALL=C sudo apt-get install ubuntu-mate-default-settings
[sudo] password for tony:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ubuntu-mate-default-settings
0 upgraded, 1 newly installed, 0 to remove and 47 not upgraded.
77 not fully installed or removed.
Need to get 0 B/17.9 kB of archives.
After this operation, 139 kB of additional disk space will be used.
(Reading database ... 240990 files and directories currently installed.)
Preparing to unpack .../ubuntu-mate-default-settings_17.10.24_all.deb ...
Unpacking ubuntu-mate-default-settings (17.10.24) ...
dpkg: error processing archive /var/cache/apt/archives/ubuntu-mate-default-settings_17.10.24_all.deb (--unpack):
trying to overwrite '/usr/lib/chromium-browser/master_preferences', which is also in package oem-browser-defaults 20columbia1
Errors were encountered while processing:
/var/cache/apt/archives/ubuntu-mate-default-settings_17.10.24_all.deb
So now it complains about overwriting a file that I don't even have on my system.
$ LC_ALL=C sudo ls -l /usr/lib/chromium-browser/master_preferences
ls: cannot access '/usr/lib/chromium-browser/master_preferences': No such file or directory
Needless to say it's also impossible to remove the other package that is referencing that file:
$ LC_ALL=C sudo apt remove oem-browser-defaults
Reading package lists... Done
Building dependency tree
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 going to be installed or
debian-mate-default-settings (>= 1.18.1-2ubuntu2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Aha. Success!
Wolfmans suggestion alone didn’t cut it, but monsta’s advice seems to have cleared the path. I got an updated Mate which is what I wanted.
Now, the 4K resolution on a 13.3" screen suggests a microscope for reading the menus, and perhaps that’s what Dell wanted to spare me from. But that should be fixable. Thanks A LOT guys, you’ve made my day!