我正在尝试构建一个依赖于 libssl 的包。我的控制文件如下所示:
Architecture: i386
Maintainer: Name
Installed-Size: 938
Depends: libc6 (>= 2.7), libncursesw5 (>= 5.5-5~), libssl1.0.2 (>= 1.0.2~)
然而,我不断得到:
dpkg: dependency problems prevent configuration of package:
package depends on libssl1.0.2 (>= 1.0.2~); however:
Package libssl1.0.2 is not installed.
当我跑步时dpkg -l | grep ssl
,我得到
ii libssl-dev:i386 1.0.2g-1ubuntu4.15 i386 Secure Sockets Layer toolkit - development files
ii libssl-doc 1.0.2g-1ubuntu4.15 all Secure Sockets Layer toolkit - development documentation
ii libssl1.0.0:i386 1.0.2g-1ubuntu4.15 i386 Secure Sockets Layer toolkit - shared libraries
ii libwavpack1:i386 4.75.2-2ubuntu0.2 i386 audio codec (lossy and lossless) - library
ii openssl 1.0.2g-1ubuntu4.14 i386 Secure Sockets Layer toolkit - cryptographic utility
我是否必须指定依赖项libssl1.0.2 (= 1.0.2g-1ubuntu4.15)
?有没有办法不那么具体,因为这意味着我必须为 Ubuntu 和 Debian 中的几乎每个发行版打包。谢谢
答案1
libssl1.0.2不是包裹库带版本1.0.2,但包名为libssl1.0.2.
您的软件包依赖于:
libssl1.0.2
但是你安装的包是:
libssl1.0.0
要使您的包依赖于您安装的版本(或更高版本):
libssl1.0.0 (>=1.0.2g-1ubuntu4.15)