Show all


Mengatasi tidak bisa instal update di ubuntu server 12

Kamis, 31 March 2016



watched: 6290 kali

Failed to fetch Size mismatch Failed to fetch 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 ini

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. audity@auditypc:~$
sudo apt-get update Get:1 stable Release.gpg [198 B]
Get:2 precise Release.gpg [198 B]
Get:3 stable Release [1,347 B]
Get:4 precise Release.gpg [72 B]
Get:5 precise Release.gpg [198 B]
Get:6 stable/main i386 Packages [763 B]
Get:7 precise-updates Release.gpg [198 B]
Get:8 precise Release [11.9 kB]
Ign stable/main TranslationIndex
Get:9 precise Release [7,078 B]
Get:10 precise/main Sources [8,130 B]
Get:11 precise-backports Release.gpg [198 B]
Get:12 precise/partner i386 Packages [8,261 B]
Get:13 precise/main i386 Packages [10.8 kB]
Ign precise/partner TranslationIndex
Get:14 precise-security Release.gpg [198 B]
Ign precise/main TranslationIndex
Get:15 precise Release [49.6 kB]
Ign stable/main Translation-en_US
Get:16 precise Release [49.6 kB]
Ign stable/main Translation-en Get:17 precise-updates Release [49.6 kB]
Ign precise/main Translation-en_US
Ign precise/partner Translation-en_US Get:18 precise-updates Release [49.6 kB]
Ign precise/main Translation-en
Ign precise/partner Translation-en
Get:19 precise-backports Release [49.6 kB]
Get:20 precise-backports Release [49.6 kB]
Get:21 precise-backports Release [49.6 kB]
Ign precise-backports Release
E: GPG error: 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


Facebook Comments

Back to the top