AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 1077411
Accepted
martintrapp
martintrapp
Asked: 2021-09-14 03:15:17 +0800 CST2021-09-14 03:15:17 +0800 CST 2021-09-14 03:15:17 +0800 CST

无法安装 lsphp74-imagick:未满足的依赖项

  • 772

我有一个在 Amazon Lightsail 上运行的 Ubuntu 20.04 LTS 实例,但我无法安装lsphp74-imagick。

$ sudo apt install lsphp74-imagick

回复:

The following packages have unmet dependencies:
lsphp74-imagick : 
Depends: libmagickcore-6.q16-3 (>= 8:6.9.6.8) but it is not installable               
Depends: libmagickwand-6.q16-3 (>= 8:6.9.6.8) but it is not installable
Recommends: ttf-dejavu-core but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

对于 libmagickcore,我得到以下信息:

$ sudo apt install libmagickcore-6.q16-3
..
E: Package 'libmagickcore-6.q16-3' has no installation candidate

不知道从这里去哪里。有人遇到过这个吗?

任何帮助表示赞赏。

ubuntu php litespeed
  • 1 1 个回答
  • 381 Views

1 个回答

  • Voted
  1. Best Answer
    djdomi
    2021-09-22T05:06:48+08:002021-09-22T05:06:48+08:00

    原始问题听起来像一个存储库问题。就是这样。

    要解决这个问题:

    自动安装存储库

    wget -O - http://rpms.litespeedtech.com/debian/enable_lst_debian_repo.sh | bash
    

    手动修复

    您可能会发现过时的行

    grep -Ri litespeedtech /etc/apt/*
    

    安装 GPG 密钥和源

    wget -qO - https://rpms.litespeedtech.com/debian/lst_repo.gpg | sudo apt-key add -
    sudo echo "deb http://rpms.litespeedtech.com/debian/ focal main" > /etc/apt/sources.list.d/openlitespeed.list
    

    然后运行apt-get update,它应该消失了。

    • 1

相关问题

  • 无法通过 Ubuntu VPN 访问外部网络

  • ubuntu apt-get upgrade - 如何在 shell 中单击确定?

  • VirtualBox 上 Ubuntu 的访客优化技巧 [关闭]

  • 外部硬盘上的 virtualbox 虚拟硬盘驱动器(Vista 主机上的 ubuntu 客户机)

  • 如何在 Ubuntu 上挂载 LVM 分区?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve