I need to alter a bunch of in-house developed .debs, mainly to remove some dependencies that are common to all those packages. So, my question is do I need to take the source for all of them, and recompile ? Or is there any another way to modify them ( opposed to making a package from scratch ) ? Am I being very off if I say I need to do a dpkg-deb --extract and --control, edit, and then --build ?

link|improve this question

60% accept rate
feedback

1 Answer

up vote 0 down vote accepted

I can't think of any reason why an extract, modify, rebuild wouldn't work, as long as the application will still work without that dependency you are removing.

I wouldn't remove the dependency if the package actually requires the other package. If it is just strongly desired, it probably should have been a recommended.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.