[Techtalk] Urgent Help needed (long post)

Akkana Peck akkana at shallowsky.com
Thu Mar 5 17:00:27 UTC 2009


Figaro writes:
> The whole show is stopped by the preinst script which complains about
> missing init script for postgresql and xscreensaver. There is an
> /etc/init.d/postgresql-8.3 which until recent lockup automatically
> started postgresql-8.3 (indeed still does if manually issued). No
> xscreensaver init script (never has been one on this sys).
> Than we get to the "touch: setting times of `/etc/ld.so.nohwcap':
> Invalid argument" , which I think really has no serious meaning.

When you have apt/dpkg failing because of a pre/postinst script,
sometimes the easiest thing to do is just modify the script.
It's a lot easier than trying to persuade dpkg to ignore it or
proceed past the errors.

I've gotten stuck like that a few times, where there was no way to
satisty a script because of a circular dependency or some issue
peculiar to my system. But since they're just shell scripts, you can
go in and edit them, comment out the lines that are causing problems
or put in an "exit 0" at the top of the script before it gets to the
problematic part.

	...Akkana


More information about the Techtalk mailing list