Bug #60295

Dependencies error scalix-server.xxx_amd64.deb8.deb package

Added by Alexey Bobyr about 2 years ago. Updated 19 days ago.

Status:AnsweredStart date:03/11/2016
Priority:NormalDue date:
Assignee:Danny T% Done:
0%
Category:Scalix Server
Target version:12.7.1
Operation System:Debian 8
Milestones:

Description

root@test:/home/xxxx# ./deb_installer.sh 

----------------------------------------------------------------------
Scalix Debian installer. Please take a look at
http://www.scalix.com/wiki/index.php?title=Manual_Installation
to make sure your system fullfills all necessary requirements.
----------------------------------------------------------------------

System platform: Debian GNU/Linux 8.3 (jessie)
192.168.122.25  test.deb83x64.com       test
Force add i386 architecture if needed
......
Fetched 2760 B in 5s (539 B/s)

Collect dependencies for /home/pussbb/scalix-server_12.6.0.14871_amd64.deb8.deb
Before installing Scalix you must install following dependencies

 libasn1-8-heimdal:i386 libc6-i686:i386 libc6:i386 libcomerr2:i386 libffi6:i386 libgcc1:i386 libglib2.0-0:i386 libgmp10:i386 libgnutls-deb0-28:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhogweed2:i386 libhx509-5-heimdal:i386 libkrb5-26-heimdal:i386 libldap-2.4-2:i386 liblzma5:i386 libmilter1.0.1:i386 libncurses5:i386 libnettle4:i386 libp11-kit0:i386 libpcre3:i386 libroken18-heimdal:i386 libsasl2-2:i386 libsqlite3-0:i386 libssl1.0.0:i386 libstdc++6:i386 libtasn1-6:i386 libtinfo5:i386 libwind0-heimdal:i386 libxml2:i386 zlib1g:i386 ed:i386 gawk mailutils:i386 openssl:i386 perl:all procps libsasl2-modules:i386 sendmail sendmail-cf util-linux w3m

The following NEW packages will be installed:
  cron:i386{ab} ed:i386 exim4-base:i386{ab} exim4-daemon-light:i386{ab} .........
The following packages have unmet dependencies:
 exim4-base : Conflicts: exim4-base:i386 but 4.84-8+deb8u2 is to be installed.
 exim4-base:i386 : Depends: exim4-config:i386 (>= 4.82) which is a virtual package. or
                            exim4-config-2:i386 which is a virtual package.
                   Conflicts: exim4-base but 4.84-8+deb8u2 is installed.
 exim4-daemon-light : Conflicts: mail-transport-agent which is a virtual package.
                      Conflicts: exim4-daemon-light:i386 but 4.84-8+deb8u2 is to be installed.
 exim4-daemon-light:i386 : Conflicts: mail-transport-agent which is a virtual package.
                           Conflicts: exim4-daemon-light but 4.84-8+deb8u2 is installed.
 exim4-config : Conflicts: sendmail-bin but 8.14.4-8 is to be installed.
 sendmail-bin : Conflicts: mail-transport-agent which is a virtual package.
                Conflicts: mail-transport-agent:i386 which is a virtual package.
 openssl : Conflicts: openssl:i386 but 1.0.1k-3+deb8u4 is to be installed.
 openssl:i386 : Conflicts: openssl but 1.0.1k-3+deb8u4 is installed.
 cron : Conflicts: cron:i386 but 3.0pl1-127+deb8u1 is to be installed.
 cron:i386 : Conflicts: cron but 3.0pl1-127+deb8u1 is installed.

Exim4 is going to install but it will create endless loop of removing adding packages.

Dependencies that collect debian installer it seems correct.

  libasn1-8-heimdal:i386 libc6-i686:i386 libc6:i386 libcomerr2:i386 libffi6:i386 libgcc1:i386 libglib2.0-0:i386 libgmp10:i386 libgnutls-deb0-28:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhogweed2:i386 libhx509-5-heimdal:i386 libkrb5-26-heimdal:i386 libldap-2.4-2:i386 liblzma5:i386 libmilter1.0.1:i386 libncurses5:i386 libnettle4:i386 libp11-kit0:i386 libpcre3:i386 libroken18-heimdal:i386 libsasl2-2:i386 libsqlite3-0:i386 libssl1.0.0:i386 libstdc++6:i386 libtasn1-6:i386 libtinfo5:i386 libwind0-heimdal:i386 libxml2:i386 zlib1g:i386 ed:i386 gawk mailutils:i386 openssl:i386 perl:all procps libsasl2-modules:i386 sendmail sendmail-cf util-linux w3m

As I can see there are no exim4* or cron:i386

but if I execute manually command

root@test:/home/xxx# apt install  libasn1-8-heimdal:i386 libc6-i686:i386 libc6:i386 libcomerr2:i386 libffi6:i386 libgcc1:i386 libglib2.0-0:i386 libgmp10:i386 libgnutls-deb0-28:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhogweed2:i386 libhx509-5-heimdal:i386 libkrb5-26-heimdal:i386 libldap-2.4-2:i386 liblzma5:i386 libmilter1.0.1:i386 libncurses5:i386 libnettle4:i386 libp11-kit0:i386 libpcre3:i386 libroken18-heimdal:i386 libsasl2-2:i386 libsqlite3-0:i386 libssl1.0.0:i386 libstdc++6:i386 libtasn1-6:i386 libtinfo5:i386 libwind0-heimdal:i386 libxml2:i386 zlib1g:i386 ed:i386 gawk mailutils:i386 openssl:i386 perl:all procps libsasl2-modules:i386 sendmail sendmail-cf util-linux w3m
Reading package lists... Done
Building dependency tree       
Reading state information... Done
procps is already the newest version.
util-linux is already the newest version.
w3m is already the newest version.
perl is already the newest version.
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:
 mailutils:i386 : Depends: default-mta:i386 or
                           mail-transport-agent:i386
 sendmail : Depends: sendmail-bin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

or using aptitude (which is preferred for debian it's not using internal cache )

root@test:/home/pussbb# aptitude install  libasn1-8-heimdal:i386 libc6-i686:i386 libc6:i386 libcomerr2:i386 libffi6:i386 libgcc1:i386 libglib2.0-0:i386 libgmp10:i386 libgnutls-deb0-28:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhogweed2:i386 libhx509-5-heimdal:i386 libkrb5-26-heimdal:i386 libldap-2.4-2:i386 liblzma5:i386 libmilter1.0.1:i386 libncurses5:i386 libnettle4:i386 libp11-kit0:i386 libpcre3:i386 libroken18-heimdal:i386 libsasl2-2:i386 libsqlite3-0:i386 libssl1.0.0:i386 libstdc++6:i386 libtasn1-6:i386 libtinfo5:i386 libwind0-heimdal:i386 libxml2:i386 zlib1g:i386 ed:i386 gawk mailutils:i386 openssl:i386 perl:all procps libsasl2-modules:i386 sendmail sendmail-cf util-linux w3m
The following NEW packages will be installed:
  cron:i386{ab} ed:i386 exim4-base:i386{ab} exim4-daemon-light:i386{ab} gawk gcc-4.9-base:i386{a} guile-2.0-libs:i386{a} libasn1-8-heimdal:i386 libaudit1:i386{a} 
  libbz2-1.0:i386{a} libc6:i386 libc6-i686:i386 libcomerr2:i386 libdb5.3:i386{a} libexpat1:i386{a} libffi6:i386 libfribidi0:i386{a} libgc1c2:i386{a} libgcc1:i386 
  libglib2.0-0:i386 libgmp10:i386 libgnutls-deb0-28:i386 libgpm2:i386{a} libgsasl7:i386{a} libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 
  libheimntlm0-heimdal:i386 libhogweed2:i386 libhx509-5-heimdal:i386 libidn11:i386{a} libkrb5-26-heimdal:i386 libkyotocabinet16:i386{a} libldap-2.4-2:i386 
  libltdl7:i386{a} liblzma5:i386 liblzo2-2:i386{a} libmailutils4:i386{a} libmilter1.0.1:i386 libmpfr4{a} libmysqlclient18:i386{a} libncurses5:i386 libncursesw5:i386{a} 
  libnettle4:i386 libntlm0:i386{a} libp11-kit0:i386 libpam0g:i386{a} libpcre3:i386 libpython2.7:i386{a} libpython2.7-minimal:i386{a} libpython2.7-stdlib:i386{a} 
  libreadline6:i386{a} libroken18-heimdal:i386 libsasl2-2:i386 libsasl2-modules:i386 libsasl2-modules-db:i386{a} libselinux1:i386{a} libsqlite3-0:i386 libssl1.0.0:i386 
  libstdc++6:i386 libtasn1-6:i386 libtinfo5:i386 libunistring0:i386{a} libwind0-heimdal:i386 libwrap0:i386{a} libxml2:i386 mailutils:i386 mailutils-common{a} make{a} 
  mysql-common{a} openssl:i386{b} sendmail sendmail-base{a} sendmail-bin{ab} sendmail-cf sensible-mda{a} zlib1g:i386 
0 packages upgraded, 77 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.5 MB of archives. After unpacking 94.7 MB will be used.
The following packages have unmet dependencies:
 exim4-base : Conflicts: exim4-base:i386 but 4.84-8+deb8u2 is to be installed.
 exim4-base:i386 : Depends: exim4-config:i386 (>= 4.82) which is a virtual package. or
                            exim4-config-2:i386 which is a virtual package.
                   Conflicts: exim4-base but 4.84-8+deb8u2 is installed.
 exim4-daemon-light : Conflicts: mail-transport-agent which is a virtual package.
                      Conflicts: exim4-daemon-light:i386 but 4.84-8+deb8u2 is to be installed.
 exim4-daemon-light:i386 : Conflicts: mail-transport-agent which is a virtual package.
                           Conflicts: exim4-daemon-light but 4.84-8+deb8u2 is installed.
 exim4-config : Conflicts: sendmail-bin but 8.14.4-8 is to be installed.
 sendmail-bin : Conflicts: mail-transport-agent which is a virtual package.
                Conflicts: mail-transport-agent:i386 which is a virtual package.
 openssl : Conflicts: openssl:i386 but 1.0.1k-3+deb8u4 is to be installed.
 openssl:i386 : Conflicts: openssl but 1.0.1k-3+deb8u4 is installed.
 cron : Conflicts: cron:i386 but 3.0pl1-127+deb8u1 is to be installed.
 cron:i386 : Conflicts: cron but 3.0pl1-127+deb8u1 is installed.
The following actions will resolve these dependencies:

      Remove the following packages:                                              
1)      ca-certificates                                                           
2)      exim4                                                                     
3)      exim4-base                                                                
4)      exim4-config                                                              
5)      exim4-daemon-light                                                        
6)      liblwp-protocol-https-perl                                                
7)      libwww-perl                                                               
8)      libxml-parser-perl                                                        
9)      libxml-sax-expat-perl                                                     
10)     openssl                                                                   

      Keep the following packages at their current version:                       
11)     cron:i386 [Not Installed]                                                 
12)     exim4-base:i386 [Not Installed]                                           
13)     exim4-daemon-light:i386 [Not Installed]                                   
14)     mailutils:i386 [Not Installed]                                            

      Leave the following dependencies unresolved:                                
15)     libhtml-tree-perl recommends libwww-perl                                  
16)     libxml-sax-perl recommends libxml-sax-expat-perl                          
17)     w3m recommends ca-certificates                                            
18)     wget recommends ca-certificates                                           
19)     cron:i386 recommends exim4:i386 | postfix:i386 | mail-transport-agent:i386
20)     libcurl3-gnutls recommends ca-certificates                                

Accept this solution? [Y/n/q/?] 

Can you please check dependency list for Debian 8.3 (jessie)

History

#1 Updated by Alexey Bobyr about 2 years ago

If go throw all steps dependency resolving using debian installer
I will get the following error

Selecting previously unselected package scalix-server.
mailutils is not installed.

dpkg: error processing archive /home/pussbb/scalix-server_12.6.0.14871_amd64.deb8.deb (--install):
pre-dependency problem - not installing scalix-server
Errors were encountered while processing:
/home/pussbb/scalix-server_12.6.0.14871_amd64.deb8.deb

#2 Updated by Alexey Bobyr about 2 years ago

or simmillar to that error

Alexey Bobyr wrote:

If go throw all steps dependency resolving using debian installer
I will get the following error

[...]

#3 Updated by Danny T almost 2 years ago

  • Status changed from New to Answered

As agreed, 12.6.0 only supports deb7 which is on LTS until May 2018.
It is more likely that deb8 will be supported by Scalix 13 in 64bit.

#4 Updated by Alexey Bobyr about 1 month ago

see #61116 we can make sendmail dependency optional and then issue will gone.
and debian customers can use postfix

#5 Updated by Danny T about 1 month ago

  • Target version changed from Scalix 12.6 to 12.7.1

Will try to find a Deb 8 VM to have a go at building 12.7.1 for it.

Will also plan to remove sendmail dependency from the scalix-server package as well (and leave it to installer to suggest sendmail or postfix).

Would we want to do the same with Ubuntu 16 LTS (current official server build is for Ubuntu 14 LTS)?

#6 Updated by Alexey Bobyr about 1 month ago

Would we want to do the same with Ubuntu 16 LTS (current official server build is for Ubuntu 14 LTS)?

well for now nobody approved updating supported version or not for debian/ubuntu .
see #61106.

for now just updated this rm entry with new information that I had.

as for me it would be better to use debian 9 . Debian 8 is not mainline and if introduce new support version then its better to use debian 9.

Well you can remove sendmail dependencies from a package,
try to use latest libssl - after updating system(sudo apt full-upgrade(dist-upgrade)) at ubuntu 14.04 there are newer libssl library

higher versions would require to change following packages(can be not full)

libgcrypt11-fake (libgcrypt20)
libgnutls26-fake(libgnutls30)
libssl1.0.0-fake..

but I do not know if we must provide debian 8. But if debian 8 or later is going to be supported by scalix ,
supported ubuntu version must be increased also .

#7 Updated by Alexey Bobyr 20 days ago

  • Parent task set to #61106

current issues during instalation.

Installing Scalix server core
executing command dpkg -i  "/home/debian/scalix-12.7.1-GA-deb/scalix-server_12.7.1.15008_amd64.deb8.deb" 
(Reading database ... 41329 files and directories currently installed.)
Preparing to unpack .../scalix-server_12.7.1.15008_amd64.deb8.deb ...
Unpacking scalix-server (12.7.1.15008) ...
Setting up scalix-server (12.7.1.15008) ...
Restarting Scalix LDAP mapper (ldapmapper): /var/lib/dpkg/info/scalix-server.postinst: line 93: 12916 Terminated              /etc/init.d/ldapmapper restart
Processing triggers for systemd (215-17+deb8u7) ...

Service Free Busy Service set up
executing /opt/scalix/bin/queue.manager -iu

Done
NOTE: The following line has been added to /etc/services. If you run
      Network Information Services (ypbind/ypserv) you should update
      your server accordingly.
      LINE ADDED:-
       scalixual  5729/tcp    #Scalix UAL port.

NOTE: The following line has been added to /etc/services. If you run
      Network Information Services (ypbind/ypserv) you should update
      your server accordingly.
      LINE ADDED:-
       x500ms   5757/udp    # Scalix X500 Directory Server.

NOTE: The following line has been added to /etc/services. If you run
      Network Information Services (ypbind/ypserv) you should update
      your server accordingly.
      LINE ADDED:-
       scalixns   5766/udp    # Scalix NewMail Server.

insserv: Service sendmail has to be enabled to start service scalix
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
NOTE: Creating a new Scalix default name lookup Directory called system

Added new Directory
Modified Directory
Adding any configured local users into the new default name lookup Directory
This may take some time, Please Wait ...
nabling 9 subsystem(s).
Milter Server               Stopped
Directory Relay Server      Started
Notification Server         Started
Database Monitor            Started
LDAP Daemon                 Started
IMAP Server Daemon          Started
Mime Browser Controller     Started
Event Server                Started
Free Busy Service           Started
SMTP Relay                  Started
[OM 10440] omrc : Service startup has been disabled.
Scalix services NOT started.

omadmidp: Unix IDs pool 66000..66099 successfully added
omaddu : The user was added successfully
omconfenu : Error Notification user correctly configured
The user's limits were modified successfully
omaddu : The user was added successfully
The public distribution list was added successfully
The public distribution list was added successfully
The public distribution list was added successfully
The public distribution list was added successfully
Enabling 14 subsystem(s).

#8 Updated by Danny T 20 days ago

  • Assignee changed from ServerDevsGroup to Danny T

I am happy for change the server package control file to whatever that is required.
Just let me know if the current 12.7.1 settings are not correct.

#9 Updated by Alexey Bobyr 19 days ago

Lets do in following way.
I will try to get everything work (with hacks at installer side or what ever) sendmail/postfix and when I will have full list of workaround that are working for sendmail/postfix I will write about them and then we will think what needs to be implemented in deb pacakge or ...

Also available in: Atom PDF