最近ubuntu12.10からアップデートしようとしていますが、「Failedtofetch」エラーが発生し続けます。
W: Failed to fetch
http://security.ubuntu.com/ubuntu/dists/quantal-security/Release
Unable to find expected entry 'independent/binary-amd64/Packages' in
Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/quantal/Release Unable to find
expected entry 'independent/source/Sources' in Release file (Wrong
sources.list entry or malformed file)
W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/quantal-updates/Release Unable
to find expected entry 'independent/binary-amd64/Packages' in Release
file (Wrong sources.list entry or malformed file)
W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/quantal-backports/Release
Unable to find expected entry 'independent/binary-amd64/Packages' in
Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old
ones used instead.
サーバーを変更し、ソースリストを/var/lib/apt/lists/
から削除しました いくつかの答えが言うように、それでも。これは本当に迷惑です。
承認された回答:
メッセージ
(間違ったsources.listエントリまたは不正な形式のファイル)
sources.list
のいずれかのエントリを意味します ファイルが間違っているか、行の形式が正しくありません。
Webを検索したところ、この古いバグが見つかりました。正確には古いものではありませんが、期限切れ 。
解決策(回避策はより良い言葉です)は、sources.list
を調べることです。 独立という単語をファイルして削除します 行から。試してみてください。
すべてを表示するための優れた詳細なコマンド あなたのsources.list
エントリは次のとおりです:
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
Samsung 850 Pro SSDを使用したときにデータが失われる原因となったLinuxカーネルのバグは解決されましたか?
Gnome-terminalからリンクを開くために使用されるデフォルトのブラウザとコマンドラインパラメータを変更するにはどうすればよいですか?