View Single Post
Posts: 109 | Thanked: 84 times | Joined on Sep 2014 @ India
#5
Originally Posted by coderus View Post
you need to execute scripts, and add entry to dpkg status file
Exactly.
what are these scripts? where are they? if u are talking about postinst, preinst, etc located in the DEBIAN directory, then some packages (like dropcache, devel-su, glol) don't even have these files in them, still they do not work on just copying the contents

And where is this dpkg status file located?
Also dpkg creates a .list file in /var/lib/dpkg/info, previously I installed the package and recovered the .list created by dpkg and used that
How do create that from the package itself, without installing it?