[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postgresql-8.1 Removal Problems



On Wednesday 29 February 2012 20:02:01 debian-user-digest-
request@lists.debian.org wrote:
> >> >> How did you remove it? apt-get, aptitude, dpkg, synaptic...
> >> >
> >> > 
> >> >
> >> > apt-get / dpkg -r/ dpkg -P
> >> > I do not use aptitude
> >>
> >> 
> >>
> >> And what's the full output for that commands?
> > 
> > ~$ sudo dpkg -P postgresql-8.1
> > (Reading database ... 546325 files and directories currently installed.)
> > Removing postgresql-8.1 ...
> > find: `/usr/share/postgresql/8.1/tsearch_data': No such file or
> >
> > directory dpkg: error processing postgresql-8.1 (--purge):
> >  subprocess installed pre-removal script returned error exit status 1
> >
> > update-rc.d: warning: postgresql-8.1 stop runlevel arguments (0 1 6) do
> > not match LSB Default-Stop values (S 0 1 6) Errors were encountered
> >
> > while processing:
> >  postgresql-8.1
> > 
> >
> > Note that the "find: error is new.
> 
> It seems the post-script routine is in a very bad shape. Have you tried 
> by appending "--force-remove-reinstreq"?

I saw that one, tried it. Did not help.

Actually, it is the "pre"-removal script that is at fault.

(Meanwhile, this cripples apt. I can install/upgrade packages using dpkg 
without the apt-get frontend but this is quite tedious.)


Reply to: