There is no such file /usr/share/postgresql-common/maintscripts-functions in the package postgresql-common_87~bpo40+1_all.deb . I have checked that.
As I am not thorough dealing with shell scripts I am sending the prerm, postrm files in postgresql-8.3_8.3.1-1~bpo40+1_i386.deb herewith. In prerm, I can see the name of maintscripts-functions, but don't know how to do this. Please tell me whatever tweakening should I do in this, to solve it. prerm:- ----------------------------------- #!/bin/sh -e VERSION=8.3 # Automatically added by dh_installinit if [ -x "/etc/init.d/postgresql-8.3" ]; then if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then invoke-rc.d postgresql-8.3 stop || exit $? else /etc/init.d/postgresql-8.3 stop || exit $? fi fi # End automatically added section if [ "$1" = remove ]; then . /usr/share/postgresql-common/maintscripts-functions remove_version $VERSION fi ----------------------------------- postrm:- ----------------------------------- #!/bin/sh -e # Automatically added by dh_installinit if [ "$1" = "purge" ] ; then update-rc.d postgresql-8.3 remove >/dev/null || exit $? fi # End automatically added section VERSION=8.3 clean_dir() { if [ -d "$1" ] && [ ! -L "$1" ]; then rmdir "$1" >/dev/null 2>/dev/null || true fi } drop_cluster() { # if we still have the postgresql-common package, use it to also shutdown # server, etc.; otherwise just remove the directories if [ -x /usr/bin/pg_dropcluster ]; then pg_dropcluster --stop-server $VERSION "$1" else # remove data directory PGDATALINK="/etc/postgresql/$VERSION/$1/pgdata" if [ -e "$PGDATALINK" ]; then rm -rf $(readlink -f "$PGDATALINK") "$PGDATALINK" else rm -rf "/var/lib/postgresql/$VERSION/$1/" fi # remove log file, including rotated ones LOGLINK="/etc/postgresql/$VERSION/$1/log" if [ -e "$LOGLINK" ]; then LOG=$(readlink -f "$LOGLINK") rm -f $LOG* "$LOGLINK" else rm -f /var/log/postgresql/postgresql-$VERSION-"$1".log* fi # remove conffiles for f in pg_hba.conf pg_ident.conf postgresql.conf start.conf environment; do rm -f /etc/postgresql/$VERSION/"$1"/$f done clean_dir /etc/postgresql/$VERSION/"$1" fi } if [ "$1" = purge ]; then [ -d "/etc/postgresql/$VERSION" ] || exit 0 if [ "$(ls /etc/postgresql/$VERSION)" ]; then for c in /etc/postgresql/$VERSION/*; do [ -e "$c/postgresql.conf" ] || continue cluster=$(basename "$c") echo "Dropping cluster $cluster..." drop_cluster "$cluster" done fi clean_dir /etc/postgresql/$VERSION clean_dir /etc/postgresql clean_dir /var/lib/postgresql/$VERSION clean_dir /var/lib/postgresql fi ------------------------------------------------------- On 11/04/2008, NN_il_Confusionario <[EMAIL PROTECTED]> wrote: > > On Fri, Apr 11, 2008 at 06:41:07PM +0530, Jaisen N.D. wrote: > > The following packages have unmet dependencies: > > postgresql-8.3: Depends: postgresql-client-8.3 but it is not going to > be installed > > Depends: postgresql-common (>= 79) but 71 is to be > installed > > postgresql-common: Depends: postgresql-client-common (>= 71) but it is > not going to be installed > > > you must re-enable backports in sources.list and/or preferences to do > the install. > > You can also consider manually extracting the needed file > > /usr/share/postgresql-common/maintscripts-functions > > from the package. > > You can also consider a manual tweaking of the prerm/postrm script of > the package you want to remove. > > > -- > > Chi usa software non libero avvelena anche te. Digli di smettere. > Informatica=arsenico: minime dosi in rari casi patologici, altrimenti > letale. > Informatica=bomba: intelligente solo per gli stupidi che ci credono. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > -- (`'·.¸(`'·.¸ ¸.·'´) ¸.·'´) «´¨`·*Jaisen.*..´¨`» (¸.·'´(¸.·'´ `'·.¸)`'·.¸) ¸.·´ ( `·.¸ `·.¸ ) ¸.·)´ (.·´ ( `v´ ) `v´