Debian 9 では Google Chrome をインストールできません。

Debian 9 では Google Chrome をインストールできません。

起動可能なUSBフラッシュドライブからDebian 9をインストールしました。私はDebianのウェブサイトでそれが私に必要なすべてだと言ったのでDVDだけをコピーしました。私はパーティション全体にDebianをインストールしました(/homeや他のパーティションに分割しませんでした)。 GNOMEデスクトップをインストールしました。接続が悪いため、ネットワークインストールを使用していませんでした(.isoをダウンロードする前に学校に行かなければなりませんでした)。

私の最初の試みは、クロムを/etc/apt/sources.list debに追加することでした。http://dl.google.com/linux/chrome/deb/安定したメインライン

それから私は走った。

get https://dl-ssl.google.com/linux/linux_signing_key.pub

sudo apt-key add linux_signing_key.pub

sudo apt-get update

sudo apt-get install google-chrome-stable

結果は次のとおりです。

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 google-chrome-stable : Depends: gconf-service but it is not installable
                    Depends: libgconf-2-4 (>= 3.2.5) but it is not             installable
                    Depends: libappindicator1 but it is not installable
E: Unable to correct problems, you have held broken packages.

その後、Google自体から解凍されたインストーラをダウンロードしてみました。まず私は走った

apt-get clean && apt-get update
apt-get upgrade
apt --fix-broken install

それから私は走った。

dpkg -i google-chrome-stable_current_amd64.deb 

私のダウンロードディレクトリから。吐き出したその人

Selecting previously unselected package google-chrome-stable.
(Reading database ... 125174 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (60.0.3112.90-1) ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
 google-chrome-stable depends on gconf-service; however:
Package gconf-service is not installed.
google-chrome-stable depends on libgconf-2-4 (>= 3.2.5); however:
Package libgconf-2-4 is not installed.
google-chrome-stable depends on libappindicator1; however:
Package libappindicator1 is not installed.

dpkg: error processing package google-chrome-stable (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for mime-support (3.60) ...
Errors were encountered while processing:
 google-chrome-stable

私がここで何を間違っているのか? USBブートディスクと一緒にインストールされていない依存関係が必要ですが、インポートできません。シナプティックパッケージインストーラでこれらの依存関係を検索してみましたが、見つかりませんでした。

ベストアンサー1

追加の Debian パッケージをダウンロードする必要があるようですが、sources.listファイルにオンライン Debian パッケージストア全体が含まれていません。

多くの人々がこの問題に直面しました。 [1] これが起こる理由の1つは、Debianインストーラがインターネット接続を見ることができないことです。あるいは、ある時点でリポジトリを削除した可能性があります。 :-).

/etc/apt/sources.listファイルに次の行が含まれていることを確認してください。

# Debian release 9.x
deb http://deb.debian.org/debian stretch main
deb-src http://deb.debian.org/debian stretch main

# Security updates
deb http://deb.debian.org/debian-security/ stretch/updates main
deb-src http://deb.debian.org/debian-security/ stretch/updates main

それからapt update。次に、コマンドを使用してインストールを再試行します。 apt install google-chrome-stable

aptこれは対話型の使用に推奨されるコマンドです。 apt-get特におなじみではありません。apt-get upgrade 非常に重要なセキュリティ更新プログラムをインストールしない.)

オンラインDebianリポジトリを追加した後に何が起こるのかわかりません。つまり、USB(Debian DVD#1)から一部のパッケージをインストールするには、戻ってオンラインストレージを削除する必要がありますか?


[1]このリンクのコメントをご覧ください。ゲーム、OfficeなどなしでDebianをインストールする方法は?

おすすめ記事