image build with bodhibuilder crash near end-installation

Bug #1632184 reported by Paul Dufresne
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I think I got this error most of the time trying to install LXLE 16.04, on many old computers.
But pretty first time I get apport running fine, and I am on my own computer having time to
debug and investigate rather than just use LXLE 12.04.5 like we usually do.

This is when I would expect the installer say it has finished.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubiquity 2.21.63.2 [modified: usr/lib/ubiquity/user-setup/user-setup-apply usr/share/ubiquity/apt-setup]
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic i686
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
CasperVersion: 1.376
Date: Mon Oct 10 22:58:50 2016
JournalErrors:
 Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] failed with exit code 1: Hint: You are currently not seeing messages from other users and the system.
       Users in the 'systemd-journal' group can see all messages. Pass -q to
       turn off this notice.
 No journal files were opened due to insufficient permissions.
LiveMediaBuild: LXLE 16.04 - Release i386
ProcEnviron:
 LANGUAGE=fr_CA.UTF-8
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_CA.UTF-8
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Paul Dufresne (paulduf) wrote :
Revision history for this message
Paul Dufresne (paulduf) wrote :

Very similar report reported on VLC 4 years ago:
https://trac.videolan.org/vlc/ticket/7651

Revision history for this message
Paul Dufresne (paulduf) wrote :

Similar but not identical bug #1495055 in 15.10 resulting in:
ERROR: hook /usr/share/apport/package-hooks/source_ubiquity.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
    symb['add_info'](report, ui)
  File "/usr/share/apport/package-hooks/source_ubiquity.py", line 60, in add_info
    syslog = report['UbiquitySyslog'].decode('UTF-8')
AttributeError: 'str' object has no attribute 'decode'

while this bug in 16.04 results in:
    if 'Buffer I/O error on device' in syslog:
TypeError: a bytes-like object is required, not 'str'

Revision history for this message
Paul Dufresne (paulduf) wrote :

Part of my add_info function as it appears on my computer:
def add_info(report, ui):
    add_installation_log(report, 'UbiquitySyslog', 'syslog')
    syslog = report['UbiquitySyslog']
    if 'Buffer I/O error on device' in syslog:
        if re.search('Attached .* CD-ROM (\w+)', syslog):
            cd_drive = re.search('Attached .* CD-ROM (\w+)', syslog).group(1)
            cd_error = re.search('Buffer I/O error on device %s' % cd_drive, syslog)
        else:
            cd_error = None

Revision history for this message
Paul Dufresne (paulduf) wrote :

Now that I look at the end of Syslog, this is probably more relevent:
Oct 10 22:58:33 gl finish-install: Disabling CDROM entries in sources.list
Oct 10 22:58:33 gl ubiquity: sed: impossible d'ouvrir le fichier temporaire /target/etc/apt/sedP1IjGy: Permission non accordée
Oct 10 22:58:33 gl /plugininstall.py: Exception during installation:
Oct 10 22:58:33 gl /plugininstall.py: Traceback (most recent call last):
Oct 10 22:58:33 gl /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1778, in <module>
Oct 10 22:58:33 gl /plugininstall.py: install.run()
Oct 10 22:58:33 gl /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 78, in wrapper
Oct 10 22:58:33 gl /plugininstall.py: func(self)
Oct 10 22:58:33 gl /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 198, in run
Oct 10 22:58:33 gl /plugininstall.py: self.configure_locale()
Oct 10 22:58:33 gl /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 562, in configure_locale
Oct 10 22:58:33 gl /plugininstall.py: self.run_plugin(language_plugin)
Oct 10 22:58:33 gl /plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 547, in run_plugin
Oct 10 22:58:33 gl /plugininstall.py: "Plugin %s failed with code %s" % (plugin.NAME, ret))
Oct 10 22:58:33 gl /plugininstall.py: ubiquity.install_misc.InstallStepError: Plugin language failed with code 4
Oct 10 22:58:33 gl /plugininstall.py:
Oct 10 22:58:49 gl ubiquity: Gtk-Message: Failed to load module "overlay-scrollbar"
Oct 10 22:58:49 gl ubiquity: Gtk-Message: Failed to load module "overlay-scrollbar"

Revision history for this message
Paul Dufresne (paulduf) wrote :
Revision history for this message
Paul Dufresne (paulduf) wrote :

Indeed I had chosen 'Install' directly in Grub (which seems to suggest that because it is not run by root, it failed to create a temporary file in /target/etc/default while installing language pack).

Revision history for this message
Paul Dufresne (paulduf) wrote :

After trying to reboot machine to test, an error occured and system opened me a session for me
to test what was going on.

In it I just ran "$ gksudo ubiquity gtk_ui" and it worked flawlessly.
Same medium, same answers, but this time in the environment, in root mode.

Which suggests to me that the problem appears in non-english, while install from GRUB.

Revision history for this message
Paul Dufresne (paulduf) wrote :

Lubuntu 16.10 (32&64 bits) works fine (install from grub menu).
Seems to have change quite much since 16.04.

Revision history for this message
Phillip Susi (psusi) wrote :

"LXLE" is not an official Ubuntu flavor and so is not supported here.

Changed in ubiquity (Ubuntu):
status: New → Invalid
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.