From 2839dc3c29a36e8a0b1045fe97f710a27d635ebc Mon Sep 17 00:00:00 2001 From: julienmalik Date: Tue, 10 Nov 2015 12:52:00 +0100 Subject: [PATCH] [fix] Explicitely install postfix On systems where exim4 is installed, the installation of yunohost package fails with the following error message : Reading package lists... Building dependency tree... Reading state information... 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: yunohost : Depends: postfix-ldap but it is not going to be installed Depends: postfix-policyd-spf-perl but it is not going to be installed Depends: postfix-pcre but it is not going to be installed Recommends: ntp but it is not going to be installed E: Unable to correct problems, you have held broken packages. Explicitely requesting an installation of postfix fixes the issue and triggers the removal of exim4. --- install_yunohostv2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_yunohostv2 b/install_yunohostv2 index 94d595d..3b506bb 100755 --- a/install_yunohostv2 +++ b/install_yunohostv2 @@ -281,7 +281,7 @@ install_yunohost_packages() { apt_get_wrapper \ -o Dpkg::Options::="--force-confold" \ -y --force-yes install \ - yunohost + yunohost postfix fi }