Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i wanna modify some files in .deb package and upload it to my PPA, is that possible and how to ? Thanks in advance

share|improve this question
Possible duplicate:… – philshem Dec 8 '12 at 17:57

No, this is not possible.

A binary Debian package contains built binaries only and there is no way to retrieve sources from binaries as a lot of information is lost during the process.

If you were to edit only data that are not modified by the compilation process (say configuration files for instance) then you would be able to generate a new .deb file from the old one. However, you will not be allowed to upload this one to your PPA for safety reasons. All the packages in the PPA's must be compiled on the servers sandboxes to prevent malicious modifications of packages. It does not prevent people from possibly building dangerous Debian package, but at least it guarantees that the provided binaries are really the output of the source code compilation process.

share|improve this answer
Hi. What if I don't want to upload package to a repository, but want to rebuild it with different configs (e.g. to share it localy). Do you know how to do it? Maybe you could give some hints, bcause now I even don't get how to search for it – Alissa Jul 22 '14 at 9:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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