sudo apt-get -f 설치 오류

sudo apt-get -f 설치 오류

저는 우분투 초보이고 충족되지 않은 와인 종속성이 잔뜩 있는 것을 다운로드하려고 할 때마다 sudo apt-get -f install 을 실행하여 이것을 얻습니다.

bailey@bailey-FQ565AA-ABA-a6700f:~$ sudo apt-get -f 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:
  libkresources4 libqrencode3 libkprintutils4 libqscintilla2-8 libsm-dev
  libkldap4 ttf-umefont libice-dev libkcalcore4 libprison0
  gir1.2-ubuntuoneui-3.0 libkholidays4 libknewstuff2-4 libpthread-stubs0
  linux-headers-3.2.0-55 python-qscintilla2 linux-headers-3.2.0-55-generic
  nvidia-settings-304-updates libakonadi-kmime4 libakonadiprotocolinternals1
  mysql-server-core-5.5 wine-mono0.0.8 akonadi-backend-mysql x11proto-kb-dev
  libkmbox4 xtrans-dev libkcalutils4 akonadi-server libmicroblog4
  wine-gecko2.21 wine-gecko2.21:i386 wine-gecko1.4 wine-gecko1.4:i386
  x11proto-input-dev libkabc4 mysql-client-core-5.5 libxt-dev
  linux-headers-3.5.0-23-generic libkcal4 libkalarmcal2 libakonadi-calendar4
  language-pack-kde-en linux-headers-3.5.0-23 libkimap4 libxau-dev
  kde-l10n-engb libmailtransport4 libubuntuoneui-3.0-1 openjdk-7-jre-lib
  libkpimtextedit4 libkmime4 kdepimlibs-kio-plugins ttf-unfonts-core
  thunderbird-globalmenu xorg-sgml-doctools libakonadi-kabc4 libx11-dev
  libkpimidentities4 libkpimutils4 libx11-doc libxcb1-dev
  language-pack-kde-en-base kdepim-runtime libakonadi-kcal4 x11proto-core-dev
  libakonadi-notes4 libxdmcp-dev libpthread-stubs0-dev libakonadi-contact4
  libakonadi-kde4 python-kde4 libdmtx0a
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  wine1.7 wine1.7-amd64 wine1.7-i386:i386
Suggested packages:
  dosbox:any
Recommended packages:
  wine-gecko2.24
The following packages will be upgraded:
  wine1.7 wine1.7-amd64 wine1.7-i386:i386
3 upgraded, 0 newly installed, 0 to remove and 305 not upgraded.
3 not fully installed or removed.
Need to get 0 B/58.2 MB of archives.
After this operation, 7,751 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: dependency problems prevent configuration of wine1.7:
 wine1.7 depends on wine1.7-i386 (= 1:1.7.15-0ubuntu1); however:
  Package wine1.7-i386 is not installed.
  Version of wine1.7-i386:i386 on system is 1:1.7.16-0ubuntu1.
dpkg: error processing wine1.7 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wine1.7-i386:i386:
 wine1.7-i386:i386 depends on wine1.7:any (= 1:1.7.16-0ubuntu1); however:
  Version of wine1.7 on system is 1:1.7.15-0ubuntu1.
dpkg: error processing wine1.7-i386:i386 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: dependency problems prevent configuration of wine1.7-amd64:
 wine1.7-amd64 depends on wine1.7:any (= 1:1.7.15-0ubuntu1); however:
  Package wine1.7 is not configured yet.
dpkg: error processing wine1.7-amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 wine1.7
 wine1.7-i386:i386
 wine1.7-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

답변1

WineHQ와 관련된 모든 것을 제거하여 시작하십시오.

sudo apt-get purge wine*

이제 정리를 실행하여 남아 있는 모든 항목을 제거하십시오(그런데 모든 KDE 항목은 어디에서 왔습니까?). 이렇게 하면 더 이상 필요하지 않은 종속성으로 설치된 모든 프로그램이 제거됩니다.

sudo apt-get autoremove

이제 sudo apt-get install -f손상된 패키지가 여전히 있을 경우를 대비하여 실행하세요.

PlayOnLinux를 설치합니다:

sudo apt-get install playonlinux

PlayOnLinux를 사용하여 와인과 관련된 모든 것을 처리합니다. 여기에는 설치하는 각 프로그램에 대한 와인 접두어를 생성하는 가상 드라이브 관리자가 있습니다.

관련 정보