Ubiquity reports an error towards the end on "ubuntu plugininstall.py" - "/usr/share/ubiquity/plugininstall.py", line 1710, in <module>

Bug #1051211 reported by Ghislain Antony Vaillant on 2012-09-15
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Undecided
Unassigned

Bug Description

Towards the end of the installation, Ubiquity reports an error. I enabled the embedded terminal to add some verbosity to the installation process since this is beta quality software. Copied from the terminal, I've got what seems to be the process triggering the error:

ubuntu plugininstall.py: subprocess.CalledProcessError: Comand '[apt-clone, 'restore-new-distro', '/target/ubiquity-apt-clone/apt-clone-state-ubuntu.tar.gz', 'quantal', '--destination', '/target']' returned non-zero exit status 1

I am using Ubuntu Gnome remix edition, with the alpha2 live image on the amd64 architecture.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: ubiquity 2.11.32
ProcVersionSignature: Ubuntu 3.5.0-14.16-generic 3.5.3
Uname: Linux 3.5.0-14-generic x86_64
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
CasperVersion: 1.323
Date: Sat Sep 15 10:44:33 2012
InstallCmdLine: noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- keyboard-configuration/layoutcode=gb
LiveMediaBuild: Ubuntu GNOME Remix 12.10 "Quantal Quetzal" - Alpha amd64(20120913)
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

tags: added: gnome-remix
Sasa Paporovic (melchiaros) wrote :
Download full text (3.6 KiB)

In UbiquitySyslog.txt:

Sep 15 09:24:21 ubuntu plugininstall.py: log-output -t ubiquity mount --bind /dev /target/dev
Sep 15 09:24:22 ubuntu plugininstall.py: log-output -t ubiquity chroot /target umount /sys
Sep 15 09:24:22 ubuntu plugininstall.py: log-output -t ubiquity chroot /target umount /proc
Sep 15 09:24:22 ubuntu plugininstall.py: log-output -t ubiquity umount /target/dev
Sep 15 09:24:22 ubuntu plugininstall.py: log-output -t ubiquity chroot /target mount -t proc proc /proc
Sep 15 09:24:22 ubuntu plugininstall.py: log-output -t ubiquity chroot /target mount -t sysfs sysfs /sys
Sep 15 09:24:22 ubuntu plugininstall.py: log-output -t ubiquity mount --bind /dev /target/dev
Sep 15 09:24:22 ubuntu plugininstall.py: log-output -t ubiquity mount --bind /proc /target/proc
Sep 15 09:24:22 ubuntu plugininstall.py: log-output -t ubiquity mount --bind /sys /target/sys
Sep 15 09:24:22 ubuntu plugininstall.py: log-output -t ubiquity mount --bind /dev /target/dev
Sep 15 09:24:23 ubuntu ubiquity: Traceback (most recent call last):
Sep 15 09:24:23 ubuntu ubiquity: File "/usr/bin/apt-clone", line 119, in <module>
Sep 15 09:24:23 ubuntu ubiquity: args.source, args.destination, args.new_distro_codename, protect_installed)
Sep 15 09:24:23 ubuntu ubiquity: File "/usr/lib/python3/dist-packages/apt_clone.py", line 343, in restore_state
Sep 15 09:24:23 ubuntu ubiquity: self._restore_sources_list(statefile, targetdir)
Sep 15 09:24:23 ubuntu ubiquity: File "/usr/lib/python3/dist-packages/apt_clone.py", line 387, in _restore_sources_list
Sep 15 09:24:23 ubuntu ubiquity: tar.extract(self.TARPREFIX+"etc/apt/sources.list", targetdir)
Sep 15 09:24:23 ubuntu ubiquity: File "/usr/lib/python3.2/tarfile.py", line 2168, in extract
Sep 15 09:24:23 ubuntu ubiquity: tarinfo = self.getmember(member)
Sep 15 09:24:23 ubuntu ubiquity: File "/usr/lib/python3.2/tarfile.py", line 1886, in getmember
Sep 15 09:24:23 ubuntu ubiquity: raise KeyError("filename %r not found" % name)
Sep 15 09:24:23 ubuntu ubiquity: KeyError: "filename './etc/apt/sources.list' not found"
Sep 15 09:24:23 ubuntu plugininstall.py: log-output -t ubiquity chroot /target umount /sys
Sep 15 09:24:23 ubuntu plugininstall.py: log-output -t ubiquity chroot /target umount /proc
Sep 15 09:24:23 ubuntu plugininstall.py: log-output -t ubiquity umount /target/dev
Sep 15 09:24:23 ubuntu plugininstall.py: log-output -t ubiquity umount -f /target/proc
Sep 15 09:24:23 ubuntu plugininstall.py: log-output -t ubiquity umount -f /target/sys
Sep 15 09:24:23 ubuntu plugininstall.py: log-output -t ubiquity umount -f /target/dev
Sep 15 09:24:23 ubuntu plugininstall.py: Could not restore packages from the previous install:
Sep 15 09:24:23 ubuntu plugininstall.py: Traceback (most recent call last):
Sep 15 09:24:23 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 248, in run
Sep 15 09:24:23 ubuntu plugininstall.py: self.apt_clone_restore()
Sep 15 09:24:23 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1498, in apt_clone_restore
Sep 15 09:24:23 ubuntu plugininstall.py: preexec_fn=install_misc.debconf_disconnect)
Sep 15 09:24:23 ubuntu plugi...

Read more...

Sasa Paporovic (melchiaros) wrote :

In UbiquitySyslog.txt:

Sep 15 09:28:27 ubuntu ubiquity[5174]: log-output -t ubiquity debconf-copydb configdb targetdb -p ^console-setup/ --config=Name:targetdb --config=Driver:File --config=Mode:0644 --config=Filename:/target/var/cache/debconf/config.dat
Sep 15 09:28:27 ubuntu ubiquity: umount: /target: device is busy.
Sep 15 09:28:27 ubuntu ubiquity: (In some cases useful info about processes that use
Sep 15 09:28:27 ubuntu ubiquity: the device is found by lsof(8) or fuser(1))
Sep 15 09:28:27 ubuntu ubiquity[5174]: log-output -t ubiquity umount /target
Sep 15 09:28:27 ubuntu ubiquity[5174]: Reverting lockdown of the desktop environment.
Sep 15 09:28:27 ubuntu plugininstall.py: Could not copy wallpaper cache:
Sep 15 09:28:27 ubuntu plugininstall.py: Traceback (most recent call last):
Sep 15 09:28:27 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 282, in run
Sep 15 09:28:27 ubuntu plugininstall.py: self.copy_wallpaper_cache()
Sep 15 09:28:27 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1592, in copy_wallpaper_cache
Sep 15 09:28:27 ubuntu plugininstall.py: target_user = self.db.get('passwd/username')
Sep 15 09:28:27 ubuntu plugininstall.py: File "/usr/lib/python3/dist-packages/debconf.py", line 62, in <lambda>
Sep 15 09:28:27 ubuntu plugininstall.py: lambda *args, **kw: self.command(command, *args, **kw))
Sep 15 09:28:27 ubuntu plugininstall.py: File "/usr/lib/python3/dist-packages/debconf.py", line 83, in command
Sep 15 09:28:27 ubuntu plugininstall.py: status = int(status)
Sep 15 09:28:27 ubuntu plugininstall.py: ValueError: invalid literal for int() with base 10: ''
Sep 15 09:28:27 ubuntu plugininstall.py:
Sep 15 09:28:27 ubuntu ubiquity: umount: /target/cdrom: not mounted
Sep 15 09:28:27 ubuntu plugininstall.py: log-output -t ubiquity umount /target/cdrom
Sep 15 09:28:27 ubuntu finish-install: Disabling CD in sources.list
Sep 15 09:28:27 ubuntu plugininstall.py: Exception during installation:
Sep 15 09:28:27 ubuntu plugininstall.py: Traceback (most recent call last):
Sep 15 09:28:27 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1710, in <module>
Sep 15 09:28:27 ubuntu plugininstall.py: install.run()
Sep 15 09:28:27 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 81, in wrapper
Sep 15 09:28:27 ubuntu plugininstall.py: func(self)
Sep 15 09:28:27 ubuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 290, in run
Sep 15 09:28:27 ubuntu plugininstall.py: self.db.progress('SET', self.count)
Sep 15 09:28:27 ubuntu plugininstall.py: File "/usr/lib/python3/dist-packages/debconf.py", line 62, in <lambda>
Sep 15 09:28:27 ubuntu plugininstall.py: lambda *args, **kw: self.command(command, *args, **kw))
Sep 15 09:28:27 ubuntu plugininstall.py: File "/usr/lib/python3/dist-packages/debconf.py", line 67, in command
Sep 15 09:28:27 ubuntu plugininstall.py: self.write.flush()
Sep 15 09:28:27 ubuntu plugininstall.py: IOError: [Errno 32] Broken pipe
Sep 15 09:28:27 ubuntu plugininstall.py:

Changed in ubiquity (Ubuntu):
status: New → Confirmed
summary: - Ubiquity reports an error towards the end on "ubuntu plugininstall.py"
+ Ubiquity reports an error towards the end on "ubuntu plugininstall.py" -
+ "/usr/share/ubiquity/plugininstall.py", line 1710, in <module>
Sasa Paporovic (melchiaros) wrote :

There are several on plugininstall.py

I have copied the last in the summary of the report.

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

Other bug subscribers