Re: how to fix my broken system..
Creating an empty file doesnt fix it:- result:
----------------------------------------------------
# touch /usr/share/postgresql-common/maintscripts-functions
localhost:/home/user# apt-get -f install
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 18: remove_version: command not found
dpkg: error processing postgresql-8.3 (--remove):
subprocess pre-removal script returned error exit status 127
Errors were encountered while processing:
postgresql-8.3
E: Sub-process /usr/bin/dpkg returned an error code (1)
localhost:/home/user#
-----------------------------------------------------------------
I checked in http://www.backports.org/debian/dists/etch-backports/ and I found maintscripts-functions is there in postgresql-client-common_87~bpo40+1_all.deb. But GDebi package installer refused to install it, as the package index is broken. So I downloaded this package, and extracted the file maintscripts-functions from it and created a directory /usr/share/postgresql-common/ and copied it to it. then issued commands
#dpkg --remove postgresql-8.3
#dpkg --purge postgresql-8.3
and then removed the file from /usr/share/postgresql-common/maintscripts-functions and the folder /usr/share/postgresql-common/ .
Then issued:-
#apt-get upgrade
Problem resolved... :)
Thanks to all, and a special thanks to this human:- NN_il_Confusionario <pinkof.pallus@tiscalinet.it> as he (or she?) made me how to handle an issue of this type..
cheers...!!
On 11/04/2008, NN_il_Confusionario <pinkof.pallus@tiscalinet.it> wrote:
On Fri, Apr 11, 2008 at 07:25:14PM +0530, Jaisen N.D. wrote:
> 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.
ckeck with apt-file or the file Contents for your architecture at
http://www.backports.org/debian/dists/etch-backports/
which package contains that file
--
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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
(`'·.¸(`'·.¸ ¸.·'´) ¸.·'´)
«´¨`·*Jaisen.*..´¨`»
(¸.·'´(¸.·'´ `'·.¸)`'·.¸)
¸.·´
( `·.¸
`·.¸ )
¸.·)´
(.·´
( `v´ )
`v´
Reply to: