Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I need instructions on how to do repackage a .deb package.

Situation:

I have a .deb package for an application with no source. I need to modify a Description field, save the file change and repackage back into a .deb package.

Is there a step by step on how to do that?

share|improve this question
    
See also How to create a DEB file manually? –  Gilles May 5 '12 at 0:24
add comment

1 Answer 1

up vote 5 down vote accepted

You need to modify the control file. This is the process:

dpkg-deb -x foo.deb tmpdir
dpkg-deb --control foo.deb tmpdir/DEBIAN
nano tmpdir/DEBIAN/control
dpkg -b tmpdir modified.deb
share|improve this answer
add comment

Your Answer

 
discard

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.