nazar@android:~$ sudo dpkg -i wps*amd64.deb
[sudo] password for nazar: 
Selecting previously unselected package wps-office.
(Reading database ... 227014 files and directories currently installed.)
Preparing to unpack wps-office_10.1.0.5672-a21_amd64.deb ...
Unpacking wps-office (10.1.0.5672~a21) ...
dpkg: dependency problems prevent configuration of wps-office:
 wps-office depends on libpng12-0; however:
  Package libpng12-0 is not installed.

dpkg: error processing package wps-office (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.23-1ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for shared-mime-info (1.7-1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Processing triggers for hicolor-icon-theme (0.15-1) ...
Errors were encountered while processing:
 wps-office


nazar@android:~$ sudo apt-get install libpng12-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libpng12-0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source                                                                                                                                   

E: Package 'libpng12-0' has no installation candidate



nazar@android:~$ sudo apt install -f                                                                                                                                    
Reading package lists... Done                                                                                                                                           
Building dependency tree                                                                                                                                                
Reading state information... Done                                                                                                                                       
Correcting dependencies... Done                                                                                                                                         
The following packages will be REMOVED:                                                                                                                                 
  wps-office                                                                                                                                                            
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.                                                                                                          
1 not fully installed or removed.                                                                                                                                       
After this operation, 367 MB disk space will be freed.                                                                                                                  
Do you want to continue? [Y/n] n                                                                                                                                        
Abort.        


nazar@android:~$   
share|improve this question
up vote 6 down vote accepted

Download libpng12-0_1.2.50-2+deb8u2_amd64.deb. If you use a 32 bit system, download the 32 bit deb file.

Install the package and then install wps-office.

share|improve this answer
    
Download for other architectures from here- packages.debian.org/jessie/libpng12-0 – Uttam Arade Oct 22 '16 at 12:20
    
thankx i used packages.ubuntu.com/xenial/i386/libpng12-0/download – nazar2sfive Oct 22 '16 at 13:48

protected by Community Mar 29 '17 at 7:08

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.