web-dev-qa-db-ja.com

wine32:i386:依存:libwine:i386(= 3.0-1ubuntu1)がインストールされない

Ubuntu 18.04にwineをインストールしようとしていますが、次のエラーが表示されます。

The following packages have unmet dependencies:

      wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not going to be installed
 wine64 : Depends: libwine (= 3.0-1ubuntu1) but it is not going to be installed

ビルドしようとしても、フレックスが必要であるという警告が表示され、フレックスをインストールしようとすると、まったく同じエラーが再び表示されます。

間違ったUbuntuバージョンまたはサードパーティのいずれかでアップデートリポジトリをめちゃくちゃにした可能性があるとカップルが言っていることをオンラインで見たので、それを見つけてクリーンアップする必要があります。ただし、これにはまったく詳しくありません。すべてのリポジトリをリストしましたが、どのリポジトリを削除する必要があるのか​​、どのように削除できるのかわかりません。

この出力は文字長の制限により削除されます

編集:要求に応じて、grep -v ^#/etc/apt/sources.list

deb http://tr.archive.ubuntu.com/ubuntu/ bionic main restricted

deb http://tr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

deb http://tr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://tr.archive.ubuntu.com/ubuntu/ bionic-updates universe

deb http://tr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://tr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

deb http://tr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

deb http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb http://archive.canonical.com/ bionic partner
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main

grep -v ^#/etc/apt/sources.list.d/*.list

/etc/apt/sources.list.d/google-chrome.list:deb [Arch=AMD64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/teamviewer.list:
/etc/apt/sources.list.d/teamviewer.list:
/etc/apt/sources.list.d/teamviewer.list:
/etc/apt/sources.list.d/teamviewer.list:
/etc/apt/sources.list.d/teamviewer.list:
/etc/apt/sources.list.d/teamviewer.list:
/etc/apt/sources.list.d/teamviewer.list:

apt-cacheポリシーwine32:i386 wine64 libwine:i386 wine32:i386:

  Installed: 3.0-1ubuntu1
  Candidate: 3.0-1ubuntu1
  Version table:
 *** 3.0-1ubuntu1 500
        500 http://tr.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
        100 /var/lib/dpkg/status
wine64:
  Installed: 3.0-1ubuntu1
  Candidate: 3.0-1ubuntu1
  Version table:
 *** 3.0-1ubuntu1 500
        500 http://tr.archive.ubuntu.com/ubuntu bionic/universe AMD64 Packages
        100 /var/lib/dpkg/status
libwine:i386:
  Installed: (none)
  Candidate: 3.0-1ubuntu1
  Version table:
     3.0-1ubuntu1 500
        500 http://tr.archive.ubuntu.com/ubuntu bionic/universe i386 Packages

まず、アイスティーを入れてみました

沿って:

Sudo apt-get install icedtea-plugin

私はWineをインストールしてみました:

Sudo apt install wine-stable wine32

ビルド:

git clone git://source.winehq.org/git/wine.git ~/wine-dirs/wine-source

cd ~/wine-dirs/wine-source/
../wine-source/configure --enable-win64

編集2:

〜$ apt-cacheポリシーwine-stable

wine-stable:
  Installed: 3.0-1ubuntu1
  Candidate: 3.0-1ubuntu1
  Version table:
 *** 3.0-1ubuntu1 500
        500 http://tr.archive.ubuntu.com/ubuntu bionic/universe AMD64 Packages
        500 http://tr.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
        100 /var/lib/dpkg/status

〜$ dpkg -l | grep -i wine

ii  q4wine                                        1.3.6-2                                         AMD64        Qt GUI for wine (WINE)
iU  wine-stable                                   3.0-1ubuntu1                                    all          Windows API implementation - standard suite
rc  wine1.6                                       1:1.6.2-0ubuntu14.2                             AMD64        Microsoft Windows Compatibility Layer (Binary Emulator and Library)
ii  wine1.8                                       1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1             AMD64        Microsoft Windows Compatibility Layer (Binary Emulator and Library)
ii  wine1.8-AMD64                                 1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1             AMD64        Microsoft Windows Compatibility Layer (64-bit support)
ii  wine1.8-i386:i386                             1:1.8.0-0ubuntu1~ubuntu15.10.1~ppa1             i386         Microsoft Windows Compatibility Layer (32-bit support)
iU  wine32:i386                                   3.0-1ubuntu1                                    i386         Windows API implementation - 32-bit binary loader
iU  wine64                                        3.0-1ubuntu1                                    AMD64        Windows API implementation - 64-bit binary loader
ii  winetricks                                    0.0+20180217-1                                  all          package manager for Wine to install software easily

編集3:

$ Sudo dpkg --add-architecture i386

$ Sudo apt update

Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]    
Hit:3 http://archive.canonical.com/ubuntu bionic InRelease                     
Hit:4 http://dl.google.com/linux/chrome/deb stable Release                     
Hit:5 http://archive.canonical.com bionic InRelease                            
Get:6 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [6.259 B]      
Err:6 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Get:8 http://security.ubuntu.com/ubuntu bionic-security/main AMD64 DEP-11 Metadata [38,5 kB]
Get:9 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [17,6 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [41,5 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/universe AMD64 DEP-11 Metadata [42,1 kB]
Get:12 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16,4 kB]
Get:13 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [111 kB]
Get:14 http://security.ubuntu.com/ubuntu bionic-security/multiverse AMD64 DEP-11 Metadata [2.464 B]
Hit:15 http://tr.archive.ubuntu.com/ubuntu bionic InRelease
Hit:16 http://tr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:17 http://tr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done                       
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

〜$ sudo apt install wine-stable wine64 wine32:i386

wine64Reading package lists... Done
Building dependency tree       
Reading state information... Done
wine-stable is already the newest version (3.0-1ubuntu1).
wine64 is already the newest version (3.0-1ubuntu1).
wine64 set to manually installed.
wine32:i386 is already the newest version (3.0-1ubuntu1).
wine32:i386 set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not going to be installed
 wine64 : Depends: libwine (= 3.0-1ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

須藤aptパージwine1.6 wine1.8 wine1.8-AMD64 wine1.8-i386:i386

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:
 wine32:i386 : Depends: libwine:i386 (= 3.0-1ubuntu1) but it is not going to be installed
 wine64 : Depends: libwine (= 3.0-1ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
2
dusa

私にとって、dpkgがサポートするCPUアーキテクチャのリストにi386アーキテクチャを追加するのを忘れているようです。

以下のコマンドでこのCPUアーキテクチャを追加することをお勧めします。

Sudo dpkg --add-architecture i386
Sudo apt update

そして、あなたがすでに要求したようにワインをインストールします:

Sudo apt install wine-stable wine64 wine32:i386 wine64

または、最新のWineをインストールする必要がある場合-Ubuntuの 公式WineHQガイド に従いますが、bionicxenialに変更します(- bionicパッケージ は次のようにインストールできません ):

wget -nc https://dl.winehq.org/wine-builds/winehq.key
Sudo apt-key add winehq.key

Sudo apt-add-repository -r "deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main"
# ^ remove broken repository for 18.04 LTS

Sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'  
# ^ add 16.04 LTS repository instead

## Install one of WineHQ packages:
# Stable branch     
Sudo apt install --install-recommends winehq-stable

#Development branch     
#Sudo apt install --install-recommends winehq-devel

#Staging branch     
#Sudo apt install --install-recommends winehq-staging

オプションで、古いバージョンのWineパッケージを削除することもできます

Sudo apt purge wine1.6 wine1.8 wine1.8-AMD64 wine1.8-i386:i386
1
N0rbert