1

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

2

1 Answer 1

1

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.

1
  • 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, 2014 at 9:08

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.