unmet dependencies after upgrade

minty

New Member
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.
 


minty

New Member
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:

minty

New Member
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.
 

minty

New Member
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)
 

Members online


Top