table of contents
other versions
- wheezy 2.12.6+deb7u2
- wheezy-backports 2.14.11~bpo70+1
- jessie 2.15.3+deb8u1
- jessie-backports 2.17.5~bpo8+1
- testing 2.17.6
- unstable 2.17.6
DEB-REVERSION(1) | [FIXME: manual] | DEB-REVERSION(1) |
NAME¶
deb-reversion - simple script to change the version of a .deb fileSYNOPSIS¶
deb-reversion
[ options] .deb-file [log message...]
DESCRIPTION¶
OPTIONS¶
-v new-version, --new-version new-versionSpecifies the version number to be used for
the new version. Passed to dch(1).
-o old-version, --old-version old-version
Specifies the version number to be used as the
old version instead of the version stored in the .deb's control file.
-c, --calculate-only
Only calculate and display the new version
number which would be used; do not build a new .deb file. Cannot be used in
conjunction with -v.
-s string, --string string
Instead of using 'LOCAL.' as the version
string to append to the old version number, use string instead.
-k hook-command, --hook hook-command
A hook command to run after unpacking the old
.deb file and modifying the changelog, and before packing up the new .deb
file. Must be in quotes if it is more than one (shell) word. Only one hook
command may be specified; if you want to perform more than this, you could
specify 'bash' as the hook command, and you will then be given a shell to work
in.
-D, --debug
Pass --debug to
dpkg-deb(1).
-b, --force-bad-version
Pass --force-bad-version to
dch(1)
-h, --help
Display usage information.
-V, --version
Display version information.
SEE ALSO¶
DISCLAIMER¶
deb-reversion is a tool intended to help porters with modifying packages for other architectures, and to augment deb-repack, which creates modified packages with identical version numbers as the official packages. Chaos will ensue! With deb-reversion, a proper version number can be selected, which does not obstruct the next official release but can be specifically pinned with APT or held with dpkg. Please take note that deb-reversion does not come without problems. While it works fine in most cases, it may just not in yours. Especially, please consider that it changes binary packages (only!) and hence can break strict versioned dependencies between binary packages generated from the same source. You are using this tool at your own risk and I shall not shed a tear if your gerbil goes up in flames, your microwave attacks the stereo, or the angry slamming of your fist spills your coffee into the keyboard, which sets off a chain reaction resulting in a vast amount of money transferred from your account to mine.AUTHOR¶
deb-reversion is Copyright 2004-5 by martin f. krafft madduck@debian.org and modifications are Copyright 2006 by Julian Gilbey jdg@debian.org. Permission is granted to copy, distribute and/or modify this document under the terms of the Artistic License: http://www.opensource.org/licenses/artistic-license.php. On Debian systems, the complete text of the Artistic License can be found in /usr/share/common-licenses/Artistic. This manual page was written by martin f. krafft madduck@debian.org and modified by Julian Gilbey jdg@debian.org.NOTES¶
February 13, 2006 | [FIXME: source] |