Page 1 of 1

Cron error during install

Posted: Thu Jan 19, 2017 1:35 am
by KyleSforza
Ubuntu 16.04, I keep receiving this error during install, what should the right choice be?

Code: Select all

Configuration file '/etc/cron.daily/apt-compat'
 ==> Deleted (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   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.
*** apt-compat (Y/I/N/O/D/Z) [default=N] ?
If I select Y, I get this :
SpoilerShow

Code: Select all

Installing new version of config file /etc/cron.daily/apt-compat ...
Installing new version of config file /etc/kernel/postinst.d/apt-auto-removal ..                                                                                                                     .
apt-daily.timer is a disabled or a static unit, not starting it.
Processing triggers for libc-bin (2.23-0ubuntu5) ...
W: Operation was interrupted before it could finish
--2017-01-18 20:34:32--  http://nginx.org/keys/nginx_signing.key
Resolving nginx.org (nginx.org)... 2606:7100:1:69::3f, 2001:1af8:4060:a004:21::e                                                                                                                     3, 206.251.255.63, ...
Connecting to nginx.org (nginx.org)|2606:7100:1:69::3f|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1561 (1.5K) [text/plain]
Saving to: '/tmp/nginx_signing.key'

/tmp/nginx_signing. 100%[===================>]   1.52K  --.-KB/s    in 0s

2017-01-18 20:34:32 (363 MB/s) - '/tmp/nginx_signing.key' saved [1561/1561]

OK
--2017-01-18 20:34:32--  http://c.vestacp.com/deb_signing.key
Resolving c.vestacp.com (c.vestacp.com)... 104.236.66.100
Connecting to c.vestacp.com (c.vestacp.com)|104.236.66.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1719 (1.7K) [text/plain]
Saving to: 'deb_signing.key'

deb_signing.key     100%[===================>]   1.68K  --.-KB/s    in 0s

2017-01-18 20:34:32 (273 MB/s) - 'deb_signing.key' saved [1719/1719]

OK
Get:1 http://nginx.org/packages/mainline/ubuntu xenial InRelease [3598 B]
Get:2 http://nginx.org/packages/mainline/ubuntu xenial/nginx amd64 Packages [14.                                                                                                                     4 kB]
Get:3 http://apt.vestacp.com/xenial xenial InRelease [2181 B]
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:5 http://apt.vestacp.com/xenial xenial/vesta amd64 Packages [698 B]
Hit:6 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:7 http://archive.canonical.com/ubuntu xenial InRelease
Hit:8 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Fetched 20.9 kB in 0s (35.8 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
bsdmainutils is already the newest version (9.0.6ubuntu3).
cron is already the newest version (3.0pl1-128ubuntu2).
e2fslibs is already the newest version (1.42.13-1ubuntu1).
ftp is already the newest version (0.17-33).
lsof is already the newest version (4.89+dfsg-0.1).
quota is already the newest version (4.03-2).
whois is already the newest version (5.2.11).
bsdutils is already the newest version (1:2.27.1-6ubuntu3.1).
curl is already the newest version (7.47.0-1ubuntu2.2).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 apache2 : Depends: apache2-bin (= 2.4.18-2ubuntu3.1) but 2.4.18-2ubuntu3 is to                                                                                                                      be installed
           Depends: apache2-data (= 2.4.18-2ubuntu3.1) but 2.4.18-2ubuntu3 is to                                                                                                                      be installed
 apt-utils : Depends: apt (= 1.2.12~ubuntu16.04.1) but 1.2.18 is to be installed
 bind9 : Depends: libbind9-140 (= 1:9.10.3.dfsg.P4-8ubuntu1.4) but 1:9.10.3.dfsg                                                                                                                     .P4-8ubuntu1 is to be installed
         Depends: libdns162 (= 1:9.10.3.dfsg.P4-8ubuntu1.4) but 1:9.10.3.dfsg.P4                                                                                                                     -8ubuntu1 is to be installed
         Depends: libisc160 (= 1:9.10.3.dfsg.P4-8ubuntu1.4) but 1:9.10.3.dfsg.P4                                                                                                                     -8ubuntu1 is to be installed
         Depends: libisccc140 (= 1:9.10.3.dfsg.P4-8ubuntu1.4) but 1:9.10.3.dfsg.                                                                                                                     P4-8ubuntu1 is to be installed
         Depends: libisccfg140 (= 1:9.10.3.dfsg.P4-8ubuntu1.4) but 1:9.10.3.dfsg                                                                                                                     .P4-8ubuntu1 is to be installed
         Depends: liblwres141 (= 1:9.10.3.dfsg.P4-8ubuntu1.4) but 1:9.10.3.dfsg.                                                                                                                     P4-8ubuntu1 is to be installed
         Depends: bind9utils (= 1:9.10.3.dfsg.P4-8ubuntu1.4) but 1:9.10.3.dfsg.P                                                                                                                     4-8ubuntu1 is to be installed
 dnsutils : Depends: libbind9-140 (= 1:9.10.3.dfsg.P4-8ubuntu1.4) but 1:9.10.3.d                                                                                                                     fsg.P4-8ubuntu1 is to be installed
            Depends: libdns162 (= 1:9.10.3.dfsg.P4-8ubuntu1.4) but 1:9.10.3.dfsg                                                                                                                     .P4-8ubuntu1 is to be installed
            Depends: libisc160 (= 1:9.10.3.dfsg.P4-8ubuntu1.4) but 1:9.10.3.dfsg                                                                                                                     .P4-8ubuntu1 is to be installed
            Depends: libisccfg140 (= 1:9.10.3.dfsg.P4-8ubuntu1.4) but 1:9.10.3.d                                                                                                                     fsg.P4-8ubuntu1 is to be installed
            Depends: liblwres141 (= 1:9.10.3.dfsg.P4-8ubuntu1.4) but 1:9.10.3.df                                                                                                                     sg.P4-8ubuntu1 is to be installed
 dovecot-imapd : Depends: dovecot-core (= 1:2.2.22-1ubuntu2.2) but it is not goi                                                                                                                     ng to be installed
 dovecot-pop3d : Depends: dovecot-core (= 1:2.2.22-1ubuntu2.2) but it is not goi                                                                                                                     ng to be installed
 e2fsprogs : PreDepends: libss2 (>= 1.34-1) but it is not going to be installed
 exim4 : Depends: exim4-base (>= 4.86.2-2ubuntu2.1) but it is not going to be in                                                                                                                     stalled
         Depends: exim4-base (< 4.86.2-2ubuntu2.1.1) but it is not going to be i                                                                                                                     nstalled
 exim4-daemon-heavy : Depends: exim4-base (>= 4.86.2) but it is not going to be                                                                                                                      installed
                      Depends: libmysqlclient20 (>= 5.7.11) but it is not going                                                                                                                      to be installed
                      Depends: libpq5 but it is not going to be installed
                      Conflicts: mail-transport-agent
 expect : Depends: libtcl8.6 (>= 8.6.0) but it is not going to be installed
          Depends: tcl-expect but it is not going to be installed
          Recommends: tcl8.6 but it is not going to be installed
          Recommends: tk8.6 but it is not going to be installed
 flex : Depends: libfl-dev (= 2.6.0-11) but it is not going to be installed
        Recommends: gcc but it is not going to be installed or
                    c-compiler
 git : Depends: liberror-perl but it is not going to be installed
       Depends: git-man (> 1:2.7.4) but it is not going to be installed
       Depends: git-man (< 1:2.7.4-.) but it is not going to be installed
 imagemagick : Depends: imagemagick-6.q16 (= 8:6.8.9.9-7ubuntu5.3) but it is not                                                                                                                      going to be installed
 libapache2-mod-php : Depends: libapache2-mod-php7.0 but it is not going to be i                                                                                                                     nstalled
 mc : Depends: libssh2-1 (>= 1.2.5) but it is not going to be installed
      Depends: mc-data (= 3:4.8.15-2) but it is not going to be installed
 mysql-client : Depends: mysql-client-5.7 but it is not going to be installed
 mysql-server : Depends: mysql-server-5.7 but it is not going to be installed
 php : Depends: php7.0 but it is not going to be installed
 php-cgi : Depends: php7.0-cgi but it is not going to be installed
 php-curl : Depends: php7.0-curl but it is not going to be installed
 php-mysql : Depends: php7.0-mysql but it is not going to be installed
 php-pgsql : Depends: php7.0-pgsql but it is not going to be installed
 phpmyadmin : Depends: php-json
              Depends: libjs-sphinxdoc (>= 1.0) but it is not going to be instal                                                                                                                     led
              Depends: dbconfig-mysql but it is not going to be installed or
                       dbconfig-no-thanks but it is not going to be installed or
                       dbconfig-common (< 2.0.0) but it is not going to be insta                                                                                                                     lled
              Depends: php-gettext
              Depends: php-mbstring
              Depends: php-phpseclib (>= 2.0)
              Recommends: php-gd
              Recommends: php-tcpdf but it is not going to be installed
 phppgadmin : Depends: libjs-jquery but it is not going to be installed
              Depends: libphp-adodb but it is not going to be installed
              Recommends: postgresql-doc but it is not going to be installed
 postfix : Conflicts: mail-transport-agent
 postgresql : Depends: postgresql-9.5 but it is not going to be installed
 postgresql-contrib : Depends: postgresql-contrib-9.5 but it is not going to be                                                                                                                      installed
 roundcube-core : Depends: dbconfig-common but it is not going to be installed
                  Depends: php-mcrypt
                  Depends: php-intl
                  Depends: php-json or
                           php-common (< 5.5) but 1:35ubuntu6 is to be installed
                  Depends: php-cli
                  Depends: php-auth but it is not going to be installed
                  Depends: php-net-smtp (>= 1.4.2) but it is not going to be ins                                                                                                                     talled
                  Depends: php-net-socket but it is not going to be installed
                  Depends: php-mail-mime (>= 1.8.2) but it is not going to be in                                                                                                                     stalled
                  Depends: php-mail-mimedecode but it is not going to be install                                                                                                                     ed
                  Recommends: php-gd
                  Recommends: php-pspell
                  Recommends: php-net-ldap3 but it is not going to be installed
                  Recommends: php-net-sieve but it is not going to be installed
 roundcube-plugins : Depends: php-pspell
 rrdtool : Depends: librrd4 (>= 1.4~rc2) but it is not going to be installed
 spamassassin : Depends: libhtml-parser-perl but it is not going to be installed
                Depends: libsocket6-perl but it is not going to be installed
                Depends: libsys-hostname-long-perl but it is not going to be ins                                                                                                                     talled
                Depends: libnet-dns-perl but it is not going to be installed
                Depends: libnetaddr-ip-perl but it is not going to be installed
                Depends: libhttp-date-perl but it is not going to be installed
                Recommends: spamc but it is not going to be installed
                Recommends: sa-compile but it is not going to be installed
                Recommends: libmail-spf-perl but it is not going to be installed
                Recommends: libio-socket-inet6-perl but it is not going to be in                                                                                                                     stalled
 webalizer : Depends: libgd3 (>= 2.1.0~alpha~) but it is not going to be install                                                                                                                     ed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a s                                                                                                                     olution).
Error: apt-get install failed
If N, it ends with :
SpoilerShow

Code: Select all

To activate the new configuration, you need to run:
  service apache2 restart
Enabling module suexec.
To activate the new configuration, you need to run:
  service apache2 restart
Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Enabling module socache_shmcb.
Enabling module ssl.
See /usr/share/doc/apache2/README.Debian.gz on how to configure SSL and create self-signed certificates.
To activate the new configuration, you need to run:
  service apache2 restart
Enabling module actions.
To activate the new configuration, you need to run:
  service apache2 restart
Module ruid2 already enabled
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
Error: apache2 start failed

Re: Cron error during install

Posted: Thu Jan 19, 2017 1:02 pm
by rhyker2u
if Y: see a whole lot of errors on unmet dependencies. Did you run those?

if N: systemctl status apache2.service