12.04.2 incorrect file name signed efi amd6.deb

Bug #1172065 reported by oldfred
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

download ISO has wrong nameamd6 should be amd64.
In /pool/main/g/grub2-signed

grub-efi-amd64-signed_1.9~ubuntu12.04.3+1.99-21ubuntu3.9_amd6.deb
seems like it should be
grub-efi-amd64-signed_1.9~ubuntu12.04.3+1.99-21ubuntu3.9_amd64.deb

See Also
http://ubuntuforums.org/showthread.php?t=2138041

Just downloaded the ISO and it still has wrong name.
Compared to Raring and Raring has correct name.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1172065

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
oldfred (oldfred) wrote :

There is no log. It is just a wrong file name in the install ISO.

It is not a file I use as it is UEFI secure boot & I only have ISO. But file is still wrong.

Revision history for this message
Michael Johnson (johnsonmichaeltyler) wrote :

The bug is a misnamed file in the uefi installer for 12.04.2, causing installations to fail. Therefore, a log cannot be collected.

Revision history for this message
Colin Watson (cjwatson) wrote :

I cannot verify this while looking at the contents of the 12.04.2 ISO images on the master server. Exactly which URL did you download the image in question from?

Revision history for this message
oldfred (oldfred) wrote :

Attached screenshot here:
http://ubuntuforums.org/showthread.php?t=2138041&p=12617434#post12617434

I downloaded copy from this mirror:
http://mirror.anl.gov/pub/ubuntu-iso/DVDs-Ubuntu/12.04.2/

That has a 14-Feb-2013 date.

Many users in Forum said they could not boot liveCD with secure boot on. I always have said to turn if off. Is this part of the reason?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
oldfred (oldfred)
Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
Brad Figg (brad-figg) wrote :

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1172065

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
oldfred (oldfred) wrote :

It now looks like in 12.04.3 that both 6 and 4 are missing from end of file name. The change from 3.9 to 3.10 added a character, so one more was dropped from end of file.
Seems like an issue with file name length on ISO.
Original file on server is probably correct.

Revision history for this message
oldfred (oldfred) wrote :

This user found more issues and created a perl script to rename files correctly.

http://cirrus.ucsd.edu/~pierce/fix_ubuntu_usb/

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kokos (masterlemming) wrote :

In "/pool/main/g/grub2-signed" there is a file named: "grub-efi-amd64-signed_1.9~ubuntu12.04.4+1.99-21ubuntu3.10_amd.deb"

At the end of the file name 2 characters are missing. File should be named: "grub-efi-amd64-signed_1.9~ubuntu12.04.4+1.99-21ubuntu3.10_amd64.deb"

Bug in version ubuntu-12.04.3-desktop-amd64

Revision history for this message
Ralic (ralic) wrote :

Oddly, the filename appears fine when the iso is mounted under linux:

$ sudo mount -o ro -t iso9660 ubuntu-12.04.3-desktop-amd64.iso /mnt
$ ls -l /mnt/pool/main/g/grub2-signed/
total 479
-r--r--r-- 1 root root 489626 Jul 22 16:43 grub-efi-amd64-signed_1.9~ubuntu12.04.4+1.99-21ubuntu3.10_amd64.deb

But the last two characters before the extension are dropped when the iso is mounted under windows:

F:\>dir \pool\main\g\grub2-signed
 Volume in drive F is Ubuntu 12.04.3 L
 Volume Serial Number is 8BB6-BA54

 Directory of F:\pool\main\g\grub2-signed

2013/08/20 20:08 <DIR> .
2013/08/20 20:08 <DIR> ..
2013/07/22 16:43 489 626 grub-efi-amd64-signed_1.9~ubuntu12.04.4+1.99-21ubuntu3.10_amd.deb
               1 File(s) 489 626 bytes
               2 Dir(s) 0 bytes free

A difference in iso filesystems perhaps?
Someone with knowledge of iso should probably look at this.

Revision history for this message
Ralic (ralic) wrote :

I have a few more details to share.

Mounting the iso under windows 8 displays the same incorrect filename, as does burning the iso to physical media under windows 7.

So to me, it would appear that anyone unlucky enough to use the ubuntu-12.04.3-desktop-amd64.iso under windows 7/8, whether it be to:
a.) physically burn it to disc;
b.) mount it virtually;
c.) create a USB boot system from it
would be unable to successfully install ubuntu 12.04.3 LTS on an UEFI booted system.

During installation of grub, the installer throws the error "'grub-efi-amd64-signed' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot."

Because the .deb file is misnamed, the following is reported in syslog during installation:
Dec 4 17:41:36 ubuntu ubiquity: E: Unable to locate package grub-efi-amd64-signed

Workarounds:
===========
If you are creating a bootable USB on Windows 7/8, rename the misnamed file after the USB has been written so that the installer does not error out during installation.

Alternatively, since the file is not misnamed in linux, using the iso to burn a USB boot system from within linux will also likely work.

From what I can gather so far, Boot-Repair seems to be the current mechanism used to resolve problems that result from this, since Boot-Repair first removes grub and then re-installs it.
WARNING: (For those of you that may have arrived here from a Google search) Boot-Repair downloads the grub packages from the Internet, so be sure to have a fully functioning Internet connection if you use this method. If Boot-Repair doesn't find an Internet connection, you will be warned that your system may be left in an unbootable state. Heed this warning, because while apt will happily remove grub without one, it cannot download and re-install grub without a connection to the Internet.

Revision history for this message
oldfred (oldfred) wrote :

Orginal error was in ISO itself.

Above error seems to be just when written with certain tools that file name is too long to be converted from ISO correctly.

Revision history for this message
Ralic (ralic) wrote :

Fair enough.
I came across this while troubleshooting a problem that I later discovered to be reported by bug https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1252255 and rather than repeat what I have found over there, I earlier posted a link there back to this bug.

Hopefully what I have found proves useful to resolving that error for others, so I'll leave it at that.

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.