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
    • 最新
    • 标签
主页 / user-1178691

Da Kong's questions

Martin Hope
Da Kong
Asked: 2021-02-12 06:25:20 +0800 CST

从 16.04 到 18.04 的依赖关系损坏(libpangoft2-1.0.so.0 中 hb_font_funcs_set_variation_glyph_func 的符号查找错误)

  • 1

我一直在分阶段升级我的操作系统以达到当前的 LTS 版本。昨天我在运行“sudo apt-get update”后运行了“do-release-upgrade”;sudo apt-get 升级;sudo apt-get dist-upgrade' 根据此处帖子中的建议。升级后,出现了许多损坏的依赖项。

现在,synaptic、apt-get和software-properties-gtk以及许多其他重要程序将无法运行,从而产生以下错误:

突触:符号查找错误:/usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0:未定义符号:hb_font_funcs_set_variation_glyph_func

apt --fix-broken installor之类的命令sudo apt-get install -f和其他常见的建议并没有解决这个问题。有不同的策略可以尝试吗?


$ which synaptic
/usr/sbin/synaptic

$ dpkg -S $(which synaptic)
synaptic: /usr/bin/synaptic

$ ldd $(which synaptic) | grep local
# produces no result. 

$ dpkg -S /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
libpangoft2-1.0-0:amd64: /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
$ apt-cache policy synaptic libpangoft2-1.0-0
synaptic:
  Installed: 0.83
  Candidate: 0.84.3ubuntu1
  Version table:
     0.84.3ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
 *** 0.83 100
        100 /var/lib/dpkg/status
libpangoft2-1.0-0:
  Installed: 1.40.14-1ubuntu0.1
  Candidate: 1.40.14-1ubuntu0.1
  Version table:
 *** 1.40.14-1ubuntu0.1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.40.14-1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
spowell@raven:/etc/apt$ apt-cache policy synaptic libpangoft2-1.0-0
synaptic:
  Installed: 0.83
  Candidate: 0.84.3ubuntu1
  Version table:
     0.84.3ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
 *** 0.83 100
        100 /var/lib/dpkg/status
libpangoft2-1.0-0:
  Installed: 1.40.14-1ubuntu0.1
  Candidate: 1.40.14-1ubuntu0.1
  Version table:
 *** 1.40.14-1ubuntu0.1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.40.14-1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

The output of 'dpkg -l | grep ^ii -v' is available at pastebin https://pastebin.com/HhJu3mZu

The output of 'sudo aptitude safe-upgrade' is:

> The following packages will be REMOVED:  
  groff-base{u} libgdbm5{u} libpipeline1{u} man-db{u} 
The following partially installed packages will be configured:
  bsdmainutils libbsd0 liblocale-gettext-perl libsmartcols1 libtinfo5 libuuid1 
0 packages upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 6,017 kB will be freed.
Do you want to continue? [Y/n/?] Y
dpkg: error: duplicate file trigger interest for filename '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders' and package 'libgdk-pixbuf2.0-0:i386'
E: Sub-process /usr/bin/dpkg returned an error code (2)
dpkg: error: duplicate file trigger interest for filename '/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders' and package 'libgdk-pixbuf2.0-0:i386'


do-release-upgrade
  • 1 个回答
  • 151 Views

Sidebar

Stats

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

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve