Mengatasi tidak bisa instal update di ubuntu server 12
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-3.2.0-43-generic-pae_3.2.0-43.68_i386.deb Size mismatch Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-3.2.0-43-generic-pae_3.2.0-43.68_i386.deb Size mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/
us.archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_binary-i386_Packages Hash Sum mismatch E: Some index files failed to download. They have been ignored, or old ones used instead.
untuk mengatasi masalah tersebut.sudo rm /var/lib/apt/lists/* -vf
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update
sudo apt-get dist-upgrade
akan keluar output seperti ini0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. audity@auditypc:~$
sudo apt-get update Get:1 http://dl.google.com stable Release.gpg [198 B]
Get:2 http://us.archive.ubuntu.com precise Release.gpg [198 B]
Get:3 http://dl.google.com stable Release [1,347 B]
Get:4 http://extras.ubuntu.com precise Release.gpg [72 B]
Get:5 http://archive.canonical.com precise Release.gpg [198 B]
Get:6 http://dl.google.com stable/main i386 Packages [763 B]
Get:7 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:8 http://extras.ubuntu.com precise Release [11.9 kB]
Ign http://dl.google.com stable/main TranslationIndex
Get:9 http://archive.canonical.com precise Release [7,078 B]
Get:10 http://extras.ubuntu.com precise/main Sources [8,130 B]
Get:11 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:12 http://archive.canonical.com precise/partner i386 Packages [8,261 B]
Get:13 http://extras.ubuntu.com precise/main i386 Packages [10.8 kB]
Ign http://archive.canonical.com precise/partner TranslationIndex
Get:14 http://us.archive.ubuntu.com precise-security Release.gpg [198 B]
Ign http://extras.ubuntu.com precise/main TranslationIndex
Get:15 http://us.archive.ubuntu.com precise Release [49.6 kB]
Ign http://dl.google.com stable/main Translation-en_US
Get:16 http://us.archive.ubuntu.com precise Release [49.6 kB]
Ign http://dl.google.com stable/main Translation-en Get:17
http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://archive.canonical.com precise/partner Translation-en_US Get:18
http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Ign http://extras.ubuntu.com precise/main Translation-en
Ign http://archive.canonical.com precise/partner Translation-en
Get:19 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]
Get:20 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]
Get:21 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]
Ign http://us.archive.ubuntu.com precise-backports Release
E: GPG error: http://us.archive.ubuntu.com precise-backports Release:
The following signatures were invalid: NODATA 2 audity@auditypc:~$
bila GPG eror
$ sudo -i
# apt-get clean
# cd /var/lib/apt
# mv lists lists.old
# mkdir -p lists/partial
# apt-get clean
# apt-get update
# exit
lalu perintah finalnya..
sudo apt-get dist-upgrade
sudo apt-get install linux
Masalah teratasi
Related
- Koneksi Database dengan PHP PDO
- Backup dan Restore DB dengan CRON
- TEKNIK MENGAMANKAN SYSTEM ANDA DENGAN RCS (REVISION CONTROL SYSTEM)
- perintah dasar linux baru
- INSTAL LAMP