Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #171453
| From | Hans <hans.ullrich@loop.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to unpack an repack a deb package? |
| Date | 2016-08-26 15:00 +0200 |
| Message-ID | <saoTL-7aM-19@gated-at.bofh.it> (permalink) |
| References | <sao7o-6JI-17@gated-at.bofh.it> <saoqJ-6S0-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 $DIR/DEBIAN/control > fakeroot dpkg-deb -b $DIR package_repacked.deb > rm -r $DIR > Yes, great, this worked! I just needed to change the deps od an external package (fakturama*.deb) from openjdk-7-jre-headless to openjdk-8-jre-headless as the old 7-package would break my system. Doing as you suggested works well and I will send the developer a mail. What also should work is dpkg --unpack bla.deb /whatever/bla. Howver, I did not know, that the DEBIAN directory must be unpacked manually, too. Most important: It si working as I wanted, and I have learned something more. Isn't that the most important? Learning? Haved a nice weekend and thank you very much! > Regards, > Christian Best Hans
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to unpack an repack a deb package? Hans <hans.ullrich@loop.de> - 2016-08-26 14:10 +0200
Re: How to unpack an repack a deb package? Christian Seiler <christian@iwakd.de> - 2016-08-26 14:30 +0200
Re: How to unpack an repack a deb package? Hans <hans.ullrich@loop.de> - 2016-08-26 15:00 +0200
Re: How to unpack an repack a deb package? Mark Fletcher <mark27q1@gmail.com> - 2016-08-26 16:10 +0200
Re: How to unpack an repack a deb package? basti <black.fledermaus@arcor.de> - 2016-08-26 16:20 +0200
csiph-web