Fran, Thanks for confirming that this looks like the same issue I saw! One of the other Project Clearwater developers (Rob) has picked up fixing it.
I'm not quite sure why you had to do "apt-get install memcached" but once we've fixed the underlying issue this shouldn't be so important. Thanks again, Matt -----Original Message----- From: Francisco Javier Ros Muñoz [mailto:[email protected]] Sent: 29 December 2014 19:55 To: Matt Williams Cc: [email protected] Subject: Re: [Clearwater] Unresolved dependencies in sprout metapackage Hi Matt, El 29/12/2014, a las 19:30, Matt Williams escribió: > Fran, > > Thanks for reporting this! > > I've just tried following the standard manual install process > (https://github.com/Metaswitch/clearwater-docs/wiki/Manual-Install) > but hit a different issue: > https://github.com/Metaswitch/clearwater-infrastructure/issues/121 Yes, I think this is the same problem I faced (below you can find the whole output). However, rerunning 'apt-get install' as suggested in the link you mentioned doesn't solve the issue in my case. On the contrary, 'apt-get install memcached' before 'apt-get install sprout' did the trick :-) > (which I think is a regression introduced in > https://github.com/Metaswitch/clearwater-infrastructure/commit/f7c2b36bd3a7c17095439b00c38d4f04745b3157 > and I'll look at more on Friday). > > The issue that I hit looks as though memcached installed successfully, but > clearwater-memcached (which contains wrapper scripts to configure memcached > for Clearwater's use) failed. Is it possible that this is actually what > happened in your case? > >From the output, /usr/share/clearwater/infrastructure/scripts/memcached is >trying to use /etc/memcached.conf as input before it actually exists. > Would you be able to share the output from your install? > Of course: ubuntu@sprout-2:~$ dpkg -l | grep -i memcached ubuntu@sprout-2:~$ sudo DEBIAN_FRONTEND=noninteractive apt-get install sprout --yes Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: chronos clearwater-diags-monitor clearwater-infrastructure clearwater-log-cleanup clearwater-memcached clearwater-monit clearwater-socket-factory clearwater-tcp-scalability dnsmasq dnsmasq-base inotify-tools libboost-program-options1.46.1 libboost-regex1.46.1 libboost-system1.46.1 libboost-thread1.46.1 libcap2 libevent-core-2.0-5 libevent-pthreads-2.0-5 libicu48 libinotifytools0 libnetfilter-conntrack3 libopts25 libpgm-5.1-0 libsensors4 libzmq3 memcached ntp python-setuptools realpath sprout-base sprout-bgcf sprout-icscf sprout-libs sprout-mmtel-as sprout-scscf sysstat Suggested packages: clearwater-auto-config clearwater-auto-upgrade clearwater-secure-connections exim4 postfix mail-transport-agent lm-sensors libcache-memcached-perl libmemcached ntp-doc sprout-dbg clearwater-logging clearwater-snmp-handler-sprout clearwater-snmp-handler-alarm sprout-bgcf-dbg sprout-icscf-dbg sprout-mmtel-as-dbg sprout-scscf-dbg isag The following NEW packages will be installed: chronos clearwater-diags-monitor clearwater-infrastructure clearwater-log-cleanup clearwater-memcached clearwater-monit clearwater-socket-factory clearwater-tcp-scalability dnsmasq dnsmasq-base inotify-tools libboost-program-options1.46.1 libboost-regex1.46.1 libboost-system1.46.1 libboost-thread1.46.1 libcap2 libevent-core-2.0-5 libevent-pthreads-2.0-5 libicu48 libinotifytools0 libnetfilter-conntrack3 libopts25 libpgm-5.1-0 libsensors4 libzmq3 memcached ntp python-setuptools realpath sprout sprout-base sprout-bgcf sprout-icscf sprout-libs sprout-mmtel-as sprout-scscf sysstat 0 upgraded, 37 newly installed, 0 to remove and 0 not upgraded. Need to get 15.9 MB of archives. After this operation, 45.3 MB of additional disk space will be used. Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libcap2 amd64 1:2.22-1ubuntu3 [12.0 kB] Get:2 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libsensors4 amd64 1:3.3.1-2ubuntu1 [31.9 kB] Get:3 http://repo.cw-ngv.com/stable/ binary/ libzmq3 3.2.2+metaswitch-1 [135 kB] Get:4 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe libpgm-5.1-0 amd64 5.1.116~dfsg-2 [182 kB] Get:5 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libopts25 amd64 1:5.12-0.1ubuntu1 [59.9 kB] Get:6 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main ntp amd64 1:4.2.6.p3+dfsg-1ubuntu3.2 [613 kB] Get:7 http://repo.cw-ngv.com/stable/ binary/ clearwater-monit 5.8-141203.161705 [267 kB] Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libnetfilter-conntrack3 amd64 0.9.1-1ubuntu1 [34.4 kB] Get:9 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main dnsmasq-base amd64 2.59-4ubuntu0.1 [213 kB] Get:10 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/universe dnsmasq all 2.59-4ubuntu0.1 [15.1 kB] Get:11 http://repo.cw-ngv.com/stable/ binary/ clearwater-infrastructure 1.0-141216.091501 [851 kB] Get:12 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main python-setuptools all 0.6.24-1ubuntu1 [441 kB] Get:13 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libboost-program-options1.46.1 amd64 1.46.1-7ubuntu3 [146 kB] Get:14 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main libicu48 amd64 4.8.1.1-3ubuntu0.1 [8,105 kB] Get:15 http://repo.cw-ngv.com/stable/ binary/ chronos 1.0-141216.120734 [376 kB] Get:16 http://repo.cw-ngv.com/stable/ binary/ clearwater-diags-monitor 1.0-141216.091501 [23.4 kB] Get:17 http://repo.cw-ngv.com/stable/ binary/ clearwater-log-cleanup 1.0-141216.091501 [14.3 kB] Get:18 http://repo.cw-ngv.com/stable/ binary/ clearwater-memcached 1.0-141216.091501 [17.7 kB] Get:19 http://repo.cw-ngv.com/stable/ binary/ clearwater-socket-factory 1.0-141216.091501 [19.8 kB] Get:20 http://repo.cw-ngv.com/stable/ binary/ clearwater-tcp-scalability 1.0-141216.091501 [15.5 kB] Get:21 http://repo.cw-ngv.com/stable/ binary/ sprout-libs 1.0-141217.161903 [2,082 kB] Get:22 http://repo.cw-ngv.com/stable/ binary/ sprout-base 1.0-141217.161903 [1,038 kB] Get:23 http://repo.cw-ngv.com/stable/ binary/ sprout-scscf 1.0-141217.161903 [54.6 kB] Get:24 http://repo.cw-ngv.com/stable/ binary/ sprout-icscf 1.0-141217.161903 [54.4 kB] Get:25 http://repo.cw-ngv.com/stable/ binary/ sprout-bgcf 1.0-141217.161903 [36.3 kB] Get:26 http://repo.cw-ngv.com/stable/ binary/ sprout-mmtel-as 1.0-141217.161903 [51.4 kB] Get:27 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libboost-regex1.46.1 amd64 1.46.1-7ubuntu3 [403 kB] Get:28 http://repo.cw-ngv.com/stable/ binary/ sprout 1.0-141217.161903 [13.4 kB] Get:29 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe libinotifytools0 amd64 3.13-3 [22.6 kB] Get:30 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe inotify-tools amd64 3.13-3 [28.1 kB] Get:31 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main realpath amd64 1.16 [14.8 kB] Get:32 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main sysstat amd64 10.0.3-1 [303 kB] Get:33 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise-updates/main memcached amd64 1.4.13-0ubuntu2.1 [75.1 kB] Get:34 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe libboost-system1.46.1 amd64 1.46.1-7ubuntu3 [14.6 kB] Get:35 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/universe libboost-thread1.46.1 amd64 1.46.1-7ubuntu3 [39.5 kB] Get:36 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libevent-core-2.0-5 amd64 2.0.16-stable-1 [77.5 kB] Get:37 http://nova.clouds.archive.ubuntu.com/ubuntu/ precise/main libevent-pthreads-2.0-5 amd64 2.0.16-stable-1 [5,936 B] Fetched 15.9 MB in 6s (2,303 kB/s) Extracting templates from packages: 100% Preconfiguring packages ... Selecting previously unselected package libcap2. (Reading database ... 70566 files and directories currently installed.) Unpacking libcap2 (from .../libcap2_1%3a2.22-1ubuntu3_amd64.deb) ... Selecting previously unselected package libsensors4. Unpacking libsensors4 (from .../libsensors4_1%3a3.3.1-2ubuntu1_amd64.deb) ... Selecting previously unselected package libpgm-5.1-0. Unpacking libpgm-5.1-0 (from .../libpgm-5.1-0_5.1.116~dfsg-2_amd64.deb) ... Selecting previously unselected package libzmq3. Unpacking libzmq3 (from .../libzmq3_3.2.2+metaswitch-1_amd64.deb) ... Selecting previously unselected package libopts25. Unpacking libopts25 (from .../libopts25_1%3a5.12-0.1ubuntu1_amd64.deb) ... Selecting previously unselected package ntp. Unpacking ntp (from .../ntp_1%3a4.2.6.p3+dfsg-1ubuntu3.2_amd64.deb) ... Selecting previously unselected package libnetfilter-conntrack3. Unpacking libnetfilter-conntrack3 (from .../libnetfilter-conntrack3_0.9.1-1ubuntu1_amd64.deb) ... Selecting previously unselected package dnsmasq-base. Unpacking dnsmasq-base (from .../dnsmasq-base_2.59-4ubuntu0.1_amd64.deb) ... Selecting previously unselected package dnsmasq. Unpacking dnsmasq (from .../dnsmasq_2.59-4ubuntu0.1_all.deb) ... Selecting previously unselected package clearwater-monit. Unpacking clearwater-monit (from .../clearwater-monit_5.8-141203.161705_amd64.deb) ... Selecting previously unselected package python-setuptools. Unpacking python-setuptools (from .../python-setuptools_0.6.24-1ubuntu1_all.deb) ... Selecting previously unselected package clearwater-infrastructure. Unpacking clearwater-infrastructure (from .../clearwater-infrastructure_1.0-141216.091501_all.deb) ... Selecting previously unselected package libboost-program-options1.46.1. Unpacking libboost-program-options1.46.1 (from .../libboost-program-options1.46.1_1.46.1-7ubuntu3_amd64.deb) ... Selecting previously unselected package libicu48. Unpacking libicu48 (from .../libicu48_4.8.1.1-3ubuntu0.1_amd64.deb) ... Selecting previously unselected package libboost-regex1.46.1. Unpacking libboost-regex1.46.1 (from .../libboost-regex1.46.1_1.46.1-7ubuntu3_amd64.deb) ... Selecting previously unselected package chronos. Unpacking chronos (from .../chronos_1.0-141216.120734_amd64.deb) ... Selecting previously unselected package libinotifytools0. Unpacking libinotifytools0 (from .../libinotifytools0_3.13-3_amd64.deb) ... Selecting previously unselected package inotify-tools. Unpacking inotify-tools (from .../inotify-tools_3.13-3_amd64.deb) ... Selecting previously unselected package realpath. Unpacking realpath (from .../realpath_1.16_amd64.deb) ... Selecting previously unselected package sysstat. Unpacking sysstat (from .../sysstat_10.0.3-1_amd64.deb) ... Selecting previously unselected package clearwater-diags-monitor. Unpacking clearwater-diags-monitor (from .../clearwater-diags-monitor_1.0-141216.091501_all.deb) ... Selecting previously unselected package clearwater-log-cleanup. Unpacking clearwater-log-cleanup (from .../clearwater-log-cleanup_1.0-141216.091501_all.deb) ... Selecting previously unselected package memcached. Unpacking memcached (from .../memcached_1.4.13-0ubuntu2.1_amd64.deb) ... Selecting previously unselected package clearwater-memcached. Unpacking clearwater-memcached (from .../clearwater-memcached_1.0-141216.091501_all.deb) ... Selecting previously unselected package clearwater-socket-factory. Unpacking clearwater-socket-factory (from .../clearwater-socket-factory_1.0-141216.091501_all.deb) ... Selecting previously unselected package clearwater-tcp-scalability. Unpacking clearwater-tcp-scalability (from .../clearwater-tcp-scalability_1.0-141216.091501_all.deb) ... Selecting previously unselected package libboost-system1.46.1. Unpacking libboost-system1.46.1 (from .../libboost-system1.46.1_1.46.1-7ubuntu3_amd64.deb) ... Selecting previously unselected package libboost-thread1.46.1. Unpacking libboost-thread1.46.1 (from .../libboost-thread1.46.1_1.46.1-7ubuntu3_amd64.deb) ... Selecting previously unselected package libevent-core-2.0-5. Unpacking libevent-core-2.0-5 (from .../libevent-core-2.0-5_2.0.16-stable-1_amd64.deb) ... Selecting previously unselected package libevent-pthreads-2.0-5. Unpacking libevent-pthreads-2.0-5 (from .../libevent-pthreads-2.0-5_2.0.16-stable-1_amd64.deb) ... Selecting previously unselected package sprout-libs. Unpacking sprout-libs (from .../sprout-libs_1.0-141217.161903_amd64.deb) ... Selecting previously unselected package sprout-base. Unpacking sprout-base (from .../sprout-base_1.0-141217.161903_amd64.deb) ... Selecting previously unselected package sprout-scscf. Unpacking sprout-scscf (from .../sprout-scscf_1.0-141217.161903_amd64.deb) ... Selecting previously unselected package sprout-icscf. Unpacking sprout-icscf (from .../sprout-icscf_1.0-141217.161903_amd64.deb) ... Selecting previously unselected package sprout-bgcf. Unpacking sprout-bgcf (from .../sprout-bgcf_1.0-141217.161903_amd64.deb) ... Selecting previously unselected package sprout-mmtel-as. Unpacking sprout-mmtel-as (from .../sprout-mmtel-as_1.0-141217.161903_amd64.deb) ... Selecting previously unselected package sprout. Unpacking sprout (from .../sprout_1.0-141217.161903_amd64.deb) ... Processing triggers for ureadahead ... Processing triggers for man-db ... Setting up libcap2 (1:2.22-1ubuntu3) ... Setting up libsensors4 (1:3.3.1-2ubuntu1) ... Setting up libpgm-5.1-0 (5.1.116~dfsg-2) ... Setting up libzmq3 (3.2.2+metaswitch-1) ... Setting up libopts25 (1:5.12-0.1ubuntu1) ... Setting up ntp (1:4.2.6.p3+dfsg-1ubuntu3.2) ... * Starting NTP server ntpd ...done. Setting up libnetfilter-conntrack3 (0.9.1-1ubuntu1) ... Setting up dnsmasq-base (2.59-4ubuntu0.1) ... Setting up dnsmasq (2.59-4ubuntu0.1) ... * Starting DNS forwarder and DHCP server dnsmasq ...done. Setting up clearwater-monit (5.8-141203.161705) ... clearwater-monit start/running, process 2249 Setting up python-setuptools (0.6.24-1ubuntu1) ... Setting up clearwater-infrastructure (1.0-141216.091501) ... Processing pyzmq-14.3.1-py2.7-linux-x86_64.egg Copying pyzmq-14.3.1-py2.7-linux-x86_64.egg to /usr/local/lib/python2.7/dist-packages Adding pyzmq 14.3.1 to easy-install.pth file Installed /usr/local/lib/python2.7/dist-packages/pyzmq-14.3.1-py2.7-linux-x86_64.egg Processing dependencies for pyzmq==14.3.1 Finished processing dependencies for pyzmq==14.3.1 chronos: unrecognized service /usr/share/clearwater/infrastructure/scripts/memcached: 52: /usr/share/clearwater/infrastructure/scripts/memcached: cannot open /etc/memcached.conf: No such file sed: can't read /etc/init.d/memcached: No such file or directory memcached: unrecognized service Configuring monit for only localhost access Setting up libboost-program-options1.46.1 (1.46.1-7ubuntu3) ... Setting up libicu48 (4.8.1.1-3ubuntu0.1) ... Setting up libboost-regex1.46.1 (1.46.1-7ubuntu3) ... Setting up chronos (1.0-141216.120734) ... Setting up libinotifytools0 (3.13-3) ... Setting up inotify-tools (3.13-3) ... Setting up realpath (1.16) ... Setting up sysstat (10.0.3-1) ... Creating config file /etc/default/sysstat with new version update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode. Setting up clearwater-diags-monitor (1.0-141216.091501) ... * Starting the system activity data collector sadc ...done. Setting up clearwater-log-cleanup (1.0-141216.091501) ... Setting up memcached (1.4.13-0ubuntu2.1) ... Configuration file `/etc/init.d/memcached' ==> File on system created by you or by a script. ==> File also in package provided by package maintainer. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** memcached (Y/I/N/O/D/Z) [default=N] ? Y Installing new version of config file /etc/init.d/memcached ... Configuration file `/etc/default/memcached' ==> File on system created by you or by a script. ==> File also in package provided by package maintainer. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** memcached (Y/I/N/O/D/Z) [default=N] ? Y Installing new version of config file /etc/default/memcached ... Setting up clearwater-memcached (1.0-141216.091501) ... memcached: unrecognized service /var/lib/dpkg/info/clearwater-memcached.postinst: 58: /var/lib/dpkg/info/clearwater-memcached.postinst: /etc/init.d/memcached: Permission denied dpkg: error processing clearwater-memcached (--configure): subprocess installed post-installation script returned error exit status 126 Setting up clearwater-socket-factory (1.0-141216.091501) ... clearwater-socket-factory start/running, process 2778 Setting up clearwater-tcp-scalability (1.0-141216.091501) ... Setting up libboost-system1.46.1 (1.46.1-7ubuntu3) ... Setting up libboost-thread1.46.1 (1.46.1-7ubuntu3) ... Setting up libevent-core-2.0-5 (2.0.16-stable-1) ... Setting up libevent-pthreads-2.0-5 (2.0.16-stable-1) ... Setting up sprout-libs (1.0-141217.161903) ... dpkg: dependency problems prevent configuration of sprout-base: sprout-base depends on clearwater-memcached; however: Package clearwater-memcached is not configured yet. dpkg: error processing sprout-base (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependency problems prevent configuration of sprout-scscf: sprout-scscf depends on sprout-base; however: Package sprout-base is not configured yet. dpkg: error processing sprout-scscf (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependency problems prevent configuration of sprout-icscf: sprout-icscf depends on sprout-base; however: Package sprout-base is not configured yet. dpkg: error processing sprout-icscf (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of sprout-bgcf: sprout-bgcf depends on sprout-base; however: Package sprout-base is not configured yet. dpkg: error processing sprout-bgcf (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of sprout-mmtel-as: sprout-mmtel-as depends on sprout-base; however: Package sprout-base is not configured yet. dpkg: error processing sprout-mmtel-as (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of sprout: sprout depends on sprout-base; however: Package sprout-base is not configured yet. sprout depends on sprout-scscf; however: Package sprout-scscf is not configured yet. sprout depends on sprout-icscf; however: Package sprout-icscf is not configured yet. sprout depends on sprout-bgcf; however: Package sprout-bgcf is not configured yet. sprout depends on sprout-mmtel-as; however: Package sprout-mmtel-as is not configured yet. dpkg: error processing sprout (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Processing triggers for libc-bin ... ldconfig deferred processing now taking place Errors were encountered while processing: clearwater-memcached sprout-base sprout-scscf sprout-icscf sprout-bgcf sprout-mmtel-as sprout E: Sub-process /usr/bin/dpkg returned an error code (1) Best, fran > Thanks, > > Matt > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Francisco Javier Ros Muñoz > Sent: 29 December 2014 17:45 > To: [email protected] > Subject: [Clearwater] Unresolved dependencies in sprout metapackage > > Hi everyone, > > Not sure if this is a known issue, but just in case: > When trying to install sprout on Ubuntu Server 12.04 (64 bits), the > installation process failed due to unresolved dependencies. > I solved the problem by just installing memcached before sprout. > > Best, > fran > -- > Francisco J. Ros, PhD > Dept. of Information and Communications Engineering University of > Murcia, Murcia (Spain) http://masimum.inf.um.es/fjrm/ > > > > > _______________________________________________ > Clearwater mailing list > [email protected] > http://lists.projectclearwater.org/listinfo/clearwater -- Francisco J. Ros, PhD Dept. of Information and Communications Engineering University of Murcia, Murcia (Spain) http://masimum.inf.um.es/fjrm/ _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
