1. Unpack the Deb with the following line

mkdir temp; dpkg-deb –extract mypack.deb temp

What is being done to the left of the, is to create a directory

where temporary unpacking the deb. On the right, is specified

that unpacking the deb in the directory you created earlier.

  1. Now extracting control package temporary / DEBIAN with the following line:

dpkg-deb –control mypack.deb temp/DEBIAN

  1. Now edit the temporary file / DEBIAN / control changes fights that we want.

  2. The repackaging. Deb with the following line:

dpkg –build temp; get your new pack.deb

  1. Now we can install our new package with the command

sudo dpkg -i mypack.deb