Announcement

Collapse
No announcement yet.

Unmet dependencies during upgrade

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Unmet dependencies during upgrade

    When trying an upgrade I get 2 packages not upgraded.

    Code:
    $ sudo apt upgrade 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Entering ResolveByKeep 10%
    Dependencies are not satisfied for libkf5gapicore5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Keeping package libkf5gapicore5:amd64
    Dependencies are not satisfied for libkf5gapicore5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Package libkf5gapicore5:amd64 libkf5gapicore5:amd64 Depends on libkf5gapi-data [ amd64 ] < 5.3.1-0neon+16.04+build10 -> 17.08.0-0neon+16.04+xenial+build9 > ( oldlibs ) (= 5.3.1-0neon+16.04+build10)
    Keeping Package libkf5gapi-data:amd64 due to Depends
    Dependencies are not satisfied for libkpimgapi-data [ amd64 ] < none -> 17.08.0-0neon+16.04+xenial+build9 > ( libs )
    Keeping package libkpimgapi-data:amd64
    Dependencies are not satisfied for libkpimgapicore5 [ amd64 ] < none -> 17.08.0-0neon+16.04+xenial+build9 > ( libs )
    Keeping package libkpimgapicore5:amd64
    Dependencies are not satisfied for kdepim-runtime [ amd64 ] < 4:16.12.3-0neon+16.04+build30 -> 4:17.08.0-0neon+16.04+xenial+build17 > ( x11 )
    Keeping package kdepim-runtime:amd64
    Dependencies are not satisfied for libkpimgapicalendar5 [ amd64 ] < none -> 17.08.0-0neon+16.04+xenial+build9 > ( libs )
    Keeping package libkpimgapicalendar5:amd64
    Dependencies are not satisfied for libkpimgapicontacts5 [ amd64 ] < none -> 17.08.0-0neon+16.04+xenial+build9 > ( libs )
    Keeping package libkpimgapicontacts5:amd64
    Dependencies are not satisfied for libkpimgapitasks5 [ amd64 ] < none -> 17.08.0-0neon+16.04+xenial+build9 > ( libs )
    Keeping package libkpimgapitasks5:amd64
    Calculating upgrade... Done
    The following packages have been kept back:
    kdepim-runtime libkf5gapi-data
    0 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade.
    When I try to update libkf5gapi-data I get the following:
    Code:
    $ sudo apt upgrade libkf5gapi-data
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Entering ResolveByKeep 10%
    Dependencies are not satisfied for libkf5gapicore5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Keeping package libkf5gapicore5:amd64
    Dependencies are not satisfied for libkf5gapicore5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Package libkf5gapicore5:amd64 libkf5gapicore5:amd64 Depends on libkf5gapi-data [ amd64 ] < 5.3.1-0neon+16.04+build10 -> 17.08.0-0neon+16.04+xenial+build9 > ( oldlibs ) (= 5.3.1-0neon+16.04+build10)
    Keeping Package libkf5gapi-data:amd64 due to Depends
    Dependencies are not satisfied for libkf5gapicore5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapicore5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapicore5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapicore5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapitasks5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Keeping package libkf5gapitasks5:amd64
    Dependencies are not satisfied for libkf5gapitasks5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Package libkf5gapitasks5:amd64 libkf5gapitasks5:amd64 Depends on libkf5gapi-data [ amd64 ] < 5.3.1-0neon+16.04+build10 -> 17.08.0-0neon+16.04+xenial+build9 > ( oldlibs ) (= 5.3.1-0neon+16.04+build10)
    Keeping Package libkf5gapi-data:amd64 due to Depends
    Dependencies are not satisfied for libkf5gapitasks5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapitasks5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapitasks5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapitasks5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapicalendar5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Keeping package libkf5gapicalendar5:amd64
    Dependencies are not satisfied for libkf5gapicalendar5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Package libkf5gapicalendar5:amd64 libkf5gapicalendar5:amd64 Depends on libkf5gapi-data [ amd64 ] < 5.3.1-0neon+16.04+build10 -> 17.08.0-0neon+16.04+xenial+build9 > ( oldlibs ) (= 5.3.1-0neon+16.04+build10)
    Keeping Package libkf5gapi-data:amd64 due to Depends
    Dependencies are not satisfied for libkf5gapicalendar5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapicalendar5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapicalendar5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapicalendar5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapicontacts5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Keeping package libkf5gapicontacts5:amd64
    Dependencies are not satisfied for libkf5gapicontacts5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Package libkf5gapicontacts5:amd64 libkf5gapicontacts5:amd64 Depends on libkf5gapi-data [ amd64 ] < 5.3.1-0neon+16.04+build10 -> 17.08.0-0neon+16.04+xenial+build9 > ( oldlibs ) (= 5.3.1-0neon+16.04+build10)
    Keeping Package libkf5gapi-data:amd64 due to Depends
    Dependencies are not satisfied for libkf5gapicontacts5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapicontacts5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapicontacts5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Dependencies are not satisfied for libkf5gapicontacts5 [ amd64 ] < 5.3.1-0neon+16.04+build10 > ( libs )
    Calculating upgrade... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies.
    libkf5gapicalendar5 : Depends: libkf5gapi-data (= 5.3.1-0neon+16.04+build10) but 17.08.0-0neon+16.04+xenial+build9 is to be installed
    libkf5gapicontacts5 : Depends: libkf5gapi-data (= 5.3.1-0neon+16.04+build10) but 17.08.0-0neon+16.04+xenial+build9 is to be installed
    libkf5gapicore5 : Depends: libkf5gapi-data (= 5.3.1-0neon+16.04+build10) but 17.08.0-0neon+16.04+xenial+build9 is to be installed
    libkf5gapitasks5 : Depends: libkf5gapi-data (= 5.3.1-0neon+16.04+build10) but 17.08.0-0neon+16.04+xenial+build9 is to be installed
    E: Broken packages
    I have tried apt-get autoclean, apt-get clean, and apt-get install -f. How do I get it to update?

    #2
    That usually means you need to do a dist-upgrade:
    Code:
    sudo apt dist-upgrade

    Comment


      #3
      Originally posted by whatthefunk View Post
      That usually means you need to do a dist-upgrade:
      Code:
      sudo apt dist-upgrade
      ,,,,,,,,,well the dist-upgrade is for apt-get ,,,,,,apt uses the full-upgrade for the same function...

      so it's either

      Code:
      sudo apt-get update
      followed by
      Code:
      sudo apt-get dist-upgrade
      or

      Code:
      sudo apt update
      followed by
      Code:
      sudo apt full-upgrade
      VINNY
      i7 4core HT 8MB L3 2.9GHz
      16GB RAM
      Nvidia GTX 860M 4GB RAM 1152 cuda cores

      Comment


        #4
        I used sudo apt dist-upgrade

        After that I got 87 packages to upgrade. Once upgraded I rebooted and now this problem is fixed.

        Comment


          #5
          Originally posted by Tahaan View Post
          I used sudo apt dist-upgrade

          After that I got 87 packages to upgrade. Once upgraded I rebooted and now this problem is fixed.
          well perhaps their is cross compatibility ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,but from "man apt"

          Code:
              update (apt-get(8))
                   update is used to download package information from all configured sources. Other commands operate on this
                   data to e.g. perform package upgrades or search in and display details about all packages available for
                   installation.
          
               upgrade (apt-get(8))
                   upgrade is used to install available upgrades of all packages currently installed on the system from the
                   sources configured via sources.list(5). New packages will be installed if required to statisfy
                   dependencies, but existing packages will never be removed. If an upgrade for a package requires the remove
                   of an installed package the upgrade for this package isn't performed.
          
               full-upgrade (apt-get(8))
                   full-upgrade performs the function of upgrade but will remove currently installed packages if this is
                   needed to upgrade the system as a whole.
          and "man apt-get"

          Code:
               update
                   update is used to resynchronize the package index files from their sources. The indexes of available
                   packages are fetched from the location(s) specified in /etc/apt/sources.list. For example, when using a
                   Debian archive, this command retrieves and scans the Packages.gz files, so that information about new and
                   updated packages is available. An update should always be performed before an upgrade or dist-upgrade.
                   Please be aware that the overall progress meter will be incorrect as the size of the package files cannot
                   be known in advance.
          
               upgrade
                   upgrade is used to install the newest versions of all packages currently installed on the system from the
                   sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are
                   retrieved and upgraded; under no circumstances are currently installed packages removed, or packages not
                   already installed retrieved and installed. New versions of currently installed packages that cannot be
                   upgraded without changing the install status of another package will be left at their current version. An
                   update must be performed first so that apt-get knows that new versions of packages are available.
          
               dist-upgrade
                   dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing
                   dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will
                   attempt to upgrade the most important packages at the expense of less important ones if necessary. The
                   dist-upgrade command may therefore remove some packages. The /etc/apt/sources.list file contains a list of
                   locations from which to retrieve desired package files. See also apt_preferences(5) for a mechanism for
                   overriding the general settings for individual packages.
          and have a look @hear

          https://www.kubuntuforums.net/showth...l=1#post404487

          VINNY
          Last edited by vinnywright; Sep 04, 2017, 09:24 AM.
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment


            #6
            I prefer to stay with apt-get. The documentation for apt is a bit fuzzy last time I looked. And the much touted saving in typing is meaningless since most of us will have set up aliases
            Kubuntu 20.04

            Comment

            Working...
            X