为什么存在两个 libpango?

为什么存在两个 libpango?
$ dpkg -l '*pango*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version           Architecture      Description
+++-=========================-=================-=================-========================================================
ii  gir1.2-pango-1.0          1.32.5-5ubuntu1   amd64             Layout and rendering of internationalized text - gir bin
ii  libcogl-pango12:amd64     1.14.0-2          amd64             Object oriented GL/GLES Abstraction/Utility Layer
ii  libpango-1.0-0:amd64      1.32.5-5ubuntu1   amd64             Layout and rendering of internationalized text
ii  libpango1.0-0:amd64       1.32.5-5ubuntu1   amd64             Layout and rendering of internationalized text
ii  libpangocairo-1.0-0:amd64 1.32.5-5ubuntu1   amd64             Layout and rendering of internationalized text
ii  libpangoft2-1.0-0:amd64   1.32.5-5ubuntu1   amd64             Layout and rendering of internationalized text
ii  libpangomm-1.4-1:amd64    2.34.0-1          amd64             C++ Wrapper for pango (shared libraries)
ii  libpangox-1.0-0:amd64     0.0.2-4           amd64             pango library X backend
ii  libpangoxft-1.0-0:amd64   1.32.5-5ubuntu1   amd64             Layout and rendering of internationalized text

这里为什么libpango有两个?

一个是libpango-1.0-0:amd64,另一个是吗libpango1.0-0:amd64

答案1

libpango1.0-0只是一个过渡包。过渡包的存在只是为了让升级顺利进行,如果某些包仍然依赖于这些包,这样它们就不会以未满足的依赖关系而告终。这些包通常是在原始包在某处重命名时创建的。如果没有包依赖于此包,则可以毫无问题地将其删除。

apt-cache show libpango-1.0-0 libpango1.0-0
Package: libpango-1.0-0
Description-en: Layout and rendering of internationalized text
 Pango is a library for layout and rendering of text, with an emphasis
 on internationalization. Pango can be used anywhere that text layout is
 needed. however, most of the work on Pango-1.0 was done using the GTK+
 widget toolkit as a test platform. Pango forms the core of text and
 font handling for GTK+-2.0.
 .
 Pango is designed to be modular; the core Pango layout can be used with
 four different font backends:
  - Core X windowing system fonts
  - Client-side fonts on X using the Xft library
  - Direct rendering of scalable fonts using the FreeType library
  - Native fonts on Microsoft backends
 .
 This package contains the shared libraries.

Package: libpango1.0-0
Description-en: Layout and rendering of internationalized text
 Pango is a library for layout and rendering of text, with an emphasis
 on internationalization. Pango can be used anywhere that text layout is
 needed. however, most of the work on Pango-1.0 was done using the GTK+
 widget toolkit as a test platform. Pango forms the core of text and
 font handling for GTK+-2.0.
 .
 Pango is designed to be modular; the core Pango layout can be used with
 four different font backends:
  - Core X windowing system fonts
  - Client-side fonts on X using the Xft library
  - Direct rendering of scalable fonts using the FreeType library
  - Native fonts on Microsoft backends
 .
 This is a transitional package.

答案2

它们实际上是两个不同的包(虽然相当令人困惑)

实际上,libpango1.0-0 依赖于 libpango-1.0-0

快速 dpkg -L 显示

libpango1.0-0:
/usr/share/doc/libpango1.0-0/AUTHORS
/usr/share/doc/libpango1.0-0/NEWS.gz
/usr/share/doc/libpango1.0-0/README
/usr/share/doc/libpango1.0-0/THANKS
/usr/share/doc/libpango1.0-0/changelog.Debian.gz
/usr/share/doc/libpango1.0-0/copyright
libpango-1.0-0:
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.3200.5
/usr/share/doc/libpango-1.0-0/AUTHORS
/usr/share/doc/libpango-1.0-0/NEWS.gz
/usr/share/doc/libpango-1.0-0/README
/usr/share/doc/libpango-1.0-0/THANKS
/usr/share/doc/libpango-1.0-0/changelog.Debian.gz
/usr/share/doc/libpango-1.0-0/copyright

相关内容