mais do apt não está funcionando. (causado por pacotes de vinho)

0

Ei, eu tenho um problema, eu sei o que está causando isso. Mas, de alguma forma, posso fazer com que o gerenciamento de pacotes funcione.

> sicarii-13@sicarii13-K55VD:~$ sudo apt-get remove wine
wine32-development  wine-development    winetricks
wine64-development  wine-rt-amd64       
wineasio-amd64      wine-rt-i386        
sicarii-13@sicarii13-K55VD:~$ sudo apt-get remove wine-rt-amd64 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 wine-rt-i386:i386 : Depends: wine-rt:any (= 2:2.0.1-1~kxstudio1)
                     Recommends: libgif4:i386 but it is not installable
 wineasio-amd64 : Depends: wine-rt-amd64 but it is not going to be installed or
                           wine-staging-amd64 but it is not installable or
                           wine-amd64
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Essa é uma das muitas coisas que eu tentei. Eu simplesmente descobri para me livrar do vinho como um todo.

A saída do apt --fix-broken install é esta:

> sicarii-13@sicarii13-K55VD:~$ 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:
  linux-headers-4.13.0-16 linux-headers-4.13.0-16-generic
  linux-image-4.13.0-16-generic linux-image-extra-4.13.0-16-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  wine-rt
Suggested packages:
  dosbox:any winbind
Recommended packages:
  ttf-droid | fonts-droid
The following NEW packages will be installed:
  wine-rt
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/1195 kB of archives.
After this operation, 6268 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 461604 files and directories currently installed.)
Preparing to unpack .../wine-rt_2%3a2.0.1-1~kxstudio1_amd64.deb ...
Unpacking wine-rt (2:2.0.1-1~kxstudio1) ...
dpkg: error processing archive /var/cache/apt/archives/wine-rt_2%3a2.0.1-1~kxstudio1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/wine/fonts/ssef1256.fon', which is also in package fonts-wine 2.0.2-2ubuntu1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/wine-rt_2%3a2.0.1-1~kxstudio1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Não é útil se eu gostaria de usar meu gerenciador de pacotes novamente. Por favor ajude. :)

    
por Joeri_Damian 18.03.2018 / 15:25

1 resposta

1

Consegui corrigir isso

Mas passei algumas horas boas (cerca de 4 com outros métodos)

obtenha o synpatic daqui: link

baixe-o com as dependências.

cd ~ / Downloads

sudo dpkg -i synaptic (versão) .deb e o mesmo vale para as dependências.

Use o filtro quebrado dentro do synaptic. E apenas remova tudo isso no meu caso.

    
por Joeri_Damian 18.03.2018 / 15:43