OnWorks favicon

deb-reversion - Online in the Cloud

Run deb-reversion in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command deb-reversion that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



deb-reversion - simple script to change the version of a .deb file


deb-reversion [options] .deb-file [log message...]


deb-reversion unpacks the specified .deb file, changes the version number in the relevant
locations, appends a Debian changelog entry with the specified contents, and creates a new
.deb file with the updated version.

By default, the tool creates a new version number suitable for local changes, such that
the new package will be greater than the current one, but lesser than any future, official
Debian packages. With -v version, the version number can be specified directly. On the
other hand, the -c simply calculates the new version number but does not generate a new

When building a .deb file, root privileges are required in order to have the correct
permissions and ownerships in the resulting .deb file. This can be achieved either by
running deb-reversion as root or running under fakeroot(1), as 'fakeroot deb-reversion

With -k hook, a hook script may be specified, which is run on the unpacked binary packages
just before it is repacked. If you want to write changelog entries from within the hook,
use 'dch -a -- your message'. (Alternatively, do not give a changelog entry on the
deb-reversion command line and dch will be called automatically.) The hook command must be
placed in quotes if it has more than one word; it is called via sh -c.


-v new-version, --new-version new-version
Specifies 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.

Use deb-reversion online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Mit dem Programm kann man schnell und
    einfach Pausen bei Sportveranstaltungen
    mit Musik �berbr�cken. Hierf�r haben sie
    die M�glichkeit, folgende Wiedergabvaria...
    Download SportMusik
  • 2
    DavMail POP/IMAP/SMTP/Caldav to Exchange
    DavMail POP/IMAP/SMTP/Caldav to Exchange
    Ever wanted to get rid of Outlook ?
    DavMail is a
    gateway allowing users to use any mail
    client with Exchange and Office 365, e...
    Download DavMail POP/IMAP/SMTP/Caldav to Exchange
  • 3
    DivFix++ is yours AVI video repair and
    preview software. It designed for repair
    and preview files which are on download
    from ed2k(emule), torrent, gnutella, ftp...
    Download DivFix++
  • 4
    JBoss Community
    JBoss Community
    Community driven projects featuring the
    latest innovations for cutting edge
    apps. Our flagship project JBoss AS is
    the leading Open Source,
    Download JBoss Community
  • 5
    Mindustry is a tower-defense sandbox
    factory game. Build supply chains of
    conveyor belts to fuel your turrets,
    produce materials for building, and
    defend your ...
    Download Mindustry
  • 6
    Django Filer
    Django Filer
    django Filer is a file management
    application for django that makes
    handling files and images a breeze.
    django-filer is a file management
    application for djang...
    Download Django Filer
  • 7
    Extreme Cluster Administration Toolkit.
    xCAT is a scalable cluster management
    and provisioning tool that provides
    hardware control, discovery, and OS
    Download xCAT
  • More »

Linux commands