どのプログラムもインストールできません

どのプログラムもインストールできません

プログラムをインストールしようとしていますが、どのプログラムをインストールしようとすると、次のエラーが発生します。たとえば、スカイプ「skype-debian_4.2.0.11-1_i386.deb」をダウンロードし、次のコマンドを実行しました。

$ cd downloads

それから:

$ sudo apt-get install skype-debian_4.2.0.11-1_i386

次のエラーが発生します。

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package skype-debian_4.2.0.11-1_i386
E: Couldn't find any package by regex 'skype-debian_4.2.0.11-1_i386'

私はCrunchBangを実行しています。文書はsources.list次のとおりです。

## CRUNCHBANG
## Compatible with Debian Wheezy, but use at your own risk.
deb http://packages.crunchbang.org/waldorf waldorf main
#deb-src http://packages.crunchbang.org/waldorf waldorf main

## DEBIAN
deb http://http.debian.net/debian wheezy main contrib non-free
#deb-src http://http.debian.net/debian wheezy main contrib non-free

## DEBIAN SECURITY
deb http://security.debian.org/ wheezy/updates main
#deb-src http://security.debian.org/ wheezy/updates main

And in the folder there is one file called google-chrome.list and it says in it

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb http://dl.google.com/linux/chrome/deb/ stable main

編集#1

コマンドを実行しようとすると:

$ sudo gdebi skype-debian_4.2.0.11-1_i386.deb

わかりました:

Reading package lists... Done
Building dependency tree    
Reading state information... Done
Building data structures... Done 
This package is uninstallable
Wrong architecture 'i386'

ベストアンサー1

質問1

apt-getDebian リポジトリからパッケージをダウンロードしてインストールするために使用されます。ローカルの.debファイルのインストールには機能しません。これを行うには、以下を使用する必要がありますgdebi

sudo gdebi skype-debian_4.2.0.11-1_i386

またはグラフィックインターフェイスの場合

sudo gdebi-gtk skype-debian_4.2.0.11-1_i386

私はCrunchBangを使ったことがありませんが、インストーラをダブルクリックするだけでほぼ確実にインストールできます。自動的に開く必要がありますgdebi-gtk

または直接インストールすることもできますが、dpkgこれはお勧めできません(依存関係の問題、バージョンの問題などが発生する可能性が高い)。

sudo dpkg -i skype-debian_4.2.0.11-1_i386

質問2

そのため、あなたがやっていることの文脈を私たちに提供することが重要です。私の考えでは、このようなことが起こったようだ。チュートリアルに従ってSkypeをインストールしました。このアプリケーションは32ビットアプリケーションで、64ビットシステムを実行しているように見えるため、一般的な手順は次のとおりです。マルチアーキテクチャ。これはコマンドを介して行われますsudo dpkg --add-architecture。なんだかあなたは逃げたようだ

sudo dpkg --add-architecture asdf

これにより、リポジトリに存在しないディレクトリからパッケージが検索されますapt-getbinary-asdf

これらのエラーを解決するには、次のコマンドを実行してください。

sudo dpkg --remove-architecture asdf

その後実行

sudo apt-get update

エラーなしで完了する必要があります。

おすすめ記事