Nach Update keine neuen PHP Versionen auf Debian 9

  • Hallo,
    bei mir wurden auf einem Debian 9 Server die PHP Versionen nicht aktualisiert.


    apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... The following packages were automatically installed and are no longer required:
    imagemagick-common libcairo2 libdatrie1 libdjvulibre-text libdjvulibre21 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgraphite2-3 libharfbuzz0b libilmbase6 liblist-moreutils-perl
    libopenexr6 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0 librsvg2-2 librsvg2-common libthai-data libthai0 libwmf0.2-7 libxcb-render0 libxcb-shm0 libxrender1
    lockfile-progs nagios-plugins-basic php5
    Use 'apt-get autoremove' to remove them.
    Done
    The following packages have been kept back:
    apache2 apache2-bin apache2-data apache2-suexec-pristine apt apt-utils bind9 bind9-host bind9utils clamav clamav-base clamav-daemon clamav-freshclam clamav-milter clamdscan cpp dmsetup
    dnsutils dovecot-core dovecot-imapd dovecot-pop3d dovecot-sieve fail2ban file findutils ftp gawk gcc ghostscript gnupg ifupdown init-system-helpers initramfs-tools initscripts iproute2
    iptables iputils-ping isc-dhcp-client isc-dhcp-common kmod ldap-utils libarchive13 libberkeleydb-perl libc-bin libc-dev-bin libc6 libc6-dev libclamav7 libcloog-isl4
    libconvert-uulib-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libcryptsetup4 libcups2 libcupsimage2 libcurl3 libcurl3-gnutls libdbd-mysql-perl libdbi-perl
    libdevmapper1.02.1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgnutls-openssl27 libgs9 libgs9-common libhtml-parser-perl libhtml-template-perl libkmod2 libldap-2.4-2 libldb1
    liblist-moreutils-perl liblocale-gettext-perl libmagic1 libnet-libidn-perl libnet-server-perl libnet-ssleay-perl libnetaddr-ip-perl libnih-dbus1 libnih1 libpython-stdlib libpython2.7
    libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libquadmath0 librtmp1 libsmbclient libsnmp30 libsocket6-perl libsqlite3-0 libsystemd0 libterm-readkey-perl
    libtext-charwidth-perl libtext-iconv-perl libtsan0 libudev1 libunbound2 libunix-syslog-perl locales lsb-release lynx lynx-cur monitoring-plugins-standard mysql-common mysql-server
    opendkim opendkim-tools perl perl-base php-7.0-opt php-7.0-opt-apcu php-7.0-opt-imagick php-7.0-opt-ldap php-7.0-opt-tidy php-7.1-opt php-7.1-opt-apcu php-7.1-opt-imagick
    php-7.1-opt-ldap php-7.1-opt-tidy php-7.2-opt php-7.2-opt-apcu php-7.2-opt-imagick php-7.2-opt-ldap php-7.2-opt-tidy php-pear postfix procps python python-ldb python-minimal
    python-samba python-talloc python2.7 python2.7-minimal python3 python3-minimal rsyslog samba samba-common samba-common-bin samba-dsdb-modules samba-libs smbclient snmp sqlite3 systemd
    sysv-rc sysvinit-utils udev unixodbc util-linux vim vim-common vim-runtime wget
    The following packages will be upgraded:
    apache2-doc apache2-utils base-files ca-certificates dpkg dselect fuse imagemagick imagemagick-6-common imagemagick-6.q16 imagemagick-common libfuse2 libmagickcore-6.q16-3
    libmagickwand-6.q16-3 libmspack0 libpq5 linux-libc-dev liveconfig patch php7.0-cli php7.0-common php7.0-json php7.0-opcache php7.0-phpdbg php7.0-readline systemd-sysv
    26 upgraded, 0 newly installed, 0 to remove and 155 not upgraded.
    Need to get 24.9 MB of archives.
    After this operation, 50.2 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://repo.liveconfig.com/debian/ main/main liveconfig amd64 2.6.3-r5013 [8658 kB]
    Get:2 http://security.debian.org/ stretch/updates/main imagemagick-common all 8:6.9.7.4+dfsg-11+deb9u5 [1404 B]
    Get:3 http://ftp.debian.org/debian/ stretch/main base-files amd64 9.9+deb9u5 [67.3 kB]
    Get:4 http://security.debian.org/ stretch/updates/main imagemagick-6-common all 8:6.9.7.4+dfsg-11+deb9u5 [184 kB]
    Get:5 http://ftp.debian.org/debian/ stretch/main dpkg amd64 1.18.25 [2115 kB]
    Get:6 http://security.debian.org/ stretch/updates/main libmagickcore-6.q16-3 amd64 8:6.9.7.4+dfsg-11+deb9u5 [1742 kB]
    Get:7 http://security.debian.org/ stretch/updates/main libmagickwand-6.q16-3 amd64 8:6.9.7.4+dfsg-11+deb9u5 [422 kB]
    Get:8 http://security.debian.org/ stretch/updates/main fuse amd64 2.9.7-1+deb9u1 [71.3 kB]
    Get:9 http://security.debian.org/ stretch/updates/main libfuse2 amd64 2.9.7-1+deb9u1 [126 kB]
    Get:10 http://security.debian.org/ stretch/updates/main imagemagick-6.q16 amd64 8:6.9.7.4+dfsg-11+deb9u5 [563 kB]
    Get:11 http://ftp.debian.org/debian/ stretch/main systemd-sysv amd64 232-25+deb9u4 [81.3 kB]
    Get:12 http://ftp.debian.org/debian/ stretch/main apache2-doc all 2.4.25-3+deb9u5 [3771 kB]
    Get:13 http://security.debian.org/ stretch/updates/main imagemagick amd64 8:6.9.7.4+dfsg-11+deb9u5 [141 kB]
    Get:14 http://security.debian.org/ stretch/updates/main libmspack0 amd64 0.5-1+deb9u2 [46.1 kB]
    Get:15 http://security.debian.org/ stretch/updates/main linux-libc-dev amd64 4.9.110-3+deb9u1 [1347 kB]
    Get:16 http://ftp.debian.org/debian/ stretch/main apache2-utils amd64 2.4.25-3+deb9u5 [217 kB]
    Get:17 http://ftp.debian.org/debian/ stretch/main ca-certificates all 20161130+nmu1+deb9u1 [182 kB]
    Get:18 http://ftp.debian.org/debian/ stretch/main dselect amd64 1.18.25 [1285 kB]
    Get:19 http://ftp.debian.org/debian/ stretch/main libpq5 amd64 9.6.9-0+deb9u1 [132 kB]
    Get:20 http://ftp.debian.org/debian/ stretch/main patch amd64 2.7.5-1+deb9u1 [112 kB]
    Get:21 http://ftp.debian.org/debian/ stretch/main php7.0-json amd64 7.0.30-0+deb9u1 [17.0 kB]
    Get:22 http://ftp.debian.org/debian/ stretch/main php7.0-opcache amd64 7.0.30-0+deb9u1 [77.5 kB]
    Get:23 http://ftp.debian.org/debian/ stretch/main php7.0-phpdbg amd64 7.0.30-0+deb9u1 [1325 kB]
    Get:24 http://ftp.debian.org/debian/ stretch/main php7.0-readline amd64 7.0.30-0+deb9u1 [12.2 kB]
    Get:25 http://ftp.debian.org/debian/ stretch/main php7.0-cli amd64 7.0.30-0+deb9u1 [1284 kB]
    Get:26 http://ftp.debian.org/debian/ stretch/main php7.0-common amd64 7.0.30-0+deb9u1 [877 kB]
    Fetched 24.9 MB in 3min 32s (117 kB/s)
    Preconfiguring packages ...
    (Reading database ... 43075 files and directories currently installed.)
    Preparing to unpack .../base-files_9.9+deb9u5_amd64.deb ...
    Unpacking base-files (9.9+deb9u5) over (9.9+deb9u4) ...
    Processing triggers for cracklib-runtime (2.9.2-5) ...
    Processing triggers for install-info (6.3.0.dfsg.1-1+b2) ...
    Processing triggers for man-db (2.7.6.1-2) ...
    Setting up base-files (9.9+deb9u5) ...
    Installing new version of config file /etc/debian_version ...
    (Reading database ... 43075 files and directories currently installed.)
    Preparing to unpack .../dpkg_1.18.25_amd64.deb ...
    Unpacking dpkg (1.18.25) over (1.18.24) ...
    Setting up dpkg (1.18.25) ...
    Processing triggers for man-db (2.7.6.1-2) ...
    (Reading database ... 43075 files and directories currently installed.)
    Preparing to unpack .../systemd-sysv_232-25+deb9u4_amd64.deb ...
    Unpacking systemd-sysv (232-25+deb9u4) over (232-25+deb9u3) ...
    Preparing to unpack .../imagemagick-common_8%3a6.9.7.4+dfsg-11+deb9u5_all.deb ...
    Unpacking imagemagick-common (8:6.9.7.4+dfsg-11+deb9u5) over (8:6.9.7.4+dfsg-11+deb9u4) ...
    Preparing to unpack .../imagemagick-6-common_8%3a6.9.7.4+dfsg-11+deb9u5_all.deb ...
    Unpacking imagemagick-6-common (8:6.9.7.4+dfsg-11+deb9u5) over (8:6.9.7.4+dfsg-11+deb9u4) ...
    Preparing to unpack .../libmagickcore-6.q16-3_8%3a6.9.7.4+dfsg-11+deb9u5_amd64.deb ...
    Unpacking libmagickcore-6.q16-3:amd64 (8:6.9.7.4+dfsg-11+deb9u5) over (8:6.9.7.4+dfsg-11+deb9u4) ...
    Preparing to unpack .../libmagickwand-6.q16-3_8%3a6.9.7.4+dfsg-11+deb9u5_amd64.deb ...
    Unpacking libmagickwand-6.q16-3:amd64 (8:6.9.7.4+dfsg-11+deb9u5) over (8:6.9.7.4+dfsg-11+deb9u4) ...
    Preparing to unpack .../apache2-doc_2.4.25-3+deb9u5_all.deb ...
    Unpacking apache2-doc (2.4.25-3+deb9u5) over (2.4.25-3+deb9u4) ...
    Preparing to unpack .../apache2-utils_2.4.25-3+deb9u5_amd64.deb ...
    Unpacking apache2-utils (2.4.25-3+deb9u5) over (2.4.25-3+deb9u4) ...
    Preparing to unpack .../ca-certificates_20161130+nmu1+deb9u1_all.deb ...
    Unpacking ca-certificates (20161130+nmu1+deb9u1) over (20161130+nmu1) ...
    Preparing to unpack .../dselect_1.18.25_amd64.deb ...
    Unpacking dselect (1.18.25) over (1.18.24) ...
    Preparing to unpack .../fuse_2.9.7-1+deb9u1_amd64.deb ...
    Unpacking fuse (2.9.7-1+deb9u1) over (2.9.7-1) ...
    Preparing to unpack .../libfuse2_2.9.7-1+deb9u1_amd64.deb ...
    Unpacking libfuse2:amd64 (2.9.7-1+deb9u1) over (2.9.7-1) ...
    Preparing to unpack .../imagemagick-6.q16_8%3a6.9.7.4+dfsg-11+deb9u5_amd64.deb ...
    Unpacking imagemagick-6.q16 (8:6.9.7.4+dfsg-11+deb9u5) over (8:6.9.7.4+dfsg-11+deb9u4) ...
    Preparing to unpack .../imagemagick_8%3a6.9.7.4+dfsg-11+deb9u5_amd64.deb ...
    Unpacking imagemagick (8:6.9.7.4+dfsg-11+deb9u5) over (8:6.9.7.4+dfsg-11+deb9u4) ...
    Preparing to unpack .../libmspack0_0.5-1+deb9u2_amd64.deb ...
    Unpacking libmspack0:amd64 (0.5-1+deb9u2) over (0.5-1+deb9u1) ...
    Preparing to unpack .../libpq5_9.6.9-0+deb9u1_amd64.deb ...
    Unpacking libpq5:amd64 (9.6.9-0+deb9u1) over (9.6.7-0+deb9u1) ...
    Preparing to unpack .../linux-libc-dev_4.9.110-3+deb9u1_amd64.deb ...
    Unpacking linux-libc-dev:amd64 (4.9.110-3+deb9u1) over (4.9.88-1+deb9u1) ...
    Preparing to unpack .../liveconfig_2.6.3-r5013_amd64.deb ...
    Creating SQLite Database Backup
    Input File: /var/lib/liveconfig/liveconfig.db
    Output File: /var/lib/liveconfig/liveconfig.db.bak-2.6.1-r4987
    Done.
    Unpacking liveconfig (2.6.3-r5013) over (2.6.1-r4987) ...
    Preparing to unpack .../patch_2.7.5-1+deb9u1_amd64.deb ...
    Unpacking patch (2.7.5-1+deb9u1) over (2.7.5-1+b2) ...
    Preparing to unpack .../php7.0-json_7.0.30-0+deb9u1_amd64.deb ...
    Unpacking php7.0-json (7.0.30-0+deb9u1) over (7.0.27-0+deb9u1) ...
    Preparing to unpack .../php7.0-opcache_7.0.30-0+deb9u1_amd64.deb ...
    Unpacking php7.0-opcache (7.0.30-0+deb9u1) over (7.0.27-0+deb9u1) ...
    Preparing to unpack .../php7.0-phpdbg_7.0.30-0+deb9u1_amd64.deb ...
    Unpacking php7.0-phpdbg (7.0.30-0+deb9u1) over (7.0.27-0+deb9u1) ...
    Preparing to unpack .../php7.0-readline_7.0.30-0+deb9u1_amd64.deb ...
    Unpacking php7.0-readline (7.0.30-0+deb9u1) over (7.0.27-0+deb9u1) ...
    Preparing to unpack .../php7.0-cli_7.0.30-0+deb9u1_amd64.deb ...
    Unpacking php7.0-cli (7.0.30-0+deb9u1) over (7.0.27-0+deb9u1) ...
    Preparing to unpack .../php7.0-common_7.0.30-0+deb9u1_amd64.deb ...
    Unpacking php7.0-common (7.0.30-0+deb9u1) over (7.0.27-0+deb9u1) ...
    Processing triggers for man-db (2.7.6.1-2) ...
    Processing triggers for libc-bin (2.19-18+deb8u10) ...
    Processing triggers for mime-support (3.60) ...
    Processing triggers for hicolor-icon-theme (0.15-1) ...
    Processing triggers for systemd (215-17+deb8u7) ...
    Setting up systemd-sysv (232-25+deb9u4) ...
    Setting up imagemagick-6-common (8:6.9.7.4+dfsg-11+deb9u5) ...
    Setting up imagemagick-common (8:6.9.7.4+dfsg-11+deb9u5) ...
    Setting up libmagickcore-6.q16-3:amd64 (8:6.9.7.4+dfsg-11+deb9u5) ...
    Setting up libmagickwand-6.q16-3:amd64 (8:6.9.7.4+dfsg-11+deb9u5) ...
    Setting up apache2-doc (2.4.25-3+deb9u5) ...
    apache2_invoke apache2-doc: already enabled
    Setting up apache2-utils (2.4.25-3+deb9u5) ...
    Setting up ca-certificates (20161130+nmu1+deb9u1) ...
    Updating certificates in /etc/ssl/certs...
    WARNING: Skipping duplicate certificate 1ff57d83cd103caa-ca.crt
    WARNING: Skipping duplicate certificate 1ff57d83cd103caa-ca.crt
    WARNING: Skipping duplicate certificate 6af06d24e1de602d-ca.crt
    WARNING: Skipping duplicate certificate 6af06d24e1de602d-ca.crt
    WARNING: Skipping duplicate certificate 8da0020406b21853-ca.crt
    WARNING: Skipping duplicate certificate 8da0020406b21853-ca.crt
    WARNING: Skipping duplicate certificate dovecot.crt
    WARNING: Skipping duplicate certificate dovecot.crt
    WARNING: Skipping duplicate certificate postfix.crt
    WARNING: Skipping duplicate certificate postfix.crt
    20 added, 35 removed; done.
    Setting up dselect (1.18.25) ...
    Setting up libfuse2:amd64 (2.9.7-1+deb9u1) ...
    Setting up fuse (2.9.7-1+deb9u1) ...
    update-initramfs: deferring update (trigger activated)
    Setting up imagemagick-6.q16 (8:6.9.7.4+dfsg-11+deb9u5) ...
    Setting up imagemagick (8:6.9.7.4+dfsg-11+deb9u5) ...
    Setting up libmspack0:amd64 (0.5-1+deb9u2) ...
    Setting up libpq5:amd64 (9.6.9-0+deb9u1) ...
    Setting up linux-libc-dev:amd64 (4.9.110-3+deb9u1) ...
    Setting up liveconfig (2.6.3-r5013) ...
    Setting up patch (2.7.5-1+deb9u1) ...
    Setting up php7.0-common (7.0.30-0+deb9u1) ...
    Setting up php7.0-json (7.0.30-0+deb9u1) ...
    Setting up php7.0-opcache (7.0.30-0+deb9u1) ...
    Setting up php7.0-readline (7.0.30-0+deb9u1) ...
    Setting up php7.0-cli (7.0.30-0+deb9u1) ...
    Setting up php7.0-phpdbg (7.0.30-0+deb9u1) ...
    Processing triggers for libc-bin (2.19-18+deb8u10) ...
    Processing triggers for ca-certificates (20161130+nmu1+deb9u1) ...
    Updating certificates in /etc/ssl/certs...
    0 added, 0 removed; done.
    Running hooks in /etc/ca-certificates/update.d...
    done.
    Processing triggers for initramfs-tools (0.120+deb8u3) ...

  • Ja das ist ein Upgrade von Debian 8 auf 9.
    Ich habe jetzt apt full upgrade ausgeführt. Allerdings startet Liveconfig nicht mehr.


    journalctl -xe
    Aug 07 13:30:41 lc1 systemd[1]: Starting Dovecot IMAP/POP3 email server...
    -- Subject: Unit dovecot.service has begun start-up
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    --
    -- Unit dovecot.service has begun starting up.
    Aug 07 13:30:41 lc1 systemd[1]: dovecot.service: PID file /var/run/dovecot/master.pid not readable (yet?) after start: No such file or directory
    Aug 07 13:30:41 lc1 dovecot[1457]: master: Dovecot v2.2.27 (c0f36b0) starting up for imap, pop3 (core dumps disabled)
    Aug 07 13:30:41 lc1 systemd[1]: Started Dovecot IMAP/POP3 email server.
    -- Subject: Unit dovecot.service has finished start-up
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    --
    -- Unit dovecot.service has finished starting up.
    --
    -- The start-up result is done.
    Aug 07 13:30:55 lc1 postfix/smtpd[1496]: connect from nagios.nbiserv.de[46.182.16.200]
    Aug 07 13:30:55 lc1 postfix/smtpd[1496]: disconnect from nagios.nbiserv.de[46.182.16.200] helo=1 quit=1 commands=2
    Aug 07 13:31:09 lc1 sshd[1507]: Connection reset by 46.182.16.34 port 48398 [preauth]
    Aug 07 13:31:15 lc1 systemd[1]: liveconfig.service: Failed to set invocation ID on control group /system.slice/liveconfig.service, ignoring: Operation not supported
    Aug 07 13:31:15 lc1 systemd[1]: Starting LiveConfig Control Panel...
    -- Subject: Unit liveconfig.service has begun start-up
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    --
    -- Unit liveconfig.service has begun starting up.
    Aug 07 13:31:15 lc1 liveconfig[1525]: - /usr/sbin/liveconfig: Connection to MySQL server failed, trying again in 1 second(s). Error 2002: Can't connect to local MySQL server through socket
    Aug 07 13:31:16 lc1 liveconfig[1525]: - /usr/sbin/liveconfig: Connection to MySQL server failed, trying again in 2 second(s). Error 2002: Can't connect to local MySQL server through socket
    Aug 07 13:31:18 lc1 postfix/smtpd[1496]: connect from icinga.nbiserv.de[46.182.16.34]
    Aug 07 13:31:18 lc1 postfix/smtpd[1496]: disconnect from icinga.nbiserv.de[46.182.16.34] helo=1 quit=1 commands=2
    Aug 07 13:31:18 lc1 liveconfig[1525]: - /usr/sbin/liveconfig: Connection to MySQL server failed, trying again in 4 second(s). Error 2002: Can't connect to local MySQL server through socket
    Aug 07 13:31:22 lc1 liveconfig[1525]: - /usr/sbin/liveconfig: Connection to MySQL server failed, trying again in 8 second(s). Error 2002: Can't connect to local MySQL server through socket
    Aug 07 13:31:30 lc1 liveconfig[1525]: - /usr/sbin/liveconfig: Connection to MySQL server failed, trying again in 16 second(s). Error 2002: Can't connect to local MySQL server through socket
    Aug 07 13:31:46 lc1 liveconfig[1525]: - /usr/sbin/liveconfig: Connection to MySQL server failed, trying again in 32 second(s). Error 2002: Can't connect to local MySQL server through socket
    Aug 07 13:32:18 lc1 liveconfig[1525]: - /usr/sbin/liveconfig: Database connection failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
    Aug 07 13:32:18 lc1 liveconfig[1525]: - /usr/sbin/liveconfig: LiveConfig 2.6.3-5013 starting...
    Aug 07 13:32:18 lc1 liveconfig[1525]: - /usr/sbin/liveconfig: Database driver loaded: MySQL (10.3.6)
    Aug 07 13:32:18 lc1 liveconfig[1525]: - /usr/sbin/liveconfig: Closing log file
    Aug 07 13:32:18 lc1 systemd[1]: liveconfig.service: Control process exited, code=exited status=1
    Aug 07 13:32:18 lc1 systemd[1]: Failed to start LiveConfig Control Panel.
    -- Subject: Unit liveconfig.service has failed
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    --
    -- Unit liveconfig.service has failed.
    --
    -- The result is failed.
    Aug 07 13:32:18 lc1 systemd[1]: liveconfig.service: Unit entered failed state.
    Aug 07 13:32:18 lc1 systemd[1]: liveconfig.service: Failed with result 'exit-code'.
    lines 1142-1190/1190 (END)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!