16.041 LTS Avantfax Не удалось установить
Я хотел бы установить Hylafax+ Avantfax на Ubuntu 16.04 X64 Desktop LTS, я нашел эту статью https://www.howtoforge.com/build-a-hylafax-server-with-avantfax-on-debian-etch/
Это для Debian, но насколько я знаю, он должен работать и на Ubuntu.
Я пробовал эту статью на Debian 8X и Ubuntu 16.04, но он продолжает сбой
apt-get install apache2-mpm-prefork apache2-utils apache2.2-common \
libapache2-mod-php5 libapr1 libaprutil1 libpq4 libsqlite3-0 php5-cli php5-common \
mysql-server imagemagick libtiff4-dev netpbm libnetpbm10-dev libungif-bin \
libungif4-dev sudo postfix php-mail php-mail-mime php-file php-db php5-mysql \
psutils wdiff
часть. И на Debian, и на Ubuntu я получаю вывод ниже:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'giflib-tools' instead of 'libungif-bin'
Package apache2.2-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
apache2:i386 apache2
Package libapache2-mod-php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libtiff4-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libtiff5-dev:i386 libtiff5-dev
Package php5-cli is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
php7.0-cli:i386 php7.0-cli
Package php5-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php5-mysql is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package apache2-mpm-prefork is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'apache2-mpm-prefork' has no installation candidate
E: Package 'apache2.2-common' has no installation candidate
E: Package 'libapache2-mod-php5' has no installation candidate
E: Unable to locate package libpq4
E: Package 'php5-cli' has no installation candidate
E: Package 'php5-common' has no installation candidate
E: Package 'libtiff4-dev' has no installation candidate
E: Unable to locate package libungif4-dev
E: Unable to locate package php-file
E: Package 'php5-mysql' has no installation candidate
Насколько я понимаю из вывода, большинство пакетов были изменены, переименованы или заменены некоторыми другими пакетами.
Как новичок в Linux, я понятия не имею, как решить эту проблему, не могли бы вы, ребята, подсказать мне, как решить эту проблему.
1 ответ
По сути, avantfax не собран (и не исправлен) для php7 (который является php по умолчанию для Ubuntu 16.04), поэтому вам нужно сначала скомпилировать или установить php5, прежде чем продолжить. Обратитесь к этому сообщению за ответом (который предназначен для nginx): https://www.howtoforge.com/community/threads/ubuntu-16-04-hylafax-avantfax.76168/.