W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://us.archive.ubuntu.com jaunty-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty-updates/Release
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty-security/main/source/Sources.bz2 Hash Sum mismatch
W: Some index files failed to download, they have been ignored, or old ones used instead.
چه کار باید کنم ؟
sudo apt-get install -f
sudo gedit /etc/apt/sources.list
اول دستور زیر رُ بزنید و بعد دوباره تست کنسد:
کد:
sudo apt-get install -f
بعد دستور:
کد:
sudo gedit /etc/apt/sources.list
رُ بزنید و us ها رُ به ir تغییر بدید. و ذخیره کنید.
اگر نشد بفرمایید تا راههای دیگه رُ امتحان کنیم.
Could not download all repository indexes
The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/jaunty-updates/main/binary-i386/Packages.bz2 Sub-process bzip2 returned an error code (2)
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/jaunty-updates/main/source/Sources.bz2 Sub-process bzip2 returned an error code (2)
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/jaunty-updates/universe/source/Sources.bz2 Hash Sum mismatch
Some index files failed to download, they have been ignored, or old ones used instead.
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/jaunty-updates/main/binary-i386/Packages.bz2 Hash Sum mismatch
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/jaunty-updates/universe/source/Sources.bz2 Hash Sum mismatch
Some index files failed to download, they have been ignored, or old ones used instead.
تمام این کارهارو کردم ولی فقط همون پیغام با تغییر
شاید این به دردتون خورد
http://www.forum.abnoos.com/showthread.php?tid=598
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/jaunty-updates/universe/source/Sources.bz2 Hash Sum mismatch
Some index files failed to download, they have been ignored, or old ones used instead.
sudo apt-get clean
sudo apt-get autoremove
اصولا بعد از اینکه دو دستور زیر رُ زدید، نباید مشکلی داشته باشید مگر اینکه در ارتباط با اینترنت مشکلی داشته باشید یا فایل مخازن دچار مشکل باشه:
کد:
sudo apt-get clean
sudo apt-get autoremove
منتظر جواب هستم...
root@secret-Ubuntu:~# apt-get update
Hit http://ir.archive.ubuntu.com jaunty Release.gpg
Ign http://ir.archive.ubuntu.com jaunty/main Translation-en_US
Ign http://ir.archive.ubuntu.com jaunty/restricted Translation-en_US
Ign http://ir.archive.ubuntu.com jaunty/universe Translation-en_US
Ign http://ir.archive.ubuntu.com jaunty/multiverse Translation-en_US
Hit http://ir.archive.ubuntu.com jaunty-updates Release.gpg
Ign http://ir.archive.ubuntu.com jaunty-updates/main Translation-en_US
Ign http://ir.archive.ubuntu.com jaunty-updates/restricted Translation-en_US
Ign http://ir.archive.ubuntu.com jaunty-updates/universe Translation-en_US
Ign http://ir.archive.ubuntu.com jaunty-updates/multiverse Translation-en_US
Hit http://ir.archive.ubuntu.com jaunty-security Release.gpg
Ign http://ir.archive.ubuntu.com jaunty-security/main Translation-en_US
Ign http://ir.archive.ubuntu.com jaunty-security/restricted Translation-en_US
Ign http://ir.archive.ubuntu.com jaunty-security/universe Translation-en_US
Ign http://ir.archive.ubuntu.com jaunty-security/multiverse Translation-en_US
Hit http://ir.archive.ubuntu.com jaunty Release
Hit http://ir.archive.ubuntu.com jaunty-updates Release
Hit http://ir.archive.ubuntu.com jaunty-security Release
Hit http://ir.archive.ubuntu.com jaunty/main Packages
Hit http://ir.archive.ubuntu.com jaunty/restricted Packages
Hit http://ir.archive.ubuntu.com jaunty/main Sources
Hit http://ir.archive.ubuntu.com jaunty/restricted Sources
Hit http://ir.archive.ubuntu.com jaunty/universe Packages
Hit http://ir.archive.ubuntu.com jaunty/universe Sources
Hit http://ir.archive.ubuntu.com jaunty/multiverse Packages
Hit http://ir.archive.ubuntu.com jaunty/multiverse Sources
Hit http://ir.archive.ubuntu.com jaunty-updates/main Packages
Hit http://ir.archive.ubuntu.com jaunty-updates/restricted Packages
Hit http://ir.archive.ubuntu.com jaunty-updates/main Sources
Hit http://ir.archive.ubuntu.com jaunty-updates/restricted Sources
Hit http://ir.archive.ubuntu.com jaunty-updates/universe Packages
Get:1 http://ir.archive.ubuntu.com jaunty-updates/universe Sources [14B]
Hit http://ir.archive.ubuntu.com jaunty-updates/multiverse Packages
Hit http://ir.archive.ubuntu.com jaunty-updates/multiverse Sources
Hit http://ir.archive.ubuntu.com jaunty-security/main Packages
Hit http://ir.archive.ubuntu.com jaunty-security/restricted Packages
Hit http://ir.archive.ubuntu.com jaunty-security/main Sources
Hit http://ir.archive.ubuntu.com jaunty-security/restricted Sources
Hit http://ir.archive.ubuntu.com jaunty-security/universe Packages
Hit http://ir.archive.ubuntu.com jaunty-security/universe Sources
Hit http://ir.archive.ubuntu.com jaunty-security/multiverse Packages
Hit http://ir.archive.ubuntu.com jaunty-security/multiverse Sources
Fetched 1B in 11s (0B/s)
W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/jaunty-updates/universe/source/Sources.bz2 Hash Sum mismatch
E: Some index files failed to download, they have been ignored, or old ones used instead.
sudo apt-get update -o Acquire::http::No-Cache=True
از سرور اصلی دانلود کنید. برای تنظیم کردن سورس ها روی سرور اصلی به آدرس زیر برید:
system >> administration >> software sources
و بعد در تب "Ubuntu Software" قسمت "Download from" رو روی "Main Server" قرار بدید.