Re: How to unpack an repack a deb package?

2016-08-26 Thread basti
Hello, dpkg-deb is your friend. Have a look at http://unix.stackexchange.com/questions/138188/easily-unpack-deb-edit-postinst-and-repack-deb But keep in mind, with other dependencies you should rebuild the package. Best Regards, basti On 26.08.2016 16:01, Mark Fletcher wrote: > > > On Fri,

Re: How to unpack an repack a deb package?

2016-08-26 Thread Mark Fletcher
On Fri, Aug 26, 2016 at 9:04 PM Hans wrote: > Dear list, > > I need to unpack and repack a debian package. Reason: I want to change the > dependencies in that package. > > I'm reminded of the old IT and general-corporate saying, "Once you open a can of worms, the only way

Re: How to unpack an repack a deb package?

2016-08-26 Thread Hans
Hi Christian, > Well, the easiest way to do so, if you have Debian's packaging tools > (notably dpkg-deb and fakeroot) installed: > > ($DIR/ shouldn't exist prior to this and could be the package name) > dpkg-deb -x package.deb $DIR/ > dpkg-deb -e package.deb $DIR/DEBIAN > $EDITOR

Re: How to unpack an repack a deb package?

2016-08-26 Thread Christian Seiler
On 08/26/2016 02:03 PM, Hans wrote: > I need to unpack and repack a debian package. Reason: I want to change the > dependencies in that package. > > How can I do that? I imagine, to unpack the *.deb, then edit my control file, > after that pack it again. Well, the easiest way to do so, if

How to unpack an repack a deb package?

2016-08-26 Thread Hans
Dear list, I need to unpack and repack a debian package. Reason: I want to change the dependencies in that package. How can I do that? I imagine, to unpack the *.deb, then edit my control file, after that pack it again. Is it that easy? I googled, but ar -x paket.deb /tmp/paket did not