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 ?


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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