パッケージを更新してインストールできません:E:パッケージが見つかりません! Linux Mint 17.3

パッケージを更新してインストールできません:E:パッケージが見つかりません! Linux Mint 17.3

質問があります。

パッケージのインストールやシステムのアップデートはできません。

ターミナルまたはソフトウェアマネージャが機能していません(ソフトウェアマネージャが起動しません)。

端末表示コマンドは以下の通りです。

sudo apt-get update
E: Type 'non-free' is not known on line 3 in source list /etc/apt/sources.list
E: The list of sources could not be read.

プログラムをインストールしようとすると:

sudo apt-get install exfat-utils exfat-fuse
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package exfat-utils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'exfat-utils' has no installation candidate
E: Unable to locate package exfat-fuse

sudo apt-get update && sudo apt-get install autokey-gtk
E: Type 'non-free' is not known on line 3 in source list /etc/apt/sources.list
E: The list of sources could not be read.


sudo apt-get install autokey-gtk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package autokey-gtk

私のソースリストファイルの内容は次のとおりです。

#deb cdrom:[Linux Mint 17.3 _Rosa_ - Release amd64 20151128]/ trusty contrib 

main non-free

deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib
      non-free

deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib
      non-free

この問題は以前のLinux Mint(17.0)で発生し、LM 17.3をインストールしてから数週間後に再現されました。

助けてくれてありがとう。ありがとうございます!

ベストアンサー1

形式sources.listが正しくありません。 「無料ではありません」は別の行に表示しないでください。これが次の理由です。

E: Type 'non-free' is not known on line 3 in source list /etc/apt/sources.list

source.list は次のようになります。

#deb cdrom:[Linux Mint 17.3 _Rosa_ - Release amd64 20151128]/ trusty main contrib non-free

deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib non-free

deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib non-free

また、最初の行はコメントアウトされているので、実際には2行だけで、どちらもMintの標準ソースのようには見えません。より多くのソースを追加することもできます。また、xnv4.xandros.comソースを保存するかどうかを検討してください。

おすすめ記事