Sunday, October 2, 2022

invoke-rc.d: initscript postgresql, action "stop" failed

 untuk atasi masalah ini, kena tambah line exit 0. maka... edit dengan mana-mana editor

/var/lib/dpkg/info/postgresql*.prerm

dan tambah exit 0 bawah line set -e, seperti di bawah.

#!/bin/sh

set -e

exit 0

VERSION=9.1

. /usr/share/postgresql-common/maintscripts-functions

stop_version $VERSION

if [ "$1" = remove ]; then
    remove_version $VERSION
fi


kemudian cuba upgrade... insyallah proses upgrade akan jalan lancar. ok bye.

Connect a GPS module to a Raspberry Pi 4

  To connect a GPS module with four wires (RST, TX, VCC, and GND) to a Raspberry Pi 4, follow these steps:  Materials Needed: 1. GPS module ...