severity 362488 important tag 362488 moreinfo unreproducible thanks Hi Ryan,
Ryan Murray [2006-04-13 11:10 -0700]: > Removing postgresql-8.1 ... > /etc/init.d/postgresql-8.1: line 3: > /usr/share/postgresql-common/init.d-functions: No such file or directory > invoke-rc.d: initscript postgresql-8.1, action "stop" failed. > dpkg: error processing postgresql-8.1 (--purge): > subprocess pre-removal script returned error exit status 1 > /var/lib/dpkg/info/postgresql-8.1.postinst: line 5: > /usr/share/postgresql-common/maintscripts-functions: No such file or directory Hmm, that looks fishy. What exactly did you do, i. e. which packages did you have installed and what did you do to get into this situation? Did you happen to have purged postgresql-common (with --force-depends) while leaving postgresql-8.1 installed? I can't see why purging postgresql-8.1 (when it's already removed) would call the init script at all; the postinst itself doesn't do it. I also tried this myself: dpkg -r postgresql-8.1 postgresql-common postgresql-client-8.1 postgresql-client-common dpkg -P postgresql-8.1 works just fine here, as well as directly purging the packages in one step. I see that the init script should just silently succeed if postgresql-common is not installed any more. I will fix that in postgresql-8.1, but I want to understand why the init script was called at all during purge. Thanks for any further information, and have nice Easter holidays! Martin -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]