Hash Sum mismatch when apt-get install libjs-underscore in precise 12.04 64bit

Asked by arturo lorenzo

Fresh ubuntu 12.04 64bit server installation (precise) and I am getting Hash Sum mismatch when trying to install libjs-underscore package via apt-get install libjs-underscore.
Here is the output log:
~# apt-get install libjs-underscore
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  javascript-common
The following NEW packages will be installed:
  libjs-underscore
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.3 kB of archives.
After this operation, 156 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main libjs-underscore all 1.1.6-1ubuntu2 [31.3 kB]
Fetched 31.3 kB in 0s (0 B/s)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/u/underscore/libjs-underscore_1.1.6-1ubuntu2_all.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
===================================
apt-get update and apt-get dist-upgrade worked OK.
Here is apt-get update output:
~# apt-get update
Hit http://us.archive.ubuntu.com precise Release.gpg
Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://us.archive.ubuntu.com precise-backports Release.gpg
Hit http://us.archive.ubuntu.com precise Release
Get:2 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Hit http://us.archive.ubuntu.com precise-backports Release
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main amd64 Packages
Get:3 http://security.ubuntu.com precise-security Release.gpg [198 B]
Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Get:4 http://security.ubuntu.com precise-security Release [49.6 kB]
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Get:5 http://us.archive.ubuntu.com precise-updates/main Sources [373 kB]
Get:6 http://security.ubuntu.com precise-security/main Sources [64.7 kB]
Get:7 http://us.archive.ubuntu.com precise-updates/restricted Sources [5,494 B]
Get:8 http://us.archive.ubuntu.com precise-updates/universe Sources [82.7 kB]
Get:9 http://us.archive.ubuntu.com precise-updates/multiverse Sources [4,746 B]
Get:10 http://us.archive.ubuntu.com precise-updates/main amd64 Packages [592 kB]
Get:11 http://security.ubuntu.com precise-security/restricted Sources [1,950 B]
Get:12 http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages [10.1 kB]
Get:13 http://security.ubuntu.com precise-security/universe Sources [22.6 kB]
Get:14 http://us.archive.ubuntu.com precise-updates/universe amd64 Packages [190 kB]
Get:15 http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages [9,418 B]
Get:16 http://security.ubuntu.com precise-security/multiverse Sources [1,380 B]
Get:17 http://us.archive.ubuntu.com precise-updates/main i386 Packages [603 kB]
Get:18 http://security.ubuntu.com precise-security/main amd64 Packages [233 kB]
Get:19 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [10.1 kB]
Get:20 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [192 kB]
Get:21 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [10.4 kB]
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/main Sources
Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
Hit http://us.archive.ubuntu.com precise-backports/universe Sources
Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Get:22 http://security.ubuntu.com precise-security/restricted amd64 Packages [3,969 B]
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Get:23 http://security.ubuntu.com precise-security/universe amd64 Packages [68.6 kB]
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Get:24 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2,186 B]
Get:25 http://security.ubuntu.com precise-security/main i386 Packages [243 kB]
Get:26 http://security.ubuntu.com precise-security/restricted i386 Packages [3,968 B]
Get:27 http://security.ubuntu.com precise-security/universe i386 Packages [70.5 kB]
Get:28 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,369 B]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Fetched 2,901 kB in 4s (584 kB/s)
Reading package lists... Done
===========================================================
and here is the output of apt-get dist-upgrade
~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
============================================================
I am able to install other software with no problems.
I have tried several things like removing /var/lib/apt/files/* and apt-get clean, autoclean unsuccessfully
This is the second machine with the same problem.
Any help would be appreciated.

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
arturo lorenzo
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

wget https://dl.dropbox.com/u/8850924/fixpackage
chmod +x ./fixpackage
sudo ./fixpackage

Revision history for this message
arturo lorenzo (arturo-lorenzo) said :
#2

Thanks for your suggestion andrew but unfortunately it did not work, fixpackage ran OK but then I've tried to run the install of libjs-underscore and it fails the same way.
Here is the output of fixpackage and the failure at the end.
:~# ./fixpackage
Get:1 http://us.archive.ubuntu.com precise Release.gpg [198 B]
Get:2 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:3 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:4 http://us.archive.ubuntu.com precise Release [49.6 kB]
Get:5 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Get:6 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]
Get:7 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:8 http://us.archive.ubuntu.com precise/main Sources [934 kB]
Get:9 http://us.archive.ubuntu.com precise/restricted Sources [5,470 B]
Get:10 http://us.archive.ubuntu.com precise/universe Sources [5,019 kB]
Get:11 http://security.ubuntu.com precise-security Release [49.6 kB]
Get:12 http://security.ubuntu.com precise-security/main Sources [64.7 kB]
Get:13 http://us.archive.ubuntu.com precise/multiverse Sources [155 kB]
Get:14 http://us.archive.ubuntu.com precise/main amd64 Packages [1,273 kB]
Get:15 http://security.ubuntu.com precise-security/restricted Sources [1,950 B]
Get:16 http://us.archive.ubuntu.com precise/restricted amd64 Packages [8,452 B]
Get:17 http://us.archive.ubuntu.com precise/universe amd64 Packages [4,786 kB]
Get:18 http://security.ubuntu.com precise-security/universe Sources [22.6 kB]
Get:19 http://us.archive.ubuntu.com precise/multiverse amd64 Packages [119 kB]
Get:20 http://us.archive.ubuntu.com precise/main i386 Packages [1,274 kB]
Get:21 http://security.ubuntu.com precise-security/multiverse Sources [1,380 B]
Get:22 http://us.archive.ubuntu.com precise/restricted i386 Packages [8,431 B]
Get:23 http://us.archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
Get:24 http://security.ubuntu.com precise-security/main amd64 Packages [233 kB]
Get:25 http://us.archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Get:26 http://security.ubuntu.com precise-security/restricted amd64 Packages [3,969 B]
Get:27 http://us.archive.ubuntu.com precise/main TranslationIndex [3,706 B]
Get:28 http://us.archive.ubuntu.com precise/multiverse TranslationIndex [2,676 B]
Get:29 http://us.archive.ubuntu.com precise/restricted TranslationIndex [2,596 B]
Get:30 http://security.ubuntu.com precise-security/universe amd64 Packages [68.6 kB]
Get:31 http://us.archive.ubuntu.com precise/universe TranslationIndex [2,922 B]
Get:32 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2,186 B]
Get:33 http://us.archive.ubuntu.com precise-updates/main Sources [374 kB]
Get:34 http://security.ubuntu.com precise-security/main i386 Packages [243 kB]
Get:35 http://us.archive.ubuntu.com precise-updates/restricted Sources [5,494 B]
Get:36 http://us.archive.ubuntu.com precise-updates/universe Sources [82.7 kB]
Get:37 http://security.ubuntu.com precise-security/restricted i386 Packages [3,968 B]
Get:38 http://us.archive.ubuntu.com precise-updates/multiverse Sources [4,746 B]
Get:39 http://us.archive.ubuntu.com precise-updates/main amd64 Packages [592 kB]
Get:40 http://security.ubuntu.com precise-security/universe i386 Packages [70.5 kB]
Get:41 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,369 B]
Get:42 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:43 http://security.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Get:44 http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages [10.1 kB]
Get:45 http://us.archive.ubuntu.com precise-updates/universe amd64 Packages [190 kB]
Get:46 http://security.ubuntu.com precise-security/restricted TranslationIndex [71 B]
Get:47 http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages [9,418 B]
Get:48 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:49 http://us.archive.ubuntu.com precise-updates/main i386 Packages [603 kB]
Get:50 http://security.ubuntu.com precise-security/main Translation-en [114 kB]
Get:51 http://security.ubuntu.com precise-security/multiverse Translation-en [995 B]
Get:52 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [10.1 kB]
Get:53 http://security.ubuntu.com precise-security/restricted Translation-en [978 B]
Get:54 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [192 kB]
Get:55 http://security.ubuntu.com precise-security/universe Translation-en [43.4 kB]
Get:56 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [10.4 kB]
Get:57 http://us.archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
Get:58 http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex [2,605 B]
Get:59 http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex [2,461 B]
Get:60 http://us.archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
Get:61 http://us.archive.ubuntu.com precise-backports/main Sources [2,422 B]
Get:62 http://us.archive.ubuntu.com precise-backports/restricted Sources [14 B]
Get:63 http://us.archive.ubuntu.com precise-backports/universe Sources [23.4 kB]
Get:64 http://us.archive.ubuntu.com precise-backports/multiverse Sources [2,669 B]
Get:65 http://us.archive.ubuntu.com precise-backports/main amd64 Packages [1,945 B]
Get:66 http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages [14 B]
Get:67 http://us.archive.ubuntu.com precise-backports/universe amd64 Packages [23.2 kB]
Get:68 http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages [2,489 B]
Get:69 http://us.archive.ubuntu.com precise-backports/main i386 Packages [1,941 B]
Get:70 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:71 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [23.2 kB]
Get:72 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [2,504 B]
Get:73 http://us.archive.ubuntu.com precise-backports/main TranslationIndex [72 B]
Get:74 http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex [72 B]
Get:75 http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex [70 B]
Get:76 http://us.archive.ubuntu.com precise-backports/universe TranslationIndex [73 B]
Get:77 http://us.archive.ubuntu.com precise/main Translation-en [726 kB]
Get:78 http://us.archive.ubuntu.com precise/multiverse Translation-en [93.4 kB]
Get:79 http://us.archive.ubuntu.com precise/restricted Translation-en [2,395 B]
Get:80 http://us.archive.ubuntu.com precise/universe Translation-en [3,341 kB]
Get:81 http://us.archive.ubuntu.com precise-updates/main Translation-en [265 kB]
Get:82 http://us.archive.ubuntu.com precise-updates/multiverse Translation-en [5,694 B]
Get:83 http://us.archive.ubuntu.com precise-updates/restricted Translation-en [2,432 B]
Get:84 http://us.archive.ubuntu.com precise-updates/universe Translation-en [112 kB]
Get:85 http://us.archive.ubuntu.com precise-backports/main Translation-en [1,244 B]
Get:86 http://us.archive.ubuntu.com precise-backports/multiverse Translation-en [1,476 B]
Get:87 http://us.archive.ubuntu.com precise-backports/restricted Translation-en [14 B]
Get:88 http://us.archive.ubuntu.com precise-backports/universe Translation-en [16.4 kB]
Fetched 26.3 MB in 7s (3,399 kB/s)
Reading package lists... Done
Setting up liberror-perl (0.17-1) ...
Setting up git-man (1:1.7.9.5-1) ...
Setting up git (1:1.7.9.5-1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit http://us.archive.ubuntu.com precise Release.gpg
Hit http://us.archive.ubuntu.com precise-updates Release.gpg
Hit http://us.archive.ubuntu.com precise-backports Release.gpg
Hit http://us.archive.ubuntu.com precise Release
Hit http://us.archive.ubuntu.com precise-updates Release
Hit http://us.archive.ubuntu.com precise-backports Release
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main amd64 Packages
Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
Hit http://security.ubuntu.com precise-security Release
Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://us.archive.ubuntu.com precise-updates/main Sources
Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
Hit http://us.archive.ubuntu.com precise-updates/universe Sources
Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://us.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/main Sources
Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
Hit http://us.archive.ubuntu.com precise-backports/universe Sources
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@oscompute1:~# apt-get install libjs-underscore
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  javascript-common
The following NEW packages will be installed:
  libjs-underscore
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.3 kB of archives.
After this operation, 156 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main libjs-underscore all 1.1.6-1ubuntu2 [31.3 kB]
Fetched 31.3 kB in 0s (0 B/s)
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/u/underscore/libjs-underscore_1.1.6-1ubuntu2_all.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Thanks so much for looking into this!

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

wget http://us.archive.ubuntu.com/ubuntu/pool/main/u/underscore/libjs-underscore_1.1.6-1ubuntu2_all.deb
sudo dpkg -i ./libjs-underscore_1.1.6-1ubuntu2_all.deb
sudo apt-get -f install && rm ./libjs-underscore_1.1.6-1ubuntu2_all.deb

Revision history for this message
arturo lorenzo (arturo-lorenzo) said :
#4

Andrew, thanks for looking to this problem and sending your suggestion. I have performed and here are the results:
~# dpkg -i ./libjs-underscore_1.1.6-1ubuntu2_all.deb
Selecting previously unselected package libjs-underscore.
(Reading database ... 79967 files and directories currently installed.)
Unpacking libjs-underscore (from .../libjs-underscore_1.1.6-1ubuntu2_all.deb) ...
dpkg: error processing ./libjs-underscore_1.1.6-1ubuntu2_all.deb (--install):
 corrupted filesystem tarfile - corrupted package archive
Errors were encountered while processing:
 ./libjs-underscore_1.1.6-1ubuntu2_all.deb
=================
and if I do a file on the deb file:
~# file libjs-underscore_1.1.6-1ubuntu2_all.deb
libjs-underscore_1.1.6-1ubuntu2_all.deb: Debian binary package (format 2.0)
and a ls
-rw-r--r-- 1 root root 31274 Aug 12 2011 libjs-underscore_1.1.6-1ubuntu2_all.deb
=================
interesting problem, thanks for the help

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

Try:

cd ~/Desktop
wget http://www.club.cc.cmu.edu/pub/ubuntu//pool/main/u/underscore/libjs-underscore_1.1.6-1ubuntu2_all.deb
sudo dpkg -i ./libjs-underscore_1.1.6-1ubuntu2_all.deb
rm ./libjs-underscore_1.1.6-1ubuntu2_all.deb

If it is the same again then I suggest you report a bug

Revision history for this message
arturo lorenzo (arturo-lorenzo) said :
#6

Andrew, I've got it to work! This is what I did: 01) save /var/cache/apt from the machine that was working OK 02) restore it in the machine with the problem and everything worked OK.
I have saved (tar cvfpz) the former /var/cache/apt just in case somebody is interesting in deep diving this problem.
Let me know and thanks for the help!