PDA

View Full Version : [SOLVED] update problem



zaidst
July 3rd, 2011, 07:34 PM
Hello All

I have a Problem when i update my software
I write "sudo apt-get update"
and this is the output :




Ign http://archive.canonical.com natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Ign http://il.archive.ubuntu.com natty InRelease
Ign http://il.archive.ubuntu.com natty-updates InRelease
Hit http://archive.canonical.com natty Release.gpg
Ign http://ppa.launchpad.net natty InRelease
Hit http://security.ubuntu.com natty-security Release.gpg
Ign http://extras.ubuntu.com natty InRelease
Ign http://deb.opera.com stable InRelease
Hit http://archive.canonical.com natty Release
Hit http://il.archive.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security Release
Hit http://ppa.launchpad.net natty Release.gpg
Hit http://archive.canonical.com natty/partner i386 Packages
Hit http://extras.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security/main Sources
Hit http://il.archive.ubuntu.com natty-updates Release.gpg
Hit http://deb.opera.com stable Release.gpg
Ign http://archive.canonical.com natty/partner TranslationIndex
Hit http://ppa.launchpad.net natty Release
Hit http://extras.ubuntu.com natty Release
Hit http://security.ubuntu.com natty-security/restricted Sources
Hit http://security.ubuntu.com natty-security/universe Sources
Hit http://security.ubuntu.com natty-security/multiverse Sources
Hit http://security.ubuntu.com natty-security/main i386 Packages
Hit http://security.ubuntu.com natty-security/restricted i386 Packages
Hit http://il.archive.ubuntu.com natty Release
Hit http://security.ubuntu.com natty-security/universe i386 Packages
Hit http://security.ubuntu.com natty-security/multiverse i386 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Hit http://deb.opera.com stable Release
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Hit http://ppa.launchpad.net natty/main Sources
Hit http://extras.ubuntu.com natty/main Sources
Hit http://il.archive.ubuntu.com natty-updates Release
Ign http://dl.google.com stable InRelease
Hit http://deb.opera.com stable/non-free i386 Packages
Hit http://extras.ubuntu.com natty/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://ppa.launchpad.net natty/main i386 Packages
Ign http://ppa.launchpad.net natty/main TranslationIndex
Hit http://il.archive.ubuntu.com natty/main Sources
Hit http://il.archive.ubuntu.com natty/restricted Sources
Hit http://il.archive.ubuntu.com natty/multiverse Sources
Hit http://il.archive.ubuntu.com natty/main i386 Packages
Ign http://deb.opera.com stable/non-free TranslationIndex
Hit http://il.archive.ubuntu.com natty/restricted i386 Packages
Hit http://il.archive.ubuntu.com natty/universe i386 Packages
Hit http://il.archive.ubuntu.com natty/multiverse i386 Packages
Ign http://il.archive.ubuntu.com natty/main TranslationIndex
Ign http://il.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://dl.google.com stable InRelease
Ign http://il.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://il.archive.ubuntu.com natty/universe TranslationIndex
Hit http://il.archive.ubuntu.com natty-updates/main Sources
Hit http://il.archive.ubuntu.com natty-updates/restricted Sources
Hit http://il.archive.ubuntu.com natty-updates/universe Sources
Get:1 http://dl.google.com stable Release.gpg [198 B]
Hit http://il.archive.ubuntu.com natty-updates/multiverse Sources
Hit http://il.archive.ubuntu.com natty-updates/main i386 Packages
Hit http://il.archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://il.archive.ubuntu.com natty-updates/universe i386 Packages
Hit http://il.archive.ubuntu.com natty-updates/multiverse i386 Packages
Get:2 http://dl.google.com stable Release.gpg [198 B]
Ign http://il.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://il.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://il.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://il.archive.ubuntu.com natty-updates/universe TranslationIndex
Ign http://archive.canonical.com natty/partner Translation-en_US
Get:3 http://il.archive.ubuntu.com natty/universe Sources [5,430 kB]
Ign http://archive.canonical.com natty/partner Translation-en
Ign http://security.ubuntu.com natty-security/main Translation-en_US
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en_US
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en_US
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en_US
Ign http://security.ubuntu.com natty-security/universe Translation-en
Get:4 http://dl.google.com stable Release [1,351 B]
Ign http://extras.ubuntu.com natty/main Translation-en_US
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://deb.opera.com stable/non-free Translation-en_US
Get:5 http://dl.google.com stable Release [1,347 B]
Ign http://deb.opera.com stable/non-free Translation-en
Ign http://ppa.launchpad.net natty/main Translation-en_US
Ign http://ppa.launchpad.net natty/main Translation-en
Get:6 http://dl.google.com stable/main i386 Packages [1,247 B]
Ign http://il.archive.ubuntu.com natty/main Translation-en_US
Ign http://il.archive.ubuntu.com natty/main Translation-en
Ign http://il.archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://il.archive.ubuntu.com natty/multiverse Translation-en
Ign http://il.archive.ubuntu.com natty/restricted Translation-en_US
Ign http://il.archive.ubuntu.com natty/restricted Translation-en
Ign http://dl.google.com stable/main TranslationIndex
Ign http://il.archive.ubuntu.com natty/universe Translation-en_US
Ign http://il.archive.ubuntu.com natty/universe Translation-en
Ign http://il.archive.ubuntu.com natty-updates/main Translation-en_US
Get:7 http://dl.google.com stable/main i386 Packages [767 B]
Ign http://il.archive.ubuntu.com natty-updates/main Translation-en
Ign http://il.archive.ubuntu.com natty-updates/multiverse Translation-en_US
Ign http://il.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://il.archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://il.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://il.archive.ubuntu.com natty-updates/universe Translation-en_US
Ign http://il.archive.ubuntu.com natty-updates/universe Translation-en
Ign http://dl.google.com stable/main TranslationIndex
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Fetched 5,109 B in 34s (149 B/s)
W: Failed to fetch gzip:/var/lib/apt/lists/partial/il.archive.ubuntu.com_ubuntu_dists_natty_universe_ source_Sources Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.




Any Help , Plz

raja.genupula
July 3rd, 2011, 07:39 PM
run this


sudo rm -rf /var/lib/apt/lists/*


then do the update again

Rubi1200
July 3rd, 2011, 07:39 PM
Hi,
when was the last time you updated the system?

Try this in the terminal:


sudo apt-get update -o Acquire::http::No-Cache=True

dino99
July 3rd, 2011, 07:39 PM
your server is probably down, change it to "main server" into synaptic, then update again.

zaidst
July 3rd, 2011, 08:09 PM
run this


sudo rm -rf /var/lib/apt/lists/*
then do the update again

That's work 100%
Many Thanks

I like also to learn form every problem i face .
So , can you explain to me what was this problem and what does "sudo rm -rf /var/lib/apt/lists/*" do ?

Thanks Again

zaidst
July 3rd, 2011, 08:12 PM
Thanks to Rubi1200 & dino99

Rubi1200
July 3rd, 2011, 08:15 PM
No problem, we are glad you managed to get this fixed :-)

Please mark this Solved using the Thread Tools near the top of the page.