Upgrade to KC 8.7 on Debian 8.11 dependencies problem on kopano-search



  • Seems these packages behave a bit weird. Seems kopano-server-packages will be removed because of missing dependencies on kopano-search. But installing kopano-server-packages seems to work just fine.

    apt-get -s -o Debug::pkgProblemResolver=yes dist-upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Starting pkgProblemResolver with broken count: 1
    Starting 2 pkgProblemResolver with broken count: 1
    Investigating (0) kopano-search [ amd64 ] < 8.6.9.0-0+24.1 -> 8.7.0.0-0+1.1 > ( mail )
    Broken kopano-search:amd64 Depends on python3-kopano-search [ amd64 ] < none -> 8.7.0.0-0+1.1 > ( python ) (= 8.7.0.0-0+1.1)
      Considering python3-kopano-search:amd64 0 as a solution to kopano-search:amd64 1
      Holding Back kopano-search:amd64 rather than change python3-kopano-search:amd64
    Broken kopano-search:amd64 Depends on python-kopano-search [ amd64 ] < none -> 8.7.0.0-0+1.1 > ( python ) (= 8.7.0.0-0+1.1)
      Considering python-kopano-search:amd64 0 as a solution to kopano-search:amd64 1
      Holding Back kopano-search:amd64 rather than change python-kopano-search:amd64
      Or group keep for kopano-search:amd64
    Investigating (0) kopano-server-packages [ amd64 ] < 8.6.9.0-0+24.1 -> 8.7.0.0-0+1.1 > ( mail )
    Broken kopano-server-packages:amd64 Depends on kopano-search [ amd64 ] < 8.6.9.0-0+24.1 -> 8.7.0.0-0+1.1 > ( mail ) (= 8.7.0.0-0+1.1)
      Considering kopano-search:amd64 1 as a solution to kopano-server-packages:amd64 0
      Removing kopano-server-packages:amd64 rather than change kopano-search:amd64
     Try to Re-Instate (1) kopano-search:amd64
    Done
    The following package was automatically installed and is no longer required:
      kopano-python-utils
    Use 'apt-get autoremove' to remove it.
    Done
    The following packages will be REMOVED:
      kopano-server-packages
    The following NEW packages will be installed:
      kopano-python-utils libgsoap-kopano-2.8.74 libjsoncpp1 libkcoidc0 libkcpyplug0 python3-kopano python3-kopano-utils python3-mapi
    The following packages have been kept back:
      kopano-search
    The following packages will be upgraded:
      kopano-backup kopano-client kopano-common kopano-contacts kopano-dagent kopano-gateway kopano-ical kopano-lang kopano-migration-pst kopano-monitor kopano-server kopano-spooler kopano-utils libkcarchiver0 libkcarchivercore0 libkcfreebusy0 libkcicalmapi0 libkcinetmapi0 libkcrosie0 libkcserver0 libkcsoap0 libkcutil0 libmapi1 php5-mapi python-kopano python-mapi
    26 upgraded, 8 newly installed, 1 to remove and 1 not upgraded.
    Remv kopano-server-packages [8.6.9.0-0+24.1]
    Inst libjsoncpp1 (1.7.2-1~bpo8+1 Kopano Repository:stable [amd64])
    Inst libkcutil0 [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Inst libmapi1 [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Inst libkcarchiver0 [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Inst libkcarchivercore0 [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Inst libkcfreebusy0 [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Inst libkcicalmapi0 [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Inst libkcrosie0 [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Inst libkcinetmapi0 [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Inst kopano-dagent [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst php5-mapi [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst kopano-contacts [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst libkcpyplug0 (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst python3-mapi (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst kopano-spooler [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst kopano-gateway [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst python-mapi [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst kopano-ical [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst kopano-utils [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst libgsoap-kopano-2.8.74 (2.8.74-0+1.1 Kopano Repository:stable [amd64]) []
    Inst libkcsoap0 [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst kopano-lang [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [all]) []
    Inst kopano-monitor [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst kopano-client [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst kopano-server [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst kopano-common [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64]) []
    Inst python3-kopano (8.7.0.0-0+1.1 Kopano Repository:stable [all]) []
    Inst python3-kopano-utils (8.7.0.0-0+1.1 Kopano Repository:stable [all]) []
    Inst libkcoidc0 (0.4.4-0+1.1 Kopano Repository:stable [amd64])
    Inst libkcserver0 [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Inst kopano-backup [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Inst kopano-migration-pst [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Inst kopano-python-utils (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Inst python-kopano [8.6.9.0-0+24.1] (8.7.0.0-0+1.1 Kopano Repository:stable [all])
    Conf libjsoncpp1 (1.7.2-1~bpo8+1 Kopano Repository:stable [amd64])
    Conf libkcutil0 (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf libmapi1 (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf libkcarchiver0 (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf libkcarchivercore0 (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf libkcfreebusy0 (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf libkcicalmapi0 (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf libkcrosie0 (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf libkcinetmapi0 (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf kopano-common (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf libgsoap-kopano-2.8.74 (2.8.74-0+1.1 Kopano Repository:stable [amd64])
    Conf libkcsoap0 (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf kopano-lang (8.7.0.0-0+1.1 Kopano Repository:stable [all])
    Conf kopano-client (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf libkcpyplug0 (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf python3-mapi (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf python3-kopano (8.7.0.0-0+1.1 Kopano Repository:stable [all])
    Conf python3-kopano-utils (8.7.0.0-0+1.1 Kopano Repository:stable [all])
    Conf kopano-dagent (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf kopano-contacts (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf php5-mapi (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf kopano-spooler (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf kopano-gateway (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf python-mapi (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf kopano-ical (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf kopano-utils (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf kopano-monitor (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf libkcoidc0 (0.4.4-0+1.1 Kopano Repository:stable [amd64])
    Conf libkcserver0 (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf kopano-server (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf kopano-backup (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf kopano-migration-pst (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf kopano-python-utils (8.7.0.0-0+1.1 Kopano Repository:stable [amd64])
    Conf python-kopano (8.7.0.0-0+1.1 Kopano Repository:stable [all])```

  • Kopano

    Sounds strange. On Debian 8 he should prefer the python-kopano-search package.

    Package: kopano-search
    Source: kopano
    Version: 8.7.0.0-0+1.1
    Architecture: amd64
    Maintainer: Kopano Development <development@kopano.io>
    Installed-Size: 51
    Depends: python3-kopano-search (= 8.7.0.0-0+1.1) | python-kopano-search (= 8.7.0.0-0+1.1), lsb-base, coreutils (>= 5.93), bash (>= 3.0), gawk, w3m, xsltproc, poppler-utils, unzip, file, catdoc, xapian-tools
    Breaks: kopano-server (<< 8.6.80.621)


  • I have this issue on more than one server running Kopano on Debian 8.11. Looks like kopano-search depends on python3-kopano-search which depends on python3-xapian which doesn’t look like being available on Debian 8.


  • Kopano

    @klausade said in Upgrade to KC 8.7 on Debian 8.11 dependencies problem on kopano-search:

    I have this issue on more than one server running Kopano on Debian 8.11. Looks like kopano-search depends on python3-kopano-search which depends on python3-xapian which doesn’t look like being available on Debian 8.

    kopano-search depends on either python3-kopano-search or python-kopano-search (the latter should be used on Debian 8).



  • @longsleep said in Upgrade to KC 8.7 on Debian 8.11 dependencies problem on kopano-search:

    kopano-search depends on either python3-kopano-search or python-kopano-search (the latter should be used on Debian 8).

    Yeah, apt-cache show also tells me that, but, it still prefers to use python3-kopano-search. We will just use this as an excuse to upgrade the servers to Debian 9, long overdue anyway.


  • Kopano

    @klausade I just checked and the dependencies resolve just fine on fresh install on Debian 8 - so i do not see why it would not work on upgrade as well. Does it also refuse to upgrade if you do it via apt-get install -s kopano-server-packages ?

    Update: Just created a test system, and indeed see that apt is choosing to hold back search on dist-upgrade. So for now a possible workaround is to get a fully upgraded system is via apt-get install kopano-server-packages.



  • @longsleep said in Upgrade to KC 8.7 on Debian 8.11 dependencies problem on kopano-search:

    apt-get install -s kopano-server-packages

    Yes, this was one workaround we also identified, but better would of course be that the correct dependencies automatically would have been chosen.


Log in to reply