sudo apt install -f
As for material skin not working with the latest LMS. Try these:
- Make sure you're running the latest version. Newer LMS might require an update.
- Do a CTRL+F5 and make sure you have reloaded everything (Web Apps are stupid this way)
- Press F12 and check the console tab, what are the errors?