debian packages have another hidden 'debian' folder that contain install scipts. sometimes these need to be run, as in the case of some python apps (openshot for instance has an update python modules script).

i know that 'file roller' can extract these from the .deb and rcrsn5's 'debbi' can install a .deb and run the scripts.

it would be nice to have the option either to extract the scripts or run them

I've been concentrating on getting my extraction programs to work correctly
even when the packages have whitespace in their name. This happens
(albeit rarely) when the Windows downloader finds a similar file
stored on your hard disk so it makes a name change automatically
during the download. The file isn't corrupted at all . It's just that the
filename now has a space . An example --->

Code:

bash_advanced_guide-6.6e (1).pet

I think I have it fixed for extract-pet v1.4 so I'll concentrate on
Extract-debian now.

debbi uses dpkg-deb with -x (extract ie install the files to the system, debbi does not just extract the files to the dedicated folder like extracted-debian, it installs them to the system.
Next....debbi extracts the DEBIAN folder with control files..amongst them is also postinst script. dpkg-deb -e.
With openshot it executes update-python-modules openshot.public and some other commands.
Then it removes the DEBIAN folder.

For Openshot, you need to have python-support .deb installed to have update-python-modules binary for use. It is not in Precise Puppy. I include that python-support .deb now to the Upup Precise.

So....for having .deb installed and also the possible postinst script executed, you need to use dpkg-deb -x (extract the files) and dpkg-deb -e (extract the DEBIAN control folder content) parameters and also you need to run postinst script and also you need to have needed binaries and other stuff in place if the postinst script calls them.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum