PDA

View Full Version : [ubuntu] vmware-server broken manual installation blocks synaptic package manager


Gergely
October 24th, 2008, 01:01 PM
hey,
do you know how to delete broken manual installations in lenny/sid Ubuntu? i am getting pissed cause i cant find anyone around who would know, we tried command line apt-get stuff and aptitude but nothing seems to work.
The basic problem is that as I try to open the synaptic package manager it comes back with

"An Error Occured,
E: the package vmware-server needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report.
"

so now I cannot install anything from the repositories...

thx

crom.osec
October 24th, 2008, 02:36 PM
If apt crashed you can use the command:
dpkg --configure -a
to restore it (from sudo)

I don't know if vmware-server is on default update list. When I want an upgrade on vmware-server I remove old vmware, download latest version from vmware site and I install it.

MaxIBoy
October 24th, 2008, 03:07 PM
Try
dpkg -l | grep -i vmware

Paste the results of that command into a post.

bodhi.zazen
October 24th, 2008, 03:18 PM
hey,
do you know how to delete broken manual installations in lenny/sid Ubuntu? i am getting pissed cause i cant find anyone around who would know, we tried command line apt-get stuff and aptitude but nothing seems to work.
The basic problem is that as I try to open the synaptic package manager it comes back with

"An Error Occured,
E: the package vmware-server needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report.
"

so now I cannot install anything from the repositories...

thx

Can you tell us what you did to install it ? Were you following a how to ?

Also you mention "lenny/sid Ubuntu" what are you running exactly ? Is this a so called "mixed system" with multople repos in your sources list ?

With that said, try :

sudo dpkg --remove --force-remove-reinstreq vmware-server

Bernman93
August 2nd, 2009, 04:45 PM
Can you tell us what you did to install it ? Were you following a how to ?

Also you mention "lenny/sid Ubuntu" what are you running exactly ? Is this a so called "mixed system" with multople repos in your sources list ?

With that said, try :

sudo dpkg --remove --force-remove-reinstreq vmware-server


But first, you have to remove all the archives (scripts) whose name began with "vmware" in the directory /var/lib/dpkg/info/ or the dpkg will fail with errors. As soon as I removed those files, the package uninstalled.

cerebrum_cipher
October 26th, 2009, 02:31 PM
Thanx a lot, I finally removed the broken vmware server !!! THanx a million times.