Friday, March 27, 2015

Kingsoft Office (WPS) - Ubuntu

Hi peeps, I prefer using WPS (Kingsoft Office) instead of LibreOffice or OpenOffice program. Later, i realize Kingsoft has release a new alpha edition. Let's download it now :


I tried to install WPS deb package..but i got some error :
[email protected]:~/Downloads$ sudo dpkg -i wps-office_9.1.0.4751~a15_i386.deb 
Selecting previously unselected package wps-office.
(Reading database ... 302163 files and directories currently installed.)
Preparing to unpack wps-office_9.1.0.4751~a15_i386.deb ...
Unpacking wps-office (9.1.0.4751~a15) ...
dpkg: error processing archive wps-office_9.1.0.4751~a15_i386.deb (--install):
 trying to overwrite '/usr/bin/wps', which is also in package kingsoft-office 9.1.0.4280~a12p4
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 wps-office_9.1.0.4751~a15_i386.deb

What the heck? So, i assume WPS don't auto replace old version of WPS. So the solution is very simple. I need to purge the installed package:
[email protected]:~/Downloads$ sudo apt-get purge kingsoft-office
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  kingsoft-office:i386*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 464 MB disk space will be freed.
Do you want to continue? [Y/n] Y

Lastly, just install the newer package dpkg command :
[email protected]:~/Downloads$ sudo dpkg -i wps-office_9.1.0.4751~a15_i386.deb 
(Reading database ... 300395 files and directories currently installed)
Preparing to unpack wps-office_9.1.0.4751~a15_i386.deb ...
Unpacking wps-office (9.1.0.4751~a15) ...
Setting up wps-office (9.1.0.4751~a15) ...

No comments:

Post a Comment