3

I've installed the previous beta version and would like to upgrade to the new version (as announced on omgubuntu). When I try doing so via the Software Center I get a message that a certain package already exists (see hereunder) and can not be overwritten. I thus wanted to de-install the previous package but the Software Center doesn't even mention Kingsoft as being installed . Now what?

Unpacking kingsoft-office (from .../kingsoft-office_9.1.0.4032~a10_i386.deb) ...

dpkg: error processing /home/kcosyns/Downloads/kingsoft-office_9.1.0.4032~a10_i386.deb (--install):

trying to overwrite '/usr/bin/wps', which is also in package wps-office 8.1.0.3724~b1p2

dpkg-deb (subprocess): failed in write on buffer copy for failed to write to pipe in copy: Broken pipe

dpkg-deb: error: subprocess paste returned error exit status 2
carnendil
  • 5,529

1 Answers1

2

You would have to remove previous version first, named wps-office. See below on how to do it.

Then you install with dpkg:

sudo dpkg -i kingsoft-office_9.1.0.4032~a10_i386.deb

To remove Kingsoft Office (also called WPS Office) you can run:

sudo apt-get remove wps-office

or

sudo apt-get remove kingsoft-office

If you want to completely remove, including configuration files, run:

sudo apt-get purge wps-office

or

sudo apt-get purge kingsoft-office

The package name was changed from wps-office (version 8.1.0) to kingsoft-office (version 9.1.0).

carnendil
  • 5,529