http://people.debian.org/~calvin/unofficial/ epoch This is a single (generally small) unsigned integer. It may be
omitted, in which case zero is assumed. If it is omitted then
the upstream_version may not contain any colons.
It is provided to allow mistakes in the version numbers of older
versions of a package, and also a package’s previous version
numbering schemes, to be left behind.
https://wiki.debian.org/Java/Sun
Download the appropriate JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html
Type in the following command:
$ make-jpkg <downloaded_jdk_file>
http://stackoverflow.com/questions/130894/how-to-build-a-debian-ubuntu-package-from-source
echo 'nullidentd hold' | dpkg --set-selectionsAlternately, since you are building from source, you can use an epoch to set the version number artificially high and never be bothered again. To use an epoch, add a new entry to the debian/changelog file, and put a 99: in front of the version number. Given my nullidentd example, the first line of your updated changelog would read:
nullidentd (99:1.0-4) unstable; urgency=low
put "debian" directory from original package to your source directory
use "dch" to update version of package
use "debuild" to build the package
http://myitcorner.com/blog/?p=217 Making Debian library package with dh_make
http://wiki.ubuntu.org.cn/PackagingGuide 打包说明
http://guoshaoguang.com/blog/2013/04/03/rpm%E8%BD%AC%E6%8D%A2%E6%88%90deb/ rpm转换成deb