cannot download "gfxboot-theme-ubuntu" on Ubuntu 15.04 (vivid )

Bug #1463583 reported by Dave Fear
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Customization Kit
Undecided
Unassigned

Bug Description

UCK (ubuntu customize kit) give me an error to create ISO for booting. The problem is like that
tar (child): *.tar.gz: impossible to extract: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Unable to extract gfxboot-theme-ubuntu source package
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
 Full log:
https://mega.co.nz/#!RlYWkCgK!wUePh9ZdUPwBf_kkzpcRhFYhA-JRtIBuAzd_8v27Tu0

Revision history for this message
Dave Fear (dfear) wrote :

The correct file name for Ubuntu 15.04 is: gfxboot-theme-ubuntu_0.18.0.tar.xz, as specified in sources.tar.gz

description: updated
tags: added: vivid
tags: added: 15.04
Revision history for this message
Mehmet Akif (makgun0226) wrote :

Need I install gfx? I just wanna create custom iso which is includes tr language and testdisk and updated sources.list so I decided to use Ubuntu builder and there was an error if I want to install custom applications so I skipped installing testdisk and it created custom ISO which has updated sources.list and tr language. But in every time I need to install testdisk.

Revision history for this message
SWW (slw07g) wrote :

Sources.gz (not .tar.gz) downloaded from archive.ubuntu.com/ubuntu/ubuntu/ubuntu/dists/vivid/main/source/Sources.gz does NOT contain gfxboot-theme-ubuntu*

So, a workaround would be to patch the /usr/lib/uck/customization-profiles/localized_cd/customize_iso script to check to make sure gfxboot-theme-ubuntu exists in Sources.gz

If it doesn't exist, then set GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=gfxboot-theme-ubuntu_0.16.1.tar.gz. (The uck script expects tar.gz, not tar.xz)

This is what worked for me.

Additonally, if working in Ubuntu 15.04, you will also need to path the /usr/lib/uck/remaster-live-cd.sh script to "echo" error messages when isohybrid does not exist:

failure "You asked for a hybrid ISO but isohybrid command was not found" -> echo "You asked for a hybrid ISO but isohybrid command was not found"

Revision history for this message
Dave Fear (dfear) wrote :

in Ubuntu 15.04, isohybrid command is provided by the "syslinux-utils" package.

Revision history for this message
Mehmet Akif (makgun0226) wrote :

@sww I will try to patch for customize.iso script but I didn't understand exactly how I will do. Please explain it to me? And Sorry for bad English because it is my third language. And also what about "echo" error?

Revision history for this message
Mehmet Akif (makgun0226) wrote : Re: [Bug 1463583] Re: cannot download "gfxboot-theme-ubuntu" on Ubuntu 15.04 (vivid )

So I need to install this package?
10 Haz 2015 20:55 tarihinde "Dave Fear" <email address hidden> yazdı:

> in Ubuntu 15.04, isohybrid command is provided by the "syslinux-utils"
> package.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1463583
>
> Title:
> cannot download "gfxboot-theme-ubuntu" on Ubuntu 15.04 (vivid )
>
> Status in Ubuntu Customization Kit:
> New
>
> Bug description:
> UCK (ubuntu customize kit) give me an error to create ISO for booting.
> The problem is like that
> tar (child): *.tar.gz: impossible to extract: No such file or directory
> tar (child): Error is not recoverable: exiting now
> tar: Child returned status 2
> tar: Error is not recoverable: exiting now
> Unable to extract gfxboot-theme-ubuntu source package
> Gtk-Message: GtkDialog mapped without a transient parent. This is
> discouraged.
> Full log:
>
> https://mega.co.nz/#!RlYWkCgK!wUePh9ZdUPwBf_kkzpcRhFYhA-JRtIBuAzd_8v27Tu0
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/uck/+bug/1463583/+subscriptions
>

Dave Fear (dfear)
tags: added: 14.04 trust
tags: added: trusty
removed: trust
Revision history for this message
Dave Fear (dfear) wrote :

Fixed issue:

Up to 14.10 the GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE was called, gfxboot-theme-ubuntu_0.**.0.tar.gz, but from 15.04 is is called gfxboot-theme-ubuntu_0.**.0.tar.xz

Revision history for this message
vampirefo (vampirefo) wrote :

Bug still exists

Revision history for this message
vampirefo (vampirefo) wrote :

work around

patch

/usr/lib/uck/customization-profiles/localized_cd/customize_iso

Here is working patch.

--- /home/vampirefo/Desktop/untitled folder/patch/customize_iso
+++ /home/vampirefo/Desktop/untitled folder/patch/customize_iso.org
@@ -81,15 +81,15 @@
   failure "Unable to identify Ubuntu distro codename"
  APT_SOURCES_TMP_DIR=`mktemp -d`
  wget -c http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/dists/$DISTRO_CODENAME/main/source/Sources.gz -O "$APT_SOURCES_TMP_DIR"/Sources.gz
- GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/gfxboot-theme-ubuntu_0.18.0.tar.xz
+ GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/$(zgrep gz "$APT_SOURCES_TMP_DIR"/Sources.gz | grep gfxboot-theme-ubuntu | sed -n 1p | awk '{ print $3 }')
  wget $GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE ||
   failure "Unable to download gfxboot-theme-ubuntu source package from $GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE"
- tar xf *.tar.xz ||
+ tar xfz *.tar.gz ||
   failure "Unable to extract gfxboot-theme-ubuntu source package"
 fi

 # Build the gfx boot theme
-cd gfxboot-theme-ubuntu-0.18.0
+cd gfxboot-theme-ubuntu
 cd po
 ln -s pt.po pt_PT.po
 cd ..

Revision history for this message
vampirefo (vampirefo) wrote :

LOL the above patch undoes the patch so one could return to original file.

this patches /usr/lib/uck/customization-profiles/localized_cd/customize_iso

to allow iso to be built.

--- /home/vampirefo/Desktop/untitled folder/patch/customize_iso.org
+++ /home/vampirefo/Desktop/untitled folder/patch/customize_iso
@@ -81,15 +81,15 @@
   failure "Unable to identify Ubuntu distro codename"
  APT_SOURCES_TMP_DIR=`mktemp -d`
  wget -c http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/dists/$DISTRO_CODENAME/main/source/Sources.gz -O "$APT_SOURCES_TMP_DIR"/Sources.gz
- GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/$(zgrep gz "$APT_SOURCES_TMP_DIR"/Sources.gz | grep gfxboot-theme-ubuntu | sed -n 1p | awk '{ print $3 }')
+ GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/gfxboot-theme-ubuntu_0.18.0.tar.xz
  wget $GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE ||
   failure "Unable to download gfxboot-theme-ubuntu source package from $GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE"
- tar xfz *.tar.gz ||
+ tar xf *.tar.xz ||
   failure "Unable to extract gfxboot-theme-ubuntu source package"
 fi

 # Build the gfx boot theme
-cd gfxboot-theme-ubuntu
+cd gfxboot-theme-ubuntu-0.18.0
 cd po
 ln -s pt.po pt_PT.po
 cd ..

Revision history for this message
carpediem75 (simone-giuliani) wrote :

I changed /usr/lib/uck/customization-profiles/localized_cd/customize_iso

- GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/$(zgrep gz "$APT_SOURCES_TMP_DIR"/Sources.gz | grep gfxboot-theme-ubuntu | sed -n 1p | awk '{ print $3 }')

in

- GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/$(zgrep gz "$APT_SOURCES_TMP_DIR"/Sources.gz | grep gfxboot-theme-ubuntu | sed -n 1p | awk '{ print $2 }')

It worked to me.

Revision history for this message
carpediem75 (simone-giuliani) wrote :

Sorry for last comment, it have a typo.

I modified /usr/lib/uck/customization-profiles/localized_cd/customize_iso

- GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/$(zgrep gz "$APT_SOURCES_TMP_DIR"/Sources.gz | grep gfxboot-theme-ubuntu | sed -n 1p | awk '{ print $3 }')
+ GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=http://archive.ubuntu.com/ubuntu/ubuntu/ubuntu/pool/main/g/gfxboot-theme-ubuntu/$(zcat "$APT_SOURCES_TMP_DIR"/Sources.gz | grep gfxboot-theme-ubuntu | sed -n 9p | awk '{ print $2 }')

and

- tar xfz *.tar.gz
+ tar xf *.tar.xz

-cd gfxboot-theme-ubuntu
+cd gfxboot-theme-ubuntu-0.18.0

It worked to me.

Revision history for this message
Mehmet Akif (makgun0226) wrote :

@carpediem75 did you create successfully iso?. I look for "grep gfxboot" but it doesnt includes in sources.gz file (I do it manually.And let me know your email to talk about this bug.

Revision history for this message
carpediem75 (simone-giuliani) wrote :

@makgun0226 yes I created a successfully iso.

sorry for late answer. I see your request now

Revision history for this message
Mehmet Akif (makgun0226) wrote :

@carpediem75 I also created iso successfully but I can't boot from grub with specific language but I can write iso to USB pen drive using `dd` which boots system from iso linux boatloader which ask me keyboard and language to boot.

Also there is some problems with running terminal in chroot so at the selection screen I opened new terminal and I started chroot manually and I could install which programs I need like java. But I still couldn't find anyway to start iso file's boatloader from my harddisk boatloader (grub2 boatloader). Thanks for reply.

Revision history for this message
carpediem75 (simone-giuliani) wrote :

Yes, but to get language working I haven't selected it on first request and selected on second and third request.
After that I installed it manually on console with: apt install language-pack-xx

tags: added: 16.04 17.04 xenial zesty
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions