Instalando o vinho 17.04

0

Gostaria de instalar o Microsoft Office 2010, pois preciso urgentemente do excel2010. Eu instalei o PlayonLinux, mas recebo um erro. Eu então tento instalar o vinho, mas também tenho uma saída de erro estranha. Aqui está a saída, eu já tentei o comando apt --fix-broken install:

sudo apt-get install wine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
wine is already the newest version (1.4-0ubuntu4).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 wine1.4 : Depends: wine1.4-amd64 (= 1.4-0ubuntu4)
           Recommends: ttf-droid
           Recommends: ttf-liberation
           Recommends: ttf-umefont but it is not going to be installed
           Recommends: ttf-unfonts-core but it is not going to be installed
           Recommends: ttf-wqy-microhei
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Infelizmente, isso não funciona:

sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  corsix-th-data game-data-packager game-data-packager-runtime libdrm-common
  liblua5.2-0 libsdl2-mixer-2.0-0 libwine lua-filesystem lua-lpeg
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  wine1.4-amd64
Recommended packages:
  wine-gecko1.4
The following NEW packages will be installed:
  wine1.4-amd64
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
4 not fully installed or removed.
Need to get 0 B/21,4 MB of archives.
After this operation, 111 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
  wine1.4-amd64
Install these packages without verification? [y/N] y
(Reading database ... 258289 files and directories currently installed.)
Preparing to unpack .../wine1.4-amd64_1.4-0ubuntu4_amd64.deb ...
Unpacking wine1.4-amd64 (1.4-0ubuntu4) ...
dpkg: error processing archive /var/cache/apt/archives/wine1.4-amd64_1.4-0ubuntu4_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/wine/propsys.dll.so', which is also in package libwine:amd64 1.8.7-1ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/wine1.4-amd64_1.4-0ubuntu4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu encontrei o erro, eu tive meus servidores espelho definidos para um servidor diferente, em vez do servidor principal. O que eu fiz foi remover essa fonte no /etc/apt/sources.list através do seguinte comando sudo gedit /etc/apt/sources.list . Eu corro os comandos usuais como sudo apt --fix-broken install e sudo apt-get update && sudo apt-get dist-upgrade reinstalado Wine e Playonlinux e tudo funcionou !! obrigado!

    
por Alessio_110 10.01.2018 / 11:11

1 resposta

0

Execute os comandos abaixo

sudo apt --fix-broken install sudo apt-get update sudo apt-get upgrade sudo apt-get install wine

Eu acho que isso vai instalar o vinho corretamente!

    
por Rushikesh Gaidhani 10.01.2018 / 13:27