On Wed, 2006-01-18 at 21:58 +0100, Simon Budig wrote: > Neil Jerram ([EMAIL PROTECTED]) wrote: > > If I accidentally try to install a package with a preinst or postrm > > script, it fails as documented at > > http://www.maemo.org/platform/docs/howtos/howto_making_an_application_package.html, > > with an error message about not being able to chroot to > > /var/lib/install. > > > > My question is: having done this, how can I recover back to a sane > > state, where I can fix the package and then try installing it again? > > Nothing that I can think of works, as shown by the transcript appended > > below. > > For me it helped to remove the preinst and postrm scripts manuall. > > Bye, > Simon
You might also need to adjust "Status:" line an offending package in /var/lib/install/var/lib/dpkg/status to mark the package as not installed. -Vlad _______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
