kopano-webapp-nginx can not be installed
-
Hi,
On debian 10 i can not seem to install kopano-webapp-nginx. I want to change the installation. From apache2 to nginx and php-fpm. If i try to install the package i get this error:
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:
kopano-webapp-nginx : Depends: kopano-webapp-common (>= 3.5.2+dfsg1-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.How can i fix this. I use the nightly build packages.
-
@ckruijntjens said in kopano-webapp-nginx can not be installed:
+dfsg1-1
from the version number this seems to be a package from the Debian repository instead of one of ours. it cannot be recommended to mix these as they have incompatible dependency trees.
-
Hi can i disable the debian packages somehow?
-
@ckruijntjens I would imagine that you can use apt preferences to prevent the Debian packages from being installed. See https://www.tecmint.com/disable-lock-blacklist-package-updates-ubuntu-debian-apt/ for some examples.
-
hi thank you. is there also a way to find all kopano debian packages easily?
-
in what package is kopano-webapp-common at the community version? (nghtly builds)
-
@ckruijntjens said in kopano-webapp-nginx can not be installed:
is there also a way to find all kopano debian packages easily?
do you mean like this? https://packages.debian.org/search?keywords=kopano&searchon=names&suite=stable§ion=all
@ckruijntjens said in kopano-webapp-nginx can not be installed:
in what package is kopano-webapp-common at the community version?
I can’t say. I am not really involved in either. just saw the debian version tag and wanted to point that out.
PS: the following stored at
/etc/apt/preferences.d/kopano.pref
will prevent the installation of all packages related to Kopano through apt. Have not yet found a good way to combine this with a higher priority for our repo, though.Package: *kopano* Pin: origin * Pin-Priority: -1
PS2: the following gives packages from the kopano repositories a higher preference, while blocking packages that only exist in the Debian repositories:
# give packages from Kopano a higher priority Package: *kopano* Pin: origin "download.kopano.io" Pin-Priority: 600 Package: *z-push* Pin: origin "repo.z-hub.io" Pin-Priority: 600 # backlist packages that are only in the Debian repository Package: kopano-core kopano-l10n kopano-libs kopano-contacts kopano-webapp-apache2 kopano-webapp-common kopano-webapp-contactfax kopano-webapp-files kopano-webapp-folderwidgets kopano-webapp-lighttpd kopano-webapp-nginx z-push Pin: origin * Pin-Priority: -1
-
This is what i am trying.
Package: kopano
Pin: origin *
Pin-Priority: -1However only for the debian repository packages. not for the nightly builds
-
@ckruijntjens what you posted will only block the single package named Kopano. Have a look at my two snippets above.
-
thank you. However i have my own repo. how can i found out its name?
Pin: origin “download.kopano.io” this is not working for me?
-
@ckruijntjens that origin is the location of your repo. you can read that value in the output of
apt-cache policy
:Package files: 100 /var/lib/dpkg/status release a=now 500 http://repo.z-hub.io/z-push:/develop/Debian_9.0 ./ Packages release o=download.kopano.io,a=stable,n=stretch,l=Kopano Repository,c= origin repo.z-hub.io 500 https://download.kopano.io/supported/meet:/final/Debian_9.0 ./ Packages release o=download.kopano.io,a=stable,n=stretch,l=Kopano Repository,c= origin download.kopano.io 500 https://download.kopano.io/supported/smime:/final/Debian_9.0 ./ Packages release o=download.kopano.io,a=stable,n=stretch,l=Kopano Repository,c= origin download.kopano.io 500 https://download.kopano.io/supported/files:/final/Debian_9.0 ./ Packages release o=download.kopano.io,a=stable,n=stretch,l=Kopano Repository,c= origin download.kopano.io 500 https://download.kopano.io/supported/webmeetings:/final/Debian_9.0 ./ Packages release o=download.kopano.io,a=stable,n=stretch,l=Kopano Repository,c= origin download.kopano.io 500 https://download.kopano.io/supported/webapp:/final/Debian_9.0 ./ Packages release o=download.kopano.io,a=stable,n=stretch,l=Kopano Repository,c= origin download.kopano.io 500 https://download.kopano.io/supported/mdm:/final/Debian_9.0 ./ Packages release o=download.kopano.io,a=stable,n=stretch,l=Kopano Repository,c= origin download.kopano.io 500 https://download.kopano.io/supported/core:/final/Debian_9.0 ./ Packages release o=download.kopano.io,a=stable,n=stretch,l=Kopano Repository,c= origin download.kopano.io 500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=main,b=amd64 origin security.debian.org 500 http://deb.debian.org/debian stretch/main amd64 Packages release v=9.11,o=Debian,a=oldstable,n=stretch,l=Debian,c=main,b=amd64 origin deb.debian.org Pinned packages:
-