Nexus 7 Installer Fails Checksum Validation

Bug #1177667 reported by Jamison Kissh
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ubuntu-nexus7
Incomplete
High
Chris Van Hoof

Bug Description

Hello,
When I attempt to run the Nexus 7 installer on 12.04 I receive an error stating that the checksum validation failed and the application will now quit. A previous bug (1077007) points out that it was a caching issue but running the installer via command line shows the following notices/errors which may make this unique:

PING cdimage.ubuntu.com (91.189.92.174) 56(84) bytes of data.
64 bytes from goldenapple.canonical.com (91.189.92.174): icmp_req=1 ttl=128 time=110 ms

--- cdimage.ubuntu.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 110.745/110.745/110.745/0.000 ms
PING cdimage.ubuntu.com (91.189.92.174) 56(84) bytes of data.
64 bytes from goldenapple.canonical.com (91.189.92.174): icmp_req=1 ttl=128 time=83.9 ms

--- cdimage.ubuntu.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 83.989/83.989/83.989/0.000 ms
raring-preinstalled-desktop-armhf+nexus7.bootimg: OK
raring-preinstalled-desktop-armhf+nexus7.img.gz: OK
sha256sum: saucy-preinstalled-desktop-armhf+nexus7.bootimg: No such file or directory
saucy-preinstalled-desktop-armhf+nexus7.bootimg: FAILED open or read
sha256sum: saucy-preinstalled-desktop-armhf+nexus7.img.gz: No such file or directory
saucy-preinstalled-desktop-armhf+nexus7.img.gz: FAILED open or read
sha256sum: WARNING: 2 listed files could not be read

Given that it was an issue reading the file I thought it may be worth running the installer as sudo which was also to no avail. The files that are downloaded are as follows:

~/Downloads/UbuntuNexus7$ ls -la
total 594908
drwxrwxr-x 2 jak jak 4096 May 8 00:56 .
drwxr-xr-x 3 jak jak 4096 May 8 00:55 ..
-rw-rw-r-- 1 jak jak 8388608 Apr 24 16:10 raring-preinstalled-desktop-armhf+nexus7.bootimg
-rw-rw-r-- 1 jak jak 600773120 Apr 24 16:10 raring-preinstalled-desktop-armhf+nexus7.img.gz
-rw-rw-r-- 1 jak jak 456 May 2 11:26 SHA256SUMS
-rw-rw-r-- 1 jak jak 1061 Oct 26 2012 ubuntu-nexus7-USAGE-NOTICE-en.txt

Other actions I took:
- Removed the installer with apt-get remove ubuntu-nexus7-installer
- Removed the directory from downloads
- Reinstalled with apt-get install ubuntu-nexus7-installer
- While these steps seemed to make the download actually run again and take some time it didn't change the results.

Related branches

Jamison Kissh (jak119)
description: updated
Revision history for this message
Javier López (javier-lopez) wrote :

This problem is caused because the' SHA256SUMS' file downloaded now includes the hash for saucy, therefore those images must exist as well... The following patch fix the issue although it still uses the raring images. If you don't want to patch ubuntu-nexus7-installer the files can be download them manually in:

$XDG_DOWNLOAD_DIR/UbuntuNexus7

Example:

$ cd $XDG_DOWNLOAD_DIR/UbuntuNexus7
$ wget http://cdimage.ubuntu.com/daily-preinstalled/current/saucy-preinstalled-desktop-armhf+nexus7.bootimg
$ wget http://cdimage.ubuntu.com/daily-preinstalled/current/saucy-preinstalled-desktop-armhf+nexus7.img.gz

After that re running:

$ ubuntu-nexus7-installer

Should give no problems

Revision history for this message
Javier López (javier-lopez) wrote :

XDG_DOWNLOAD_DIR usually is /home/user/Downloads

Revision history for this message
Chris Van Hoof (vanhoof) wrote :

Thanks for the bug and patch. Would it be preferable to enable both Raring and Saucy builds instead?

Changed in ubuntu-nexus7:
assignee: nobody → Chris Van Hoof (vanhoof)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Chris Van Hoof (vanhoof) wrote :

I have made changes to support both Raring and Saucy daily pre-installed images:

http://people.canonical.com/~vanhoof/lp1177667

... builds for precise, quantal, raring, and saucy are available to install.

Please let me know if you see any issues, I've had success on my 8GB Nexus7 with this update.

--chris

Changed in ubuntu-nexus7:
status: Confirmed → Incomplete
Revision history for this message
Bob W. Hogg (rwhogg) wrote :

chilicuil: I tried accessing the links (both http://cdimage.ubuntu.com/daily-preinstalled/current/saucy-preinstalled-desktop-armhf+nexus7.bootimg and the other one) you displayed and it did not work.

Whether I try accessing them over Firefox or with wget, I cannot download the images. Instead, I get a 404 Page Not Found error.

Were these images moved somewhere else, do they not exist anymore, or is the website simply down?

vanhoof: I tried one of your custom .deb's and got the same problem - a SHA256 sum was not available, so I could not continue.

Thank you both!

Revision history for this message
Biswa Ranjan Nayak (warriorpenguin) wrote :

Looks like the path for those images has changed and even the file names. The nexus 7 installer is not updated for the paths.

I think the new path for those files is http://cdimage.ubuntu.com/ubuntu-touch-preview/daily-preinstalled/current/
not very sure though

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.