При установке php-imagick не хочет ни в какую ставиться че делать?

ОС
cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.7 LTS"
NAME="Ubuntu"
VERSION="16.04.7 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.7 LTS"
VERSION_ID="16.04"
HOME_URL="www.ubuntu.com"
SUPPORT_URL="help.ubuntu.com"
BUG_REPORT_URL="bugs.launchpad.net/ubuntu"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
subaru@subaru:~$


PHP

на сервере установлено несколько версий пхп
5.6 7.0 7.1 7.2 7.3
nginx +fpm
как ставили не совсем понятно в логах уже ничего нет, дефолнтая 7.1
Как и на сайте собственно
$ php -v
PHP 7.1.33-34+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Feb 23 2021 15:05:35) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.1.33-34+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
    with Xdebug v2.7.2, Copyright (c) 2002-2019, by Derick Rethans



sources.list
# newer versions of the distribution.
deb MS1.clouds.archive.ubuntu.com/ubuntu xenial main restricted
deb-src MS1.clouds.archive.ubuntu.com/ubuntu xenial main restricted

# # Major bug fix updates produced after the final release of the
# # distribution.
deb MS1.clouds.archive.ubuntu.com/ubuntu xenial-updates main restricted
deb-src MS1.clouds.archive.ubuntu.com/ubuntu xenial-updates main restricted

# # N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
# # team. Also, please note that software in universe WILL NOT receive any
# # review or updates from the Ubuntu security team.
deb MS1.clouds.archive.ubuntu.com/ubuntu xenial universe
deb-src MS1.clouds.archive.ubuntu.com/ubuntu xenial universe
deb MS1.clouds.archive.ubuntu.com/ubuntu xenial-updates universe
deb-src MS1.clouds.archive.ubuntu.com/ubuntu xenial-updates universe

# # N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
# # team, and may not be under a free licence. Please satisfy yourself as to
# # your rights to use the software. Also, please note that software in
# # multiverse WILL NOT receive any review or updates from the Ubuntu
# # security team.
deb MS1.clouds.archive.ubuntu.com/ubuntu xenial multiverse
deb-src MS1.clouds.archive.ubuntu.com/ubuntu xenial multiverse
deb MS1.clouds.archive.ubuntu.com/ubuntu xenial-updates multiverse
deb-src MS1.clouds.archive.ubuntu.com/ubuntu xenial-updates multiverse

# # N.B. software from this repository may not have been tested as
# # extensively as that contained in the main release, although it includes
# # newer versions of some applications which may provide useful features.
# # Also, please note that software in backports WILL NOT receive any review
# # or updates from the Ubuntu security team.
deb MS1.clouds.archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb-src MS1.clouds.archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

deb security.ubuntu.com/ubuntu xenial-security main restricted
deb-src security.ubuntu.com/ubuntu xenial-security main restricted
deb security.ubuntu.com/ubuntu xenial-security universe
deb-src security.ubuntu.com/ubuntu xenial-security universe
deb security.ubuntu.com/ubuntu xenial-security multiverse
deb-src security.ubuntu.com/ubuntu xenial-security multiverse


/etc/apt/sources.list

find /etc/apt/sources.list.d -type f -exec cat {} \;  | grep -v "#"
deb http://repo.percona.com/prel/apt xenial main
deb-src http://repo.percona.com/prel/apt xenial main
deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
deb http://repo.percona.com/percona/apt xenial main
deb-src http://repo.percona.com/percona/apt xenial main
deb http://repo.percona.com/apt xenial main
deb-src http://repo.percona.com/apt xenial main

deb http://repo.percona.com/percona/apt xenial main
deb-src http://repo.percona.com/percona/apt xenial main
deb http://repo.percona.com/percona/apt xenial main
deb-src http://repo.percona.com/percona/apt xenial main
deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
deb http://repo.percona.com/prel/apt xenial main
deb-src http://repo.percona.com/prel/apt xenial main
deb https://esm.ubuntu.com/infra/ubuntu xenial-infra-security main

deb https://esm.ubuntu.com/infra/ubuntu xenial-infra-updates main
deb http://ppa.launchpad.net/certbot/certbot/ubuntu xenial main
deb http://repo.percona.com/apt xenial main
deb-src http://repo.percona.com/apt xenial main

deb http://ppa.launchpad.net/certbot/certbot/ubuntu xenial main
deb https://deb.nodesource.com/node_9.x xenial main
deb-src https://deb.nodesource.com/node_9.x xenial main
deb https://deb.nodesource.com/node_9.x xenial main
deb-src https://deb.nodesource.com/node_9.x xenial main
deb https://esm.ubuntu.com/infra/ubuntu xenial-infra-security main

deb https://esm.ubuntu.com/infra/ubuntu xenial-infra-updates main


sudo apt install php-imagick
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 php-common : Breaks: php-imagick (< 3.4.0~rc6-2~) but 3.4.0~rc6-1ubuntu3 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
  • Вопрос задан
  • 275 просмотров
Решения вопроса 2
Antichrest
@Antichrest
I know only 3 thing: truth, lie and justice
Я тестировал на ядре Linux Ubuntu для Windows, попробуй поочерёдно вводить в строку следующее:
$ apt-get update
$ apt-get autoremove
$ apt-get install libmagickwand-dev
$ apt-get install imagemagick

И наконец-то, сама команда, которая спотыкалась
$ sudo apt install php-imagick
Ответ написан
ThunderCat
@ThunderCat
{PHP, MySql, HTML, JS, CSS} developer
sudo apt-get install php-imagick
https://askubuntu.com/questions/769396/how-to-inst...

You may need to run apt-get update and apt-get upgrade (or apt-get dist-upgrade prior to running apt-get install php-imagick
Ответ написан
Пригласить эксперта
Ответы на вопрос 1
shambler81
@shambler81 Автор вопроса
Подкинул короче с дев сервера imagick.so и все заработало
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы