Xenial i386にインストールされているパッケージは「インストールできません」

Xenial i386にインストールされているパッケージは「インストールできません」

(元の質問はアクブンツしかし、それは問題ではありません。 Ubuntu 16.04 LTSの標準サポート寿命が終わり、それも重要ではないからです。だから。第三は魅力? )

私が管理しているインストールパッケージの一部は、dist-upgrade最近リポジトリがlibmysqlclient18にアップグレードされたことを確認し、libmysqlclient20それに応じて依存関係を変更する必要がありました。

ただし、今は明らかにインストールできないインストール済みパッケージに依存しているため、アプリをインストールできません。

$ uname -a
Linux myvm 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:00 UTC 2021 i686 i686 i686 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.7 LTS
Release:    16.04
Codename:   xenial

$ sudo apt install ./myapp-dep1.deb ./myapp-dep2.deb ./myapp-bin.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'myapp-dep1' instead of './myapp-dep1.deb'
Note, selecting 'myapp-dep2' instead of './myapp-dep2.deb'
Note, selecting 'myapp-bin' instead of './myapp-bin.deb'
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:
 myapp-bin : Depends: libhpdf (>= 2.2.1) but it is not installable
E: Unable to correct problems, you have held broken packages.

$ apt search libhpdf
Sorting... Done
Full Text Search... Done
libhpdf-2.2.1/xenial,now 2.2.1-1.1 i386 [installed]
  C library for generating pdf files

libhpdf-dev/xenial,now 2.2.1-1.1 i386 [installed]
  C library for generating pdf files (development files)

$ find /usr/lib/ -name "libhpdf*"
/usr/lib/libhpdf.so
/usr/lib/libhpdf-2.2.1.so

私の依存ラインには背中がDEBIAN/control含まれていますが、Depends: .., libhpdf (>=2.2.1), ..私が間違っているのでしょうか?

最初、私は彼らがi386を完全に捨てたと思いましたが、少なくともまだリストにあります。一部買戻契約。これシェニアページXenialがESMの一部であることを宣言します。ESMページXenialでサポートされているアーキテクチャとしてx86を一覧表示します。私たちの会社がESMをサポートしているのだろうか。しかし、非ESMのためにx86を放棄するかどうかについての正式な言葉を得ることはできません。

私はXenialがx86をサポートする最後のバージョンだと思い、その後のバージョンはx86_64のみをサポートしましたが、askubuntuスレッドに対するコメントはそうではありませんでした。

aptitudeSOスレッドが提案したようにインストールしようとしましたが、ローカルの.debファイルをインストールできませんでした。dpkg同様の結果も試してみました。

$ sudo dpkg -i ./myapp-dep1.deb ./myapp-dep2.deb ./myapp-bin.deb
Selecting previously unselected package myapp-dep1.
(Reading database ... 112300 files and directories currently installed.)
Preparing to unpack ./myapp-dep1.deb ...
Unpacking myapp-dep1 (2023.02.01.214-1) ...
Selecting previously unselected package myapp-dep2.
Preparing to unpack ./myapp-dep2.deb ...
Unpacking myapp-dep2 (1.0-1) ...
Selecting previously unselected package myapp-bin.
Preparing to unpack ./myapp-bin.deb ...
Unpacking myapp-bin (1.0-420) ...
Setting up myapp-dep2 (1.0-1) ...
dpkg: dependency problems prevent configuration of myapp-bin:
 myapp-bin depends on libhpdf (>= 2.2.1); however:
  Package libhpdf is not installed.

dpkg: error processing package myapp-bin (--install):
 dependency problems - leaving unconfigured
Setting up myapp-dep1 (2023.02.01.214-1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
 myapp-bin

...まだインストールされているというだけです。

ベストアンサー1

パッケージ名はlibhpdf-2.2.1そのため、依存関係を指定する必要があります。

Depends: ..., libhpdf-2.2.1, ...

おすすめ記事