web-dev-qa-db-fra.com

Comment installer wps-office sur Ubuntu 16.10?

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:~$   
5
nazar2sfive

Télécharger libpng12-0_1.2.50-2 + ​​deb8u2_AMD64.deb . Si vous utilisez un système 32 bits, téléchargez le fichier deb 32 bits.

Installez le package, puis installez wps-office.

10
Kshitij