Linux Lite Forums
errors during update [SOLVED] - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Installing Linux Lite (https://www.linuxliteos.com/forums/forumdisplay.php?fid=17)
+--- Thread: errors during update [SOLVED] (/showthread.php?tid=5938)



errors during update [SOLVED] - Keith Buckner - 01-20-2019

Just installed 4.2 on TOshiba Satellite laptop.
Seems to run fine but I get errors during update wheather terminal update or synaptic.
sudo apt-get upgrade
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:
openjdk-11-jdk : Depends: openjdk-11-jdk-headless (= 10.0.2+13-1ubuntu0.18.04.4) but 10.0.2+13-1ubuntu0.18.04.2 is installed
openjdk-11-jdk-headless : Depends: openjdk-11-jre-headless (= 10.0.2+13-1ubuntu0.18.04.2) but 10.0.2+13-1ubuntu0.18.04.4 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).



Re: errors during update - Artim - 01-21-2019

You can open a terminal and type,
Code:
sudo apt --fix broken install
Then your password when prompted.  It's normal for your password to not be visible while you are typing it, just type it and hit ENTER.  Then watch the magic!  When it's finished you'll see the colorful command prompt again, and just close that window.
Synaptic Package Manager (Menu -> System -> Add/Remove Software) has a nice graphical option to fix broken packages as well.



Re: errors during update - Keith Buckner - 01-21-2019

I tryied that as hinted in terminal, I get this.
sudo apt --fix broken install
E: Command line option --fix is not understood in combination with the other options.


Re: errors during update - Valtam - 01-21-2019

Missing a hyphen:

Code:
sudo apt --fix-broken install