update manager not working in ubuntu 11.04

Asked by Michele

Hi everyone,
Thanks for your answers and support. Initially I may have posted the question in the wrong place. Here I go again. Ubuntu OS is on 2 different machines. One is a custom built tower. Ubuntu is the sole OS on that machine. The other is a Toshiba laptop running Windows Vista and Ubuntu. I tried using update manager to get my updates for Linux. Both machines told me that updates did not load and to check the internet connection. The desktop is connected via an ethernet cable and the laptop was tried via wireless and via ethernet without success. I was able to get to the internet without any problems. I am a newbie to Linux. I love it there is a learning curve for me but well worth the effort. The only reason I keep Windows is for some of the Windows programs I must use with other concerns. Thank you again for your help.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

sudo apt-get update; lsb_release -a

Thanks

Revision history for this message
Michele (mycooks63) said :
#2

Here is the output from the tower machine. Thanks for your help

Ign http://extras.ubuntu.com natty InRelease
Ign http://us.archive.ubuntu.com natty InRelease
Ign http://us.archive.ubuntu.com natty-updates InRelease
Ign http://security.ubuntu.com natty-security InRelease
Hit http://extras.ubuntu.com natty Release.gpg
Hit http://us.archive.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://extras.ubuntu.com natty Release
Hit http://us.archive.ubuntu.com natty-updates Release.gpg
Hit http://security.ubuntu.com natty-security Release
Hit http://extras.ubuntu.com natty/main Sources
Hit http://us.archive.ubuntu.com natty Release
Hit http://security.ubuntu.com natty-security/main Sources
Hit http://extras.ubuntu.com natty/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://us.archive.ubuntu.com natty-updates 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://us.archive.ubuntu.com natty/main Sources
Hit http://us.archive.ubuntu.com natty/restricted Sources
Hit http://us.archive.ubuntu.com natty/multiverse Sources
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
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com natty/restricted i386 Packages
Hit http://us.archive.ubuntu.com natty/multiverse i386 Packages
Ign http://us.archive.ubuntu.com natty/main TranslationIndex
Ign http://us.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty/universe TranslationIndex
Hit http://us.archive.ubuntu.com natty-updates/main Sources
Hit http://us.archive.ubuntu.com natty-updates/restricted Sources
Hit http://us.archive.ubuntu.com natty-updates/universe Sources
Hit http://us.archive.ubuntu.com natty-updates/multiverse Sources
Hit http://us.archive.ubuntu.com natty-updates/main i386 Packages
Hit http://us.archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com natty-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://us.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/universe TranslationIndex
Get:1 http://us.archive.ubuntu.com natty/universe Sources [5,430 kB]
Get:2 http://us.archive.ubuntu.com natty/main i386 Packages [1,987 kB]
Ign http://extras.ubuntu.com natty/main Translation-en_US
Get:3 http://us.archive.ubuntu.com natty/universe i386 Packages [7,755 kB]
Ign http://extras.ubuntu.com natty/main 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
Ign http://us.archive.ubuntu.com natty/main Translation-en_US
Ign http://us.archive.ubuntu.com natty/main Translation-en
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com natty/restricted Translation-en
Ign http://us.archive.ubuntu.com natty/universe Translation-en_US
Ign http://us.archive.ubuntu.com natty/universe Translation-en
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en
Fetched 3 B in 4s (1 B/s)
W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_universe_source_Sources Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_universe_binary-i386_Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo apt-get clean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get dist-upgrade

Revision history for this message
Michele (mycooks63) said :
#4

Thanks actionparsnip, that solved my question.

Revision history for this message
Michele (mycooks63) said :
#5

Hi again,

I run this script each time I get on the system to be sure I have the most recent updates. How can I be sure this is updating each time?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Not necessary to run the entire commands sequence, if you want use terminal to keep your system updated simply type:

sudo apt-get update; sudo apt-get dist-upgrade

you can also run the default gui app to update your system : update-manager

Revision history for this message
Michele (mycooks63) said :
#7

I tired again. Here is the error I got doing the update manager.

Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.16.0~ubuntu7.1_i386.deb Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/c/cups/cups-common_1.4.6-5ubuntu1.4_all.deb Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/c/cups/cups_1.4.6-5ubuntu1.4_i386.deb Hash Sum mismatch

  Can you help ? What does a Hash Sum mismatch mean?

Revision history for this message
Michele (mycooks63) said :
#8

This is the output when I run the apt-get update; apt-get dist-upgrade

Ign http://extras.ubuntu.com natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Ign http://us.archive.ubuntu.com natty InRelease
Ign http://us.archive.ubuntu.com natty-updates InRelease
Hit http://extras.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://us.archive.ubuntu.com natty Release.gpg
Hit http://extras.ubuntu.com natty Release
Hit http://security.ubuntu.com natty-security Release
Hit http://us.archive.ubuntu.com natty-updates Release.gpg
Hit http://extras.ubuntu.com natty/main Sources
Hit http://security.ubuntu.com natty-security/main Sources
Hit http://us.archive.ubuntu.com natty Release
Hit http://extras.ubuntu.com natty/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://security.ubuntu.com natty-security/restricted Sources
Hit http://security.ubuntu.com natty-security/universe Sources
Hit http://us.archive.ubuntu.com natty-updates Release
Hit http://us.archive.ubuntu.com natty/restricted Sources
Hit http://us.archive.ubuntu.com natty/multiverse Sources
Hit http://security.ubuntu.com natty-security/multiverse Sources
Hit http://security.ubuntu.com natty-security/main i386 Packages
Hit http://us.archive.ubuntu.com natty/restricted i386 Packages
Ign http://us.archive.ubuntu.com natty/main TranslationIndex
Ign http://us.archive.ubuntu.com natty/multiverse TranslationIndex
Hit http://security.ubuntu.com natty-security/restricted i386 Packages
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
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Ign http://us.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty/universe TranslationIndex
Hit http://us.archive.ubuntu.com natty-updates/main Sources
Hit http://us.archive.ubuntu.com natty-updates/restricted Sources
Hit http://us.archive.ubuntu.com natty-updates/universe Sources
Hit http://us.archive.ubuntu.com natty-updates/multiverse Sources
Hit http://us.archive.ubuntu.com natty-updates/main i386 Packages
Hit http://us.archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://us.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/universe TranslationIndex
Get:1 http://us.archive.ubuntu.com natty/main Sources [1,077 kB]
Ign http://extras.ubuntu.com natty/main Translation-en_US
Get:2 http://us.archive.ubuntu.com natty/universe Sources [5,430 kB]
Get:3 http://us.archive.ubuntu.com natty/main i386 Packages [1,987 kB]
Ign http://extras.ubuntu.com natty/main Translation-en
Get:4 http://us.archive.ubuntu.com natty/universe i386 Packages [7,755 kB]
Get:5 http://us.archive.ubuntu.com natty/multiverse i386 Packages [238 kB]
Get:6 http://us.archive.ubuntu.com natty-updates/universe i386 Packages [120 kB]
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
Ign http://us.archive.ubuntu.com natty/main Translation-en_US
Ign http://us.archive.ubuntu.com natty/main Translation-en
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com natty/restricted Translation-en
Ign http://us.archive.ubuntu.com natty/universe Translation-en_US
Ign http://us.archive.ubuntu.com natty/universe Translation-en
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en
Fetched 6 B in 5s (1 B/s)
W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_universe_source_Sources Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_universe_binary-i386_Packages Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_multiverse_binary-i386_Packages Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty-updates_universe_binary-i386_Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
palaymic@melmick-P4M800-8237:~$ sudo apt-get dist upgrade
E: Invalid operation dist
palaymic@melmick-P4M800-8237:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  cups cups-bsd cups-client cups-common cups-ppdc dpkg dpkg-dev libcups2
  libcupscgi1 libcupsdriver1 libcupsimage2 libcupsmime1 libcupsppdc1
  libdpkg-perl
14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,120 kB/6,298 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main dpkg i386 1.16.0~ubuntu7.1 [1,848 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main libcupscgi1 i386 1.4.6-5ubuntu1.4 [35.3 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main cups-common all 1.4.6-5ubuntu1.4 [1,274 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main cups i386 1.4.6-5ubuntu1.4 [1,963 kB]
Fetched 5,120 kB in 43s (118 kB/s)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.16.0~ubuntu7.1_i386.deb Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/c/cups/cups-common_1.4.6-5ubuntu1.4_all.deb Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/c/cups/cups_1.4.6-5ubuntu1.4_i386.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
palaymic@melmick-P4M800-8237:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

Tried switching from the US server to a different one (use software centre to switch). I also suggest you run:

sudo apt-get clean

Revision history for this message
Michele (mycooks63) said :
#10

Tried switching to another server and got the message that some packages could not be authenticated and were out of date. I just updated the system. Approximately 80 packages updated and here is the print out of the terminal and the end

Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/perl/perl-modules_5.10.1-17ubuntu4.1_all.deb Hash Sum mismatch
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/perl/perl_5.10.1-17ubuntu4.1_i386.deb Hash Sum mismatch
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/perl/libperl5.10_5.10.1-17ubuntu4.1_i386.deb Hash Sum mismatch
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/perl/perl-base_5.10.1-17ubuntu4.1_i386.deb Hash Sum mismatch
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/cups/libcups2_1.4.6-5ubuntu1.4_i386.deb Hash Sum mismatch
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/cups/libcupsimage2_1.4.6-5ubuntu1.4_i386.deb Hash Sum mismatch
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/cups/cups-common_1.4.6-5ubuntu1.4_all.deb Hash Sum mismatch
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/cups/cups-bsd_1.4.6-5ubuntu1.4_i386.deb Hash Sum mismatch
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/cups/cups_1.4.6-5ubuntu1.4_i386.deb Hash Sum mismatch
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/language-pack-en-base/language-pack-en-base_11.04+20110607_all.deb Hash Sum mismatch
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/language-pack-gnome-en-base/language-pack-gnome-en-base_11.04+20110607_all.deb Hash Sum mismatch
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/language-pack-zh-hans-base/language-pack-zh-hans-base_11.04+20110607_all.deb Hash Sum mismatch
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.38-11-generic_2.6.38-11.50_i386.deb Hash Sum mismatch
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_0.8.13.2ubuntu4.2_i386.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I do not understand what all this means. Can you help?

Revision history for this message
Michele (mycooks63) said :
#11

Tried to update the machine this morning via scripts and update manager. It did not work. Here is the text of the error:

 firefox firefox-globalmenu firefox-gnome-support firefox-locale-en

  xul-ext-ubufox

5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Need to get 15.4 MB/15.6 MB of archives.

After this operation, 553 kB disk space will be freed.

Do you want to continue [Y/n]? y

Get:1 http://us.archive.ubuntu.com/ubuntu/ natty-security/main firefox i386 7.0.1+build1+nobinonly-0ubuntu0.11.04.1 [15.1 MB]

Get:2 http://us.archive.ubuntu.com/ubuntu/ natty-security/main firefox-locale-en all 7.0.1+build1+nobinonly-0ubuntu0.11.04.1 [384 kB]

Fetched 15.4 MB in 36s (428 kB/s)

Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_7.0.1+build1+nobinonly-0ubuntu0.11.04.1_i386.deb Hash Sum mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#12

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo apt-get clean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get dist-upgrade

Revision history for this message
Michele (mycooks63) said :
#13

Hi actionparnsip,

I ran your commands. Here is the output. I have encountered the same errors on my laptop and tower unit

alaymic@mickenea-Satellite-L305:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
palaymic@mickenea-Satellite-L305:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
palaymic@mickenea-Satellite-L305:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
palaymic@mickenea-Satellite-L305:~$ sudo rm -rf /var/lib/dpkg/updates/*
palaymic@mickenea-Satellite-L305:~$ sudo rm -rf /var/lib/apt/lists
palaymic@mickenea-Satellite-L305:~$ sudo mkdir /var/lib/apt/lists
palaymic@mickenea-Satellite-L305:~$ sudo mkdir /var/lib/apt/lists/partial
palaymic@mickenea-Satellite-L305:~$ sudo apt-get clean
palaymic@mickenea-Satellite-L305:~$ sudo apt-get update
Ign http://us.archive.ubuntu.com natty InRelease
Ign http://us.archive.ubuntu.com natty-updates InRelease
Ign http://extras.ubuntu.com natty InRelease
Ign http://security.ubuntu.com natty-security InRelease
Get:1 http://us.archive.ubuntu.com natty Release.gpg [198 B]
Get:2 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:3 http://security.ubuntu.com natty-security Release.gpg [198 B]
Get:4 http://us.archive.ubuntu.com natty-updates Release.gpg [198 B]
Get:5 http://extras.ubuntu.com natty Release [9,753 B]
Get:6 http://security.ubuntu.com natty-security Release [31.4 kB]
Get:7 http://us.archive.ubuntu.com natty Release [39.8 kB]
Get:8 http://extras.ubuntu.com natty/main Sources [14 B]
Get:9 http://extras.ubuntu.com natty/main i386 Packages [14 B]
Ign http://extras.ubuntu.com natty/main TranslationIndex
Get:10 http://us.archive.ubuntu.com natty-updates Release [31.4 kB]
Get:11 http://security.ubuntu.com natty-security/main Sources [70.4 kB]
Get:12 http://us.archive.ubuntu.com natty/main Sources [862 kB]
Get:13 http://security.ubuntu.com natty-security/restricted Sources [14 B]
Get:14 http://security.ubuntu.com natty-security/universe Sources [11.3 kB]
Get:15 http://security.ubuntu.com natty-security/multiverse Sources [657 B]
Get:16 http://security.ubuntu.com natty-security/main i386 Packages [189 kB]
Get:17 http://security.ubuntu.com natty-security/restricted i386 Packages [14 B]
Get:18 http://security.ubuntu.com natty-security/universe i386 Packages [41.6 kB]
Get:19 http://security.ubuntu.com natty-security/multiverse i386 Packages [2,077 B]
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
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Ign http://extras.ubuntu.com natty/main Translation-en_US
Ign http://extras.ubuntu.com natty/main Translation-en
Get:20 http://us.archive.ubuntu.com natty/restricted Sources [4,104 B]
Get:21 http://us.archive.ubuntu.com natty/universe Sources [4,380 kB]
22% [12 Sources bzip2 0 B] [21 Sources 0 B/4,380 kB 0%] [Waiting for headers]
bzip2: Data integrity error when decompressing.
 Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

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:22 http://us.archive.ubuntu.com natty/multiverse Sources [155 kB]
Get:23 http://us.archive.ubuntu.com natty/main i386 Packages [1,550 kB]
88% [21 Sources bzip2 0 B] [23 Packages 716 kB/1,550 kB 46%] 476 kB/s 1s
bzip2: Data integrity error when decompressing.
 Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Get:24 http://us.archive.ubuntu.com natty/restricted i386 Packages [8,986 B]
Get:25 http://us.archive.ubuntu.com natty/universe i386 Packages [6,021 kB]
55% [23 Packages bzip2 0 B] [25 Packages 315 B/6,021 kB 0%] 687 kB/s 8s
bzip2: Data integrity error when decompressing.
 Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Get:26 http://us.archive.ubuntu.com natty/multiverse i386 Packages [183 kB]
98% [25 Packages bzip2 0 B] [26 Packages 3,006 B/183 kB 1%] 697 kB/s 0s
bzip2: Data integrity error when decompressing.
 Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Ign http://us.archive.ubuntu.com natty/main TranslationIndex
Ign http://us.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty/universe TranslationIndex
Get:27 http://us.archive.ubuntu.com natty-updates/main Sources [109 kB]
Get:28 http://us.archive.ubuntu.com natty-updates/restricted Sources [753 B]
Get:29 http://us.archive.ubuntu.com natty-updates/universe Sources [27.7 kB]
Get:30 http://us.archive.ubuntu.com natty-updates/multiverse Sources [1,888 B]
Get:31 http://us.archive.ubuntu.com natty-updates/main i386 Packages [326 kB]
Get:32 http://us.archive.ubuntu.com natty-updates/restricted i386 Packages [839 B]
Get:33 http://us.archive.ubuntu.com natty-updates/universe i386 Packages [96.1 kB]
Get:34 http://us.archive.ubuntu.com natty-updates/multiverse i386 Packages [4,264 B]
Ign http://us.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/universe TranslationIndex
Ign http://us.archive.ubuntu.com natty/main Translation-en_US
Ign http://us.archive.ubuntu.com natty/main Translation-en
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com natty/restricted Translation-en
Ign http://us.archive.ubuntu.com natty/universe Translation-en_US
Ign http://us.archive.ubuntu.com natty/universe Translation-en
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en
Fetched 14.2 MB in 30s (470 kB/s)
W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_universe_source_Sources Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_universe_binary-i386_Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
palaymic@mickenea-Satellite-L305:~$ sudo dpkg --clear-avail
palaymic@mickenea-Satellite-L305:~$ sudo dpkg --configure -a
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.38-11-generic
Setting up python-apport (1.20.1-0ubuntu5.1) ...
Setting up gwibber-service-facebook (3.0.0.1-0ubuntu3) ...
Processing triggers for python-support ...
Setting up gwibber-service-identica (3.0.0.1-0ubuntu3) ...
Setting up gwibber (3.0.0.1-0ubuntu3) ...
Setting up gwibber-service-twitter (3.0.0.1-0ubuntu3) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-central ...
Setting up apport (1.20.1-0ubuntu5.1) ...
start: Job failed to start
invoke-rc.d: initscript apport, action "start" failed.
Setting up ubuntuone-client (1.6.2-0ubuntu1) ...
Setting up ubuntuone-control-panel (1.0.0-0ubuntu1.1) ...
Setting up libsyncdaemon-1.0-1 (1.6.2-0ubuntu1) ...
Setting up ubuntuone-control-panel-gtk (1.0.0-0ubuntu1.1) ...
Setting up ubuntuone-client-gnome (1.6.2-0ubuntu1) ...
Processing triggers for python-central ...
Setting up apport-gtk (1.20.1-0ubuntu5.1) ...
Setting up libreoffice-core (1:3.3.3-1ubuntu2) ...
Setting up libreoffice-style-human (1:3.3.3-1ubuntu2) ...
Setting up language-pack-zh-hans (1:11.04+20110607) ...
Setting up libreoffice-math (1:3.3.3-1ubuntu2) ...
Setting up language-pack-en (1:11.04+20110607) ...
Setting up perl-modules (5.10.1-17ubuntu4.1) ...
Setting up language-pack-zh-hans-base (1:11.04+20110607) ...
Generating locales...
  zh_CN.UTF-8... done
  zh_SG.UTF-8... done
Generation complete.
Setting up libreoffice-base-core (1:3.3.3-1ubuntu2) ...
Setting up libreoffice-common (1:3.3.3-1ubuntu2) ...
Setting up language-pack-en-base (1:11.04+20110607) ...
Generating locales...
  en_AG.UTF-8... done
  en_AU.UTF-8... done
  en_BW.UTF-8... done
  en_CA.UTF-8... done
  en_DK.UTF-8... done
  en_GB.UTF-8... done
  en_HK.UTF-8... done
  en_IE.UTF-8... done
  en_IN.UTF-8... done
  en_NG.UTF-8... done
  en_NZ.UTF-8... done
  en_PH.UTF-8... done
  en_SG.UTF-8... done
  en_US.UTF-8... done
  en_ZA.UTF-8... done
  en_ZW.UTF-8... done
Generation complete.
Setting up perl (5.10.1-17ubuntu4.1) ...
Setting up libreoffice-gtk (1:3.3.3-1ubuntu2) ...
Setting up python-uno (1:3.3.3-1ubuntu2) ...
Setting up libreoffice-draw (1:3.3.3-1ubuntu2) ...
Setting up libreoffice-calc (1:3.3.3-1ubuntu2) ...
Setting up libreoffice-impress (1:3.3.3-1ubuntu2) ...
Setting up libdpkg-perl (1.16.0~ubuntu7.1) ...
Setting up libreoffice-writer (1:3.3.3-1ubuntu2) ...
Setting up libreoffice-gnome (1:3.3.3-1ubuntu2) ...
Setting up libreoffice-emailmerge (1:3.3.3-1ubuntu2) ...
Setting up libreoffice-help-en-us (1:3.3.3-1ubuntu2) ...
Setting up dpkg-dev (1.16.0~ubuntu7.1) ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Setting up language-pack-gnome-en (1:11.04+20110607) ...
Setting up language-pack-gnome-en-base (1:11.04+20110607) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for python-support ...
palaymic@mickenea-Satellite-L305:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.38-8 linux-headers-2.6.38-8-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
palaymic@mickenea-Satellite-L305:~$ sudo apt-get update
Ign http://us.archive.ubuntu.com natty InRelease
Ign http://us.archive.ubuntu.com natty-updates InRelease
Ign http://extras.ubuntu.com natty InRelease
Hit http://us.archive.ubuntu.com natty Release.gpg
Hit http://extras.ubuntu.com natty Release.gpg
Hit http://us.archive.ubuntu.com natty-updates Release.gpg
Hit http://extras.ubuntu.com natty Release
Hit http://us.archive.ubuntu.com natty Release
Hit http://extras.ubuntu.com natty/main Sources
Hit http://us.archive.ubuntu.com natty-updates Release
Hit http://extras.ubuntu.com natty/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://us.archive.ubuntu.com natty/restricted Sources
Hit http://us.archive.ubuntu.com natty/multiverse Sources
Hit http://us.archive.ubuntu.com natty/restricted i386 Packages
Hit http://us.archive.ubuntu.com natty/multiverse i386 Packages
Ign http://us.archive.ubuntu.com natty/main TranslationIndex
Ign http://us.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty/universe TranslationIndex
Hit http://us.archive.ubuntu.com natty-updates/main Sources
Hit http://us.archive.ubuntu.com natty-updates/restricted Sources
Hit http://us.archive.ubuntu.com natty-updates/universe Sources
Hit http://us.archive.ubuntu.com natty-updates/multiverse Sources
Hit http://us.archive.ubuntu.com natty-updates/main i386 Packages
Hit http://us.archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com natty-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://us.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://us.archive.ubuntu.com natty-updates/universe TranslationIndex
Get:1 http://us.archive.ubuntu.com natty/main Sources [1,077 kB]
Get:2 http://us.archive.ubuntu.com natty/universe Sources [5,430 kB]
Get:3 http://us.archive.ubuntu.com natty/main i386 Packages [1,987 kB]
Get:4 http://us.archive.ubuntu.com natty/universe i386 Packages [7,755 kB]
Ign http://extras.ubuntu.com natty/main Translation-en_US
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://us.archive.ubuntu.com natty/main Translation-en_US
Ign http://us.archive.ubuntu.com natty/main Translation-en
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com natty/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com natty/restricted Translation-en
Ign http://us.archive.ubuntu.com natty/universe Translation-en_US
Ign http://us.archive.ubuntu.com natty/universe Translation-en
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/main Translation-en
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com natty-updates/universe Translation-en
Ign http://security.ubuntu.com natty-security InRelease
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://security.ubuntu.com natty-security Release
Hit http://security.ubuntu.com natty-security/main Sources
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://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
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
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
Fetched 4 B in 8s (0 B/s)
W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_universe_source_Sources Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_universe_binary-i386_Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
palaymic@mickenea-Satellite-L305:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  firefox firefox-globalmenu firefox-gnome-support firefox-locale-en
  firefox-locale-zh-hans libgksu2-0 tomboy xul-ext-ubufox
8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.3 MB of archives.
After this operation, 557 kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main firefox-globalmenu i386 7.0.1+build1+nobinonly-0ubuntu0.11.04.1 [47.7 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main firefox i386 7.0.1+build1+nobinonly-0ubuntu0.11.04.1 [15.1 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main firefox-gnome-support i386 7.0.1+build1+nobinonly-0ubuntu0.11.04.1 [15.9 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main firefox-locale-en all 7.0.1+build1+nobinonly-0ubuntu0.11.04.1 [384 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main firefox-locale-zh-hans all 7.0.1+build1+nobinonly-0ubuntu0.11.04.1 [228 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main libgksu2-0 i386 2.0.13~pre1-3ubuntu3.1 [44.1 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main tomboy i386 1.6.0-0ubuntu4 [506 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main xul-ext-ubufox all 0.9.2-0ubuntu0.11.04.1 [49.2 kB]
Fetched 16.3 MB in 32s (498 kB/s)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_7.0.1+build1+nobinonly-0ubuntu0.11.04.1_i386.deb Hash Sum mismatch
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/f/firefox/firefox-locale-en_7.0.1+build1+nobinonly-0ubuntu0.11.04.1_all.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#14

try

sudo apt-get --fix-missing upgrade
sudo apt-get -f install

sudo apt-get clean

sudo apt-get update
sudo apt-get update

Yes twice update, then:

sudo apt-get upgrade
sudo apt-get dist-upgrade

Can you help with this problem?

Provide an answer of your own, or ask Michele for more information if necessary.

To post a message you must log in.