diff -u postgresql-8.4-8.4.14/debian/postgresql-8.4.preinst postgresql-8.4-8.4.14/debian/postgresql-8.4.preinst --- postgresql-8.4-8.4.14/debian/postgresql-8.4.preinst +++ postgresql-8.4-8.4.14/debian/postgresql-8.4.preinst @@ -20,8 +20,7 @@ } # earlier releases used per-version init scripts, now replaced with common one -if [ "$1" = "upgrade" -o "$1" = "install" ] && \ - [ -x /etc/init.d/postgresql-8.4 -a -x /etc/init.d/postgresql ]; then +if [ "$1" = "upgrade" -o "$1" = "install" ] && [ -x /etc/init.d/postgresql-8.4 ]; then rm_conffile /etc/init.d/postgresql-8.4 fi diff -u postgresql-8.4-8.4.14/debian/control postgresql-8.4-8.4.14/debian/control --- postgresql-8.4-8.4.14/debian/control +++ postgresql-8.4-8.4.14/debian/control @@ -16,7 +16,7 @@ Package: postgresql-8.4 Architecture: any -Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-client-8.4, postgresql-common (>= 109~), tzdata, ssl-cert, locales +Depends: ${misc:Depends}, ${shlibs:Depends}, postgresql-client-8.4, postgresql-common (>= 129~), tzdata, ssl-cert, locales Suggests: oidentd | ident-server Conflicts: postgresql (<< 7.5) Description: object-relational SQL database, version 8.4 server diff -u postgresql-8.4-8.4.14/debian/changelog postgresql-8.4-8.4.14/debian/changelog --- postgresql-8.4-8.4.14/debian/changelog +++ postgresql-8.4-8.4.14/debian/changelog @@ -1,3 +1,11 @@ +postgresql-8.4 (8.4.14-0ubuntu12.04.2) precise-proposed; urgency=low + + * debian/postgresql-8.4.preinst: Drop check for existing + /etc/init.d/postgresql-common, as this depends on the unpack order. + Instead bump the dependency on postgresql-common. (LP: #1058218) + + -- Martin Pitt Fri, 12 Oct 2012 11:36:30 +0200 + postgresql-8.4 (8.4.14-0ubuntu12.04.1) precise-proposed; urgency=low * debian/postgresql-8.4.preinst: Do not only clean up the old -8.4 specific