16.041 LTS Avantfax 安装失败

16.041 LTS Avantfax 安装失败

我想在 Ubuntu 16.04 X64 Desktop LTS 上安装 hylafax+avantfax,我找到了这篇文章https://www.howtoforge.com/build-a-hylafax-server-with-avantfax-on-debian-etch/#comments

它适用于 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(Ubuntu 16.04 的默认 php)构建的(也不是固定的),因此您需要先编译或安装 php5 才能继续。请参阅此帖子以获取答案(适用于 nginx):https://www.howtoforge.com/community/threads/ubuntu-16-04-hylafax-avantfax.76168/#post-359073

相关内容