Is it possible to edit an existing *.deb package?
This is a general *.deb package question, although the package in question happens to be a kernel package. There is all kinds of info on building a *.deb file from scratch, but I can't seem to find any info on editing an existing *.deb file.
I built a customized Debian kernel via make-kpkg, it produced a *.deb that I installed via dpkg. However, I noticed that I fat-fingered the "--version" parameter on the command-line, so I deleted the *.deb and recompiled with a proper "--version".
Looking back, would it have been feasible to un-archive the *.deb, edit the "control" file to change the version, re-archive the *.deb and install it?
It seems to me that this may not have worked, since I am assuming (hoping) that such messing around with a Debian package would cause dpkg a problem.