package xdiagnose 2.0 failed to install/upgrade: subprocess installed post-installation script returned error exit status 101

Bug #914836 reported by fenice1956
170
This bug affects 24 people
Affects Status Importance Assigned to Milestone
xdiagnose (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu Precise Pangolin

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: xdiagnose 2.0
ProcVersionSignature: Ubuntu 3.2.0-8.14-generic 3.2.0
Uname: Linux 3.2.0-8-generic i686
.tmp.unity.support.test.0:

ApportVersion: 1.90-0ubuntu1
Architecture: i386
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
Date: Wed Jan 11 17:21:22 2012
DistUpgraded: Log time: 2011-11-01 02:34:41.221922
DistroCodename: precise
DistroVariant: ubuntu
DuplicateSignature:
 Setting up xdiagnose (2.0) ...
 SyntaxError: ('invalid syntax', ('/usr/lib/python2.7/dist-packages/xdiagnose/welcome.py', 277, 28, ' xorg_backup_dir = $(mktemp -d -t ${xorg_backup_name}.XXX)\n'))

 dpkg: error processing xdiagnose (--configure):
  subprocess installed post-installation script returned error exit status 101
ErrorMessage: subprocess installed post-installation script returned error exit status 101
GraphicsCard:
 ATI Technologies Inc RV350 AQ [Radeon 9600] [1002:4151] (prog-if 00 [VGA controller])
   Subsystem: Hercules Device [1681:0024]
   Subsystem: Hercules Device [1681:0025]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
MachineType: HP Pavilion 061 DY153A-ABZ a510.it
PackageArchitecture: all
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-8-generic root=UUID=6a849d9f-6634-4a2b-ac05-50d099ff1cea ro quiet splash vt.handoff=7
SourcePackage: xdiagnose
Title: package xdiagnose 2.0 failed to install/upgrade: subprocess installed post-installation script returned error exit status 101
UpgradeStatus: Upgraded to precise on 2011-12-09 (33 days ago)
dmi.bios.date: 02/09/2004
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 3.03
dmi.board.name: Kelut
dmi.board.vendor: ASUSTek Computer INC.
dmi.board.version: 2.02
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr3.03:bd02/09/2004:svnHPPavilion061:pnDY153A-ABZa510.it:pvr0bQ0211RE101KELUT10:rvnASUSTekComputerINC.:rnKelut:rvr2.02:cvnHewlett-Packard:ct3:cvr:
dmi.product.name: DY153A-ABZ a510.it
dmi.product.version: 0bQ0211RE101KELUT10
dmi.sys.vendor: HP Pavilion 061
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu8
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu4
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu4
version.xserver-xorg-core: xserver-xorg-core 2:1.10.4-1ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1

Revision history for this message
fenice1956 (paolo-ciardelli) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xdiagnose (Ubuntu):
status: New → Confirmed
Sam_ (and-sam)
tags: added: amd64
Revision history for this message
Bryce Harrington (bryce) wrote :

Should be fixed in 2.1

Changed in xdiagnose (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Jason Conti (jconti) wrote :

That really isn't a fix, replacing the code with "/tmp" 2.1, since now you are copying all those files directly to /tmp, tarring up the whole thing and then trying to delete /tmp at the end. This is not a good idea.

Just use tempfile.mkdtemp.

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [Bug 914836] Re: package xdiagnose 2.0 failed to install/upgrade: subprocess installed post-installation script returned error exit status 101

On Wed, Jan 11, 2012 at 06:19:19PM -0000, Jason Conti wrote:
> That really isn't a fix, replacing the code with "/tmp" 2.1, since now
> you are copying all those files directly to /tmp, tarring up the whole
> thing and then trying to delete /tmp at the end. This is not a good
> idea.
>
> Just use tempfile.mkdtemp.

The code in question in question is never executed.

To post a comment you must log in.