[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#216949: How do you debug a postinst problem



On Tue, Oct 21, 2003 at 10:23:14PM +0200, Juliusz Chroboczek wrote:
> There does not seem to be any way to find out what the problem is when
> dpkg reports that ``the postinstallation script returned an error code
> of 1''.  This is not a theoretical issue -- I've been unable to provide
> useful report for bug 216944.

postinst is easy. Edit /var/lib/dpkg/info/foo.postinst and then run it.

preinst is the tricky one, you have to apply dpkg-deb to unpack the
thing first.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature


Reply to: