"'/usr/share/app-install/desktop/software-center.menu': Not a directory" error when trying to reinstall the software center

Posted by EnTer on Ask Ubuntu See other posts from Ask Ubuntu or by EnTer
Published on 2011-11-20T11:52:20Z Indexed on 2011/11/20 18:26 UTC
Read the original article Hit count: 404

Filed under:
|
|

I was having some problem with Software center. So tried to reinstall it. But While removing it give me an error.

(Reading database ... 150986 files and directories currently installed.)
Removing software-center ...
dpkg: error processing software-center (--remove):
 unable to securely remove '/usr/share/app-install/desktop/software-center.menu': Not a directory
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Errors were encountered while processing:
 software-center
E: Sub-process /usr/bin/dpkg returned an error code (1)

Now The same problem is repeating if I use apt-get to install or upgrade my ubuntu. I cant install any software and Software-Center too.. PLZ help

© Ask Ubuntu or respective owner

Related posts about apt-get

Related posts about software-center