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

Fixing broken system..



Hai I have a problem here.
I use Etch. I have installed a postgresql package from debian backports, with the following command.
----------------------------------------------------------------------------
#apt-get -t etch-backports install postgresql-8.3
----------------------------------------------------------------------------
It installed ythe following dependancies also.
----------------------------------------------------------------------------
  libpq5 postgresql-client-8.3 postgresql-client-common postgresql-common
----------------------------------------------------------------------------
After some time I tried to uninstall these packages, But the package postgresql-8.3 remains still. Its not getting un installed, and system became broken.
In synaptic it shows this message. 
----------------------------------------------------------------------------
Synaptic
E: postgresql-8.3: subprocess pre-removal script returned error exit status 1
----------------------------------------------------------------------------
When I tried in dpkg It shows:
----------------------------------------------------------------------------
#dpkg --remove postgresql-8.3
(Reading database ... 196875 files and directories currently installed.)
Removing postgresql-8.3 ...
/var/lib/dpkg/info/postgresql-8.3.prerm: line 17: /usr/share/postgresql-common/maintscripts-functions: No such file or directory
dpkg: error processing postgresql-8.3 (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 postgresql-8.3
----------------------------------------------------------------------------
tried with apt-get
----------------------------------------------------------------------------
# apt-get remove postgresql-8.3
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  postgresql-8.3
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0B of archives.
After unpacking 13.9MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 196875 files and directories currently installed.)
Removing postgresql-8.3 ...
/var/lib/dpkg/info/postgresql-8.3.prerm: line 17: /usr/share/postgresql-common/maintscripts-functions: No such file or directory
dpkg: error processing postgresql-8.3 (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 postgresql-8.3
E: Sub-process /usr/bin/dpkg returned an error code (1)
localhost:/home/user#
----------------------------------------------------------------------------
# apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  postgresql-client-8.3 postgresql-client-common
Suggested packages:
  postgresql-8.3 postgresql-doc-8.3
The following packages will be REMOVED:
  postgresql-8.3
The following NEW packages will be installed:
  postgresql-client-8.3 postgresql-client-common
0 upgraded, 2 newly installed, 1 to remove and 1 not upgraded.
Need to get 0B/1657kB of archives.
After unpacking 9118kB disk space will be freed.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  postgresql-client-8.3
Install these packages without verification [y/N]? y
(Reading database ... 196875 files and directories currently installed.)
Removing postgresql-8.3 ...
/var/lib/dpkg/info/postgresql-8.3.prerm: line 17: /usr/share/postgresql-common/maintscripts-functions: No such file or directory
dpkg: error processing postgresql-8.3 (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 postgresql-8.3
E: Sub-process /usr/bin/dpkg returned an error code (1)
localhost:/home/user#
----------------------------------------------------------------------------
Any possible way to fix this?? Please.... I want to remove it and fix my system, that I can install and/or upgrade a lower version of postgreSQL. Please suggest me a working way.

--
(`'·.¸(`'·.¸  ¸.·'´) ¸.·'´)  
«´¨`·*Jaisen.*..´¨`»
(¸.·'´(¸.·'´   `'·.¸)`'·.¸)
¸.·´
(  `·.¸  
`·.¸ )
¸.·)´  
(.·´    
( `v´ )
  `v´
Reply to: