I have a deb package provided by an organization. I found that there was bugs in the code(python). Thus,
- I unpack it with "ar xv abc.deb"
- unpack tar.gz with "tar zxvf control.tar.gz data.tar.gz"
- fix bugs
- update md5sum
- packing control.tar.gz with "tar zcvf control md5sum postinst prerm"
- packin开发者_开发问答g data.tar.gz with "tar zcvf data.tar.gz usr"
- make deb with "ar rcv abc_patch.deb debian-binary control.tar.gz data.tar.gz"
- put abc_patch.deb in my own ppa
However, I then apt-get install abc_patch.deb but it raised "size mismatch".
Did I make any mistake in patching the deb package ?
Update the minor version in the control file?
精彩评论