[maemo-developers] [maemo-developers] Recovering from bad package install
From: Vladislav Grinchenko vladislav.grinchenko at comtechmobile.comDate: Wed Jan 18 19:04:07 EET 2006
- Previous message: [maemo-developers] Recovering from bad package install
- Next message: [maemo-developers] Recovering from bad package install
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 2006-01-18 at 21:58 +0100, Simon Budig wrote: > Neil Jerram (neil at ossau.uklinux.net) 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
- Previous message: [maemo-developers] Recovering from bad package install
- Next message: [maemo-developers] Recovering from bad package install
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]