“Repair broken packages” option breaks with Python ≥ 2.6

Bug #777524 reported by Anders Kaseorg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
friendly-recovery (Ubuntu)
Fix Released
Medium
Michael Vogt
Oneiric
Fix Released
Medium
Michael Vogt

Bug Description

Binary package hint: friendly-recovery

From /usr/share/recovery-mode/options/dpkg:
  for v in 2.5 2.6; do
    python="/usr/bin/python$v"
    script="/usr/lib/python$v/site-packages/DistUpgrade/dist-upgrade.py"
    …

This has two bugs:
• Ubuntu has Python 2.6 and 2.7 now. (Perhaps the version list should be automatically generated from /usr/share/python/debian_defaults?)
• As of Python 2.6, site-packages was renamed to dist-packages.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: friendly-recovery 0.2.11
ProcVersionSignature: Ubuntu 2.6.39-0.5-generic 2.6.39-rc5
Uname: Linux 2.6.39-0-generic x86_64
NonfreeKernelModules: openafs
Architecture: amd64
Date: Wed May 4 21:34:23 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: friendly-recovery
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Anders Kaseorg (andersk) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report. Confirmed in Oneiric. Setting to triaged/medium because even if friendly-recovery is a core component it will still work relying on apt rather than update-manager to recover from a dpkg failure.

Changed in friendly-recovery (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in friendly-recovery (Ubuntu Oneiric):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Matthias Klose (doko)
Changed in friendly-recovery (Ubuntu Oneiric):
assignee: Canonical Foundations Team (canonical-foundations) → Michael Vogt (mvo)
Changed in friendly-recovery (Ubuntu Oneiric):
status: Triaged → Fix Released
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.