[vz-dev] 'php-apc' has no installation candidate

Andreas Goetz cpuidle at gmail.com
Sun Oct 1 10:56:03 CEST 2017


Hallo Udo,

die ext-dom Meldung heißt dass ein PHP Modul fehlt. Vmtl. braucht phpunit das um XML Files zu lesen.

Du kannst aber einfach ohne die “dev” Requirements installieren:


composer install —no-dev

Geht das?

Viele Grüße, 
Andreas


> On 1. Oct 2017, at 10:45, Udo1 <udo1 at gmx.net> wrote:
> 
> Am 30.09.2017 um 20:15 schrieb Udo1:
>> Doch mehr Probleme:
> 
> Nachdem ich alle Abhängigkeiten auf PHP 7.0 umgeschrieben hatte:
> 
> sudo apt-get install git-core libapache2-mod-php7.0 php7.0-cli php7.0-mysql php-acpu mysql-server mysql-client
> 
> und diese ohne Probleme geladen wurden, versuchte ich das Install-Skript ablaufen zu lassen.
> Ergebnis:
> 
>> pi at volkszaehler:~ $ sudo bash install.sh
>> volkszaehler.org installation script
>> checking prerequisites: php: /usr/bin/php
>> mysql: /usr/bin/mysql
>> awk: /usr/bin/awk
>> sed: /bin/sed
>> grep: /bin/grep
>> wget: /usr/bin/wget
>> mktemp: /bin/mktemp
>> mkdir: /bin/mkdir
>> git: /usr/bin/git
>> checking php version: 7.0.19-1 >= 5.6, ok
>> volkszaehler setup...
>> volkszaehler path? [/var/www/volkszaehler.org]
>> git clone volkszaehler.org into /var/www/volkszaehler.org
>> Cloning into '/var/www/volkszaehler.org'...
>> remote: Counting objects: 11087, done.
>> remote: Compressing objects: 100% (11/11), done.
>> remote: Total 11087 (delta 5), reused 9 (delta 3), pack-reused 11073
>> Receiving objects: 100% (11087/11087), 7.19 MiB | 2.81 MiB/s, done.
>> Resolving deltas: 100% (6085/6085), done.
>> checking composer...
>> /var/www/volkszaehler.org /home/pi
>> composer not found, downloading...
>> All settings correct for using Composer
>> Downloading...
>> Composer (version 1.5.2) successfully installed to: /var/www/volkszaehler.org/composer.phar
>> Use it: php composer.phar
>> /home/pi
>> composer: /var/www/volkszaehler.org/composer.phar
>> installing dependencies...
>> /var/www/volkszaehler.org /home/pi
>> Do not run Composer as root/super user! See https://getcomposer.org/root for details
>> Loading composer repositories with package information
>> Updating dependencies
>> Your requirements could not be resolved to an installable set of packages.
>>  Problem 1
>>    - phpunit/phpunit 5.7.x-dev requires ext-dom * -> the requested PHP extension dom is missing from your system.
> 
> Nach langer Liste mit gleicher Meldung, nur unterschiedlichen Versionsnummern:
> 
>> To enable extensions, verify that they are enabled in your .ini files:
>>    - /etc/php/7.0/cli/php.ini
>>    - /etc/php/7.0/cli/conf.d/10-mysqlnd.ini
>>    - /etc/php/7.0/cli/conf.d/10-opcache.ini
>>    - /etc/php/7.0/cli/conf.d/10-pdo.ini
>>    - /etc/php/7.0/cli/conf.d/20-apcu.ini
>>    - /etc/php/7.0/cli/conf.d/20-apcu_bc.ini
>>    - /etc/php/7.0/cli/conf.d/20-calendar.ini
>>    - /etc/php/7.0/cli/conf.d/20-ctype.ini
>>    - /etc/php/7.0/cli/conf.d/20-exif.ini
>>    - /etc/php/7.0/cli/conf.d/20-fileinfo.ini
>>    - /etc/php/7.0/cli/conf.d/20-ftp.ini
>>    - /etc/php/7.0/cli/conf.d/20-gettext.ini
>>    - /etc/php/7.0/cli/conf.d/20-iconv.ini
>>    - /etc/php/7.0/cli/conf.d/20-json.ini
>>    - /etc/php/7.0/cli/conf.d/20-mysqli.ini
>>    - /etc/php/7.0/cli/conf.d/20-pdo_mysql.ini
>>    - /etc/php/7.0/cli/conf.d/20-phar.ini
>>    - /etc/php/7.0/cli/conf.d/20-posix.ini
>>    - /etc/php/7.0/cli/conf.d/20-readline.ini
>>    - /etc/php/7.0/cli/conf.d/20-shmop.ini
>>    - /etc/php/7.0/cli/conf.d/20-sockets.ini
>>    - /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
>>    - /etc/php/7.0/cli/conf.d/20-sysvsem.ini
>>    - /etc/php/7.0/cli/conf.d/20-sysvshm.ini
>>    - /etc/php/7.0/cli/conf.d/20-tokenizer.ini
>>  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
>> Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.
> 
> Also, die Installation der Middleware schlägt mit dem jetzigen Install-Skript fehl.



More information about the volkszaehler-dev mailing list