我想创建一个现有包的 deb 包,但包含更新的代码。 origin 包依赖于libc
.运行后debuild -us -uc -b
我得到了新的包,但它依赖于libc-amd64
.该库不存在,我无法安装该包。在debian/control
我看来Depends: ${shlibs:Depends}
。
好的,libc-amd64
确实存在并且已经安装,但是安装失败:
$ sudo dpkg -D400 -i ../apackage_0.23-git20150520_amd64.deb
Preparing to unpack .../apackage_0.23-git20150520_amd64.deb ...
Unpacking apackage (0.23-git20150520) over (0.22-2) ...
D000400: checking group ...
D000400: checking possibility -> libc6-amd64
D000400: found 0
D000400: found 0 matched 0 possfixbytrig -
...
dpkg: dependency problems prevent configuration of apackage:
apackage depends on libc6-amd64 (>= 2.15).
dpkg: error processing package apackage (--install):
dependency problems - leaving unconfigured
$ dpkg -l libc6-amd64
ii libc6-amd64 2.19-0ubuntu6.6 i386
$ dpkg --print-architecture
amd64
$ dpkg --print-foreign-architectures
i386
$ dpkg -l libc6-dev
ii libc6-dev:amd64 2.19-0ubuntu6.6 amd64
ii libc6-dev:i386 2.19-0ubuntu6.6 i386
$ dpkg -l libc6-dev-amd64
ii libc6-dev-amd64 2.19-0ubuntu6.6 i386
$ dpkg -l libc6-dev-i386
dpkg-query: no packages found matching libc6-dev-i386