Linux Lite Forums

Software - Support => Installing Linux Lite => Topic started by: Keith Buckner on January 20, 2019, 02:50:28 PM

Title: errors during update [SOLVED]
Post by: Keith Buckner on January 20, 2019, 02:50:28 PM
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).
Title: Re: errors during update
Post by: Artim on January 20, 2019, 08:55:25 PM
You can open a terminal and type,
Code: [Select]
sudo apt --fix broken installThen 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.
Title: Re: errors during update
Post by: Keith Buckner on January 20, 2019, 10:54:43 PM
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.
Title: Re: errors during update
Post by: Jerry on January 20, 2019, 11:41:31 PM
Missing a hyphen:

Code: [Select]
sudo apt --fix-broken install