Package: dpkg
Version: 1.13.25
Severity: normal

I was upgrading from sarge to etch when I found this dpkg issue (dpkg was 
already upgraded):

Installation of all following packages failed
Preparing to replace postgresql-client 7.4.7-6sarge4 (using 
.../postgresql-client_7.5.22_all.deb) ...
install: `/var/lib/postgres/dumpall/7.4': Not a directory
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/apt/archives/postgresql-client_7.5.22_all.deb 
(--unpack):
 there is no script in the new version of the package - giving up
dpkg: considering removing postgresql-client in favour of 
postgresql-client-common ...
dpkg: yes, will remove postgresql-client in favour of postgresql-client-common.
Unpacking postgresql-client-common (from 
.../postgresql-client-common_71_all.deb) ...
install: `/var/lib/postgres/dumpall/7.4': Not a directory
dpkg: error processing 
/var/cache/apt/archives/postgresql-client-common_71_all.deb (--unpack):
 subprocess pre-removal script returned error exit status 1
Unpacking postgresql-client-7.4 (from 
.../postgresql-client-7.4_1%3a7.4.16-1_i386.deb) ...
install: `/var/lib/postgres/dumpall/7.4': Not a directory
dpkg: error processing 
/var/cache/apt/archives/postgresql-client-7.4_1%3a7.4.16-1_i386.deb (--unpack):
 subprocess pre-removal script returned error exit status 1
Preparing to replace powernowd 0.90-3 (using .../powernowd_0.97-1_i386.deb) ...
Stopping powernowd: powernowd.
install: `/var/lib/postgres/dumpall/7.4': Not a directory

Why is powernowd worried about postgres/dumpall/7.4 ???


The bad thing which was happening here was that /var/lib/postgres was a file 
not a directory.

I removed postgres and created /var/lib/postgres/dumpall/7.4 which solved the 
orignial problem. Then the 
install of the other packages went fine.

For more details (typescript of the upgrade, see 
http://lists.debian.org/debian-release/2007/03/msg00937.html

Since the upgrade completed now, I unfortunately cannot reproduce this issue.

Thanks
Rainer

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (600, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages dpkg depends on:
ii  coreutils                   5.97-5.3     The GNU core utilities
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries

dpkg recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to