編集1

編集1

このパッケージが必要なアプリケーションをインストールしようとしていますが、このパッケージをインストールしようとすると上記のエラーが発生します。

apt updateを使用して適切なパッケージのリストを更新しました。どうですか?

64ビットUbuntuにインストールする必要がありますが、32ビットパッケージです。

編集1

スキーマを追加しても問題は解決しませんでした。

sudo dpkg --add-architecture i386

sudo apt update
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:3 http://gb.archive.ubuntu.com/ubuntu focal InRelease                      
Get:4 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]     
Hit:5 http://packages.microsoft.com/repos/vscode stable InRelease              
Get:6 http://gb.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [438 kB]
Get:8 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [175 kB]
Get:9 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [97.2 kB]
Fetched 1,034 kB in 1s (1,415 kB/s)                             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up-to-date.
N: Skipping acquisition of configured file 'main/binary-armhf/Packages', as repository 'http://packages.microsoft.com/repos/vscode stable InRelease' doesn't support architecture 'armhf'
N: Skipping acquisition of configured file 'main/binary-arm64/Packages', as repository 'http://packages.microsoft.com/repos/vscode stable InRelease' doesn't support architecture 'arm64'

 sudo apt install packagekit-gtk3-module:i386
 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 E: Unable to locate package packagekit-gtk3-module:i386

ベストアンサー1

次の行が必要です/etc/apt/sources.list

    deb http://security.ubuntu.com/ubuntu bionic-security main universe

universeパッケージはリポジトリに属する​​ため、パッケージの更新はセキュリティ更新プログラムによって適用されますbionic-updatepackagekit-gtk3-モジュール

source.listはい(より完全です):

deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ bionic partner

次に、次を実行します。

sudo apt update
sudo apt install packagekit-gtk3-module:i386

おすすめ記事