maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   APT-GET errors please help (https://talk.maemo.org/showthread.php?t=84251)

stevomanu 2012-05-13 19:24

APT-GET errors please help
 
I dont normally make threads for this sort of thing but i cant sort it out i tryed installing postgresql-client-8.3 had errors during build now im not even sure it will work for metaspoit so need to get rid

I have tryed all the normall commands still cant get rid

Code:

BusyBox v1.20.0 (Debian 1.20.0power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # apt-get remove postgresql-client-8.3
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following packages will be REMOVED:
  postgresql-client-8.3
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 4628kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 29521 files and directories currently installed.)
Removing postgresql-client-8.3 ...
/var/lib/dpkg/info/postgresql-client-8.3.prerm: .: line 10: can't open '/usr/share/postgresql-common/maintscripts-functions'
dpkg: error processing postgresql-client-8.3 (--remove):
 subprocess pre-removal script returned error exit status 2
/var/lib/dpkg/info/postgresql-client-8.3.postinst: .: line 5: can't open '/usr/share/postgresql-common/maintscripts-functions'
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 postgresql-client-8.3
E: Sub-process /usr/bin/dpkg returned an error code (1)
/home/user #

Many thanks

sifo 2012-05-13 19:31

Re: APT-GET errors please help
 
use filbox or x-terminal to access to /var/ibs/dpkg/info/ and remove this file : postgresql-client-8.3

after that run apt-get autoremove
hope this help
./sifo


All times are GMT. The time now is 11:58.

vBulletin® Version 3.8.8