Article 6FDGM Replace .deb file content

Replace .deb file content

by
coltson
from LinuxQuestions.org on (#6FDGM)
Hi. I have a .deb file that my archive manager tells is constituted by two files: control.tar.gz and data.tar.xz

I want to replace data.tar.xz by data.tar.gz. So I extracted data.tar.xz, which resulted in three folders: etc,lib and usr. I compressed the three into a single data.tar.gz.

Then I used my archive manager to open again my .deb file. Then I was ready to delete the data.tar.xz and replace it with the tar.gz.

However, the option to delete it, was disabled, as the option to add files.

So, How should I proceed? Do I have to create a new deb file from scratch?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments