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

Re: backing out from apt-get postinst failures



On Wed, Aug 20, 2003 at 09:00:37AM +0800, Dan Jacobson wrote:
> Colin Watson wrote:
> >Dan Jacobson wrote:
> >> $ apt-get install some_package
> >> gets stuck in some bug in /var/lib/dpkg/info/some_package.postinst
> >> what is the proper way to back out until a newer version is available?
> > 
> > Usually, edit the postinst script until it doesn't get stuck.
> 
> I assume if one does not want to hack the system, the answer would be to
> find a earlier .deb, and use dpkg -i on it.

Or a later one, or whatever, yes. There are some cases (e.g. a broken
prerm) where you have to hack the file in /var/lib/dpkg/info, though.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: