package ubuntustudio-audio 0.37 [modified: usr/share/ubuntustudio-audio/rtprio.py] failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bug #340065 reported by Paul Winkler
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntustudio-meta (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ubuntustudio-audio

The method of setting realtime priority fixed by #206493 has a simple flaw: It calls "python rtprio.py".
This works fine as long as ubuntu's default version of python is the first one found on $PATH.
Otherwise, it fails like so:

Setting up ubuntustudio-audio (0.37) ...
Traceback (most recent call last):
  File "/usr/share/ubuntustudio-audio/rtprio.py", line 3, in ?
    import changesettings
ImportError: No module named changesettings
dpkg: error processing ubuntustudio-audio (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 ubuntustudio-audio

The solution is trivial ... change the command line in ubuntustudio-audio.postinst to read:
/usr/bin/python rtprio.py

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: ubuntustudio-audio 0.37 [modified: usr/share/ubuntustudio-audio/rtprio.py]
SourcePackage: ubuntustudio-meta
Title: package ubuntustudio-audio 0.37 [modified: usr/share/ubuntustudio-audio/rtprio.py] failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27.2patched x86_64

Revision history for this message
Paul Winkler (slinkp) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntustudio-meta - 0.44

---------------
ubuntustudio-meta (0.44) jaunty; urgency=low

  * Refreshed dependencies
  * Added indicator-messages to desktop-recommends [ia64]
  * Removed nautilus-cd-burner from desktop
  * Removed notify-osd from desktop [amd64 hppa i386 ia64 lpia powerpc
    sparc]
  * Removed ubuntu-sounds from desktop
  * debian/ubuntustudio-audio.postinst: call python with an absolute path
    (LP: #340065)

 -- Luke Yelavich <email address hidden> Tue, 10 Mar 2009 09:31:03 +1100

Changed in ubuntustudio-meta:
status: New → 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.