unmet dependencies after upgrade

minty

New Member
Joined
Jul 21, 2019
Messages
8
Reaction score
4
Credits
0
Today i tried too update my Linux Mint Cinnamon version with apt-get upgrade.
After a while te upgrade stopped because there were some errors.

Now every attempt too use the package manager give me the following error.

Code:
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:
 libgstreamer-gl1.0-0 : Depends: libgstreamer1.0-0 (>= 1.14.4) but 1.14.1-1~ubuntu18.04.1 is installed
 libwebkit2gtk-4.0-37 : Depends: libjavascriptcoregtk-4.0-18 (= 2.24.2-0ubuntu0.18.04.1) but 2.20.1-1 is installed
                        Depends: libwoff1 (>= 1.0.0) but it is not installed
 vlc : Depends: vlc-bin (= 3.0.4-1ubuntu0.2) but 3.0.3-1-1ubuntu1 is installed
       Depends: vlc-plugin-base (= 3.0.4-1ubuntu0.2) but 3.0.3-1-1ubuntu1 is installed
 vlc-plugin-qt : Depends: libvlccore9 (>= 3.0.4) but 3.0.3-1-1ubuntu1 is installed
 vlc-plugin-video-output : Depends: libvlccore9 (>= 3.0.4) but 3.0.3-1-1ubuntu1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

When i try sudo apt-get -f install i got the next bounch of errors. that ends with

Code:
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

For so far i can see my package manager asks for an older version of libgstreamer-gl1.0-0 and libwebkit2gtk-4.0-37.
So i don't understand what was going wrong with my upgrade. before i run the upgrade i used the update command.
 


OP
M

minty

New Member
Joined
Jul 21, 2019
Messages
8
Reaction score
4
Credits
0
Sorry for asking the wrong question. Offcourse i went a solotion for my problem. I run fix
sudo apt --fix-broken install several times but for the moment i'am not further than a whole list of options. the same result as i put only apt.
Code:
$ sudo apt --fix-broken install
apt
Usage: apt command [options]
       apt help command [options]

Commands:
  add-repository   - Add entries to apt sources.list
  autoclean        - Erase old downloaded archive files
  autoremove       - Remove automatically all unused packages
  build            - Build binary or source packages from sources
  build-dep        - Configure build-dependencies for source packages
  changelog        - View a package's changelog
  check            - Verify that there are no broken dependencies
  clean            - Erase downloaded archive files
  contains         - List packages containing a file
  content          - List files contained in a package
  deb              - Install a .deb package
  depends          - Show raw dependency information for a package
  dist-upgrade     - Upgrade the system by removing/installing/upgrading packages
  download         - Download the .deb file for a package
  edit-sources     - Edit /etc/apt/sources.list with your preferred text editor
  dselect-upgrade  - Follow dselect selections
  full-upgrade     - Same as 'dist-upgrade'
  held             - List all held packages
  help             - Show help for a command
  hold             - Hold a package
  install          - Install/upgrade packages
  list             - List packages based on package names
  policy           - Show policy settings
  purge            - Remove packages and their configuration files
  recommends       - List missing recommended packages for a particular package
  rdepends         - Show reverse dependency information for a package
  reinstall        - Download and (possibly) reinstall a currently installed package
  remove           - Remove packages
  search           - Search for a package by name and/or expression
  show             - Display detailed information about a package
  showhold         - Same as 'held'
  source           - Download source archives
  sources          - Same as 'edit-sources'
  unhold           - Unhold a package
  update           - Download lists of new/upgradable packages
  upgrade          - Perform a safe upgrade
  version          - Show the installed version of a package
 
Last edited:
OP
M

minty

New Member
Joined
Jul 21, 2019
Messages
8
Reaction score
4
Credits
0
After this command i discovered more problems

sudo dpkg --configure -a


Code:
 libwebkit2gtk-4.0-37:amd64
 libgstreamer-gl1.0-0:amd64
 vlc
 vlc-plugin-qt:amd64
 vlc-plugin-video-output:amd64
 mysql-server-5.7

Not only the package manager is broken but also VLC and Mysql. I see i can't run my Wordpress projects on my localhost because the Mysql errors.
 
OP
M

minty

New Member
Joined
Jul 21, 2019
Messages
8
Reaction score
4
Credits
0
Thanks TechnoJunky. You saved the day. That was a great link.

sudo apt-get install -f did the job.

After that my Mysql was working again and also i was able too run the rest of the upgrade.
Then i restarted the system and the gui Software manager was also working.
Then i was able too get the last drivers for my GPU. (That was the thing it all started and i discovered it was absolute nessacary too upgrade my system)
 

jam796

New Member
Joined
Jun 18, 2020
Messages
1
Reaction score
1
Credits
6
Amazing help... I looked everywhere but this little command saved my day

sudo apt-get install -f
 

LHCper

New Member
Joined
Jun 28, 2020
Messages
1
Reaction score
0
Credits
6
I got similar problems when installing docker, but this thread helped me to resolve them. Thanks!
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top