开发者

Trying to create a package for debian with java

开发者 https://www.devze.com 2023-01-12 23:50 出处:网络
I\'m trying to create a package which depends exactly on sun-java6-jre (other variants don\'t work in this case) and build-depends on sun-java6-jdk. Unfortunately pbuilder doesn\'t want to work this w

I'm trying to create a package which depends exactly on sun-java6-jre (other variants don't work in this case) and build-depends on sun-java6-jdk. Unfortunately pbuilder doesn't want to work this way:

  1. it installs openjdk-6-jre as a dependency
  2. it returns pbuilder-satisfydepends-dummy: Depends: sun-java6-jdk which is a virtual pac开发者_如何学JAVAkage.

Which I don't understand since this is not a virtual package and my debian/control explicitly lists:

Build-Depends: debhelper (>= 7), sun-java6-jdk, sun-java6-jre, java2-runtime, java-virtual-machine, libunixsocket-java, ant
Depends: ${shlibs:Depends}, ${misc:Depends}, sun-java6-jre, cron, sqlite3, libunixsocket-java

I'm using the pbuilder environment with basic lenny.


Have you enabled non-free repositories in /etc/apt/sources.list inside the pbuilder chroot?

0

精彩评论

暂无评论...
验证码 换一张
取 消