ubiquity in precise-updates, doesn't have tight enough dependency on python-apt leading to crashers

Bug #1277706 reported by Matthew J. Fitzpatrick on 2014-02-07
196
This bug affects 22 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
High
Unassigned
Precise
High
Dimitri John Ledkov

Bug Description

ubiquity in precise-updates should have a tighter dependency on python-apt, specifically >= 0.8.3ubuntu7.2 as it depends on functionality provided by that python-apt SRU.

This bug affects only out-of-date live precise installation media, where users choose to upgrade live ubiquity.

WORKAROUND:

Boot and choose try Ubuntu. Then run 'sudo apt-get update', 'sudo apt-get install python-apt' in a terminal, before starting ubiquity.

Alternatively use a 12.04.4 install media if one is available for your derivative e.g. mythbuntu, lubuntu, ubuntu-studio.

original report
---------------
I booted off of MythBuntu LiveCD to install on HDD. I selected all options for remote access, all add-ons and third party repositories, and option for Remote Control via Hauppauge TV Card (I know the Hauppauge WinTV-HVR-2250 is supported but it's not yet available in the drop-down list so I selected generic Hauppauge TV Card option). About 10 minutes into the install it just crashes with the same thing each time. I also tried rebooting computer and trying install process again.

ProblemType: BugDistroRelease: Ubuntu 12.04
Package: ubiquity 2.10.29
ProcVersionSignature: Ubuntu 3.8.0-29.42~precise1-generic 3.8.13.5
Uname: Linux 3.8.0-29-generic i686
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: i386
CasperVersion: 1.315.1
Date: Fri Feb 7 16:13:25 2014
InstallCmdLine: file=/cdrom/preseed/mythbuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
LiveMediaBuild: Mythbuntu 12.04.3 "Precise Pangolin" - Release i386 (20130820)
MarkForUpload: True
ProcEnviron:
 TERM=unknown
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bashSourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Exception during installation:
Feb 7 19:40:07 mythbuntu plugininstall.py: Traceback (most recent call last):
Feb 7 19:40:07 mythbuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1730, in <module>
Feb 7 19:40:07 mythbuntu plugininstall.py: install.run()
Feb 7 19:40:07 mythbuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 55, in wrapper
Feb 7 19:40:07 mythbuntu plugininstall.py: func(self)
Feb 7 19:40:07 mythbuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 200, in run
Feb 7 19:40:07 mythbuntu plugininstall.py: self.install_extras()
Feb 7 19:40:07 mythbuntu plugininstall.py: File "/usr/share/ubiquity/plugininstall.py", line 1257, in install_extras
Feb 7 19:40:07 mythbuntu plugininstall.py: self.do_install(install_misc.query_recorded_installed())
Feb 7 19:40:07 mythbuntu plugininstall.py: File "/usr/lib/ubiquity/ubiquity/install_misc.py", line 856, in do_install
Feb 7 19:40:07 mythbuntu plugininstall.py: with Cache() as cache:
Feb 7 19:40:07 mythbuntu plugininstall.py: AttributeError: __exit__
Feb 7 19:40:07 mythbuntu plugininstall.py:

tags: added: ubiquity-2.10.29
tags: added: installer-crash
Changed in ubiquity (Ubuntu):
importance: Undecided → High

Looking at syslog we see the following:

Feb 7 19:23:44 mythbuntu ubiquity[7175]: Ubiquity 2.10.26
Feb 7 19:23:45 mythbuntu ubiquity[7175]: log-output -t ubiquity laptop-detect
Feb 7 19:23:48 mythbuntu ubiquity[7175]: switched to page language
Feb 7 19:23:49 mythbuntu localechooser: info: debian-installer/language preseeded to 'en' (seen: false)
Feb 7 19:23:49 mythbuntu localechooser: info: debian-installer/country preseeded to 'US' (seen: false)
Feb 7 19:23:49 mythbuntu localechooser: info: debian-installer/locale preseeded to 'en_US.UTF-8' (seen: false)
Feb 7 19:23:49 mythbuntu localechooser: info: Preseeded language ignored: unknown language code
Feb 7 19:23:50 mythbuntu ubiquity[7175]: switched to page language
Feb 7 19:24:14 mythbuntu ubiquity[7175]: Ubiquity 2.10.29

I suspect that ubiquity is getting updated and it then needs the latest version of python-apt which is not installed. See further the fix for bug 1051935.

description: updated
description: updated
summary: - Installing MythBuntu Fresh Install with Hauppauge TV Remote add-ons
+ ubiquity install failure due to new ubiquity and old python-apt

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
description: updated
summary: - ubiquity install failure due to new ubiquity and old python-apt
+ ubiquity in precise-updates, doesn't have tight enough dependency on
+ python-apt leading to crashers
description: updated
Changed in ubiquity (Ubuntu Precise):
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Dimitri John Ledkov (xnox)
importance: Critical → High
Changed in ubiquity (Ubuntu):
status: Confirmed → Invalid
Changed in ubiquity (Ubuntu Precise):
milestone: none → ubuntu-12.04.5

Hello Matthew, or anyone else affected,

Accepted ubiquity into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/ubiquity/2.10.30 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ubiquity (Ubuntu Precise):
status: Triaged → Fix Committed
tags: added: verification-needed
Brian Murray (brian-murray) wrote :

This fix seems incomplete to me as ubiquity only build-depends on the new version of python-apt and when running a 12.04.3 live image if you install ubiquity version 2.10.30 from precise-proposed, the new version of python-apt is not installed. See also:

https://launchpad.net/ubuntu/precise/amd64/ubiquity/2.10.30

Hey Brian,

Can you please update my email address on your email and for all future
notices please send to <email address hidden> ?

On Wed, May 14, 2014 at 10:22 AM, Brian Murray <email address hidden> wrote:

> This fix seems incomplete to me as ubiquity only build-depends on the
> new version of python-apt and when running a 12.04.3 live image if you
> install ubiquity version 2.10.30 from precise-proposed, the new version
> of python-apt is not installed. See also:
>
> https://launchpad.net/ubuntu/precise/amd64/ubiquity/2.10.30
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1277706
>
> Title:
> ubiquity in precise-updates, doesn't have tight enough dependency on
> python-apt leading to crashers
>
> Status in “ubiquity” package in Ubuntu:
> Invalid
> Status in “ubiquity” source package in Precise:
> Fix Committed
>
> Bug description:
> ubiquity in precise-updates should have a tighter dependency on
> python-apt, specifically >= 0.8.3ubuntu7.2 as it depends on
> functionality provided by that python-apt SRU.
>
> This bug affects only out-of-date live precise installation media,
> where users choose to upgrade live ubiquity.
>
> WORKAROUND:
>
> Boot and choose try Ubuntu. Then run 'sudo apt-get update', 'sudo
> apt-get install python-apt' in a terminal, before starting ubiquity.
>
> Alternatively use a 12.04.4 install media if one is available for your
> derivative e.g. mythbuntu, lubuntu, ubuntu-studio.
>
> original report
> ---------------
> I booted off of MythBuntu LiveCD to install on HDD. I selected all
> options for remote access, all add-ons and third party repositories, and
> option for Remote Control via Hauppauge TV Card (I know the Hauppauge
> WinTV-HVR-2250 is supported but it's not yet available in the drop-down
> list so I selected generic Hauppauge TV Card option). About 10 minutes into
> the install it just crashes with the same thing each time. I also tried
> rebooting computer and trying install process again.
>
> ProblemType: BugDistroRelease: Ubuntu 12.04
> Package: ubiquity 2.10.29
> ProcVersionSignature: Ubuntu 3.8.0-29.42~precise1-generic 3.8.13.5
> Uname: Linux 3.8.0-29-generic i686
> ApportVersion: 2.0.1-0ubuntu17.4
> Architecture: i386
> CasperVersion: 1.315.1
> Date: Fri Feb 7 16:13:25 2014
> InstallCmdLine: file=/cdrom/preseed/mythbuntu.seed boot=casper
> initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
> LiveMediaBuild: Mythbuntu 12.04.3 "Precise Pangolin" - Release i386
> (20130820)
> MarkForUpload: True
> ProcEnviron:
> TERM=unknown
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bashSourcePackage: ubiquity
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1277706/+subscriptions
>

--
Thank you,

*Matthew J. Fitzpatrick*
860.436.1100
<email address hidden>

tags: added: verification-failed
removed: verification-needed
tags: removed: ubiquity-2.10.26
Changed in ubiquity (Ubuntu Precise):
status: Fix Committed → In Progress
To post a comment you must log in.