Activity log for bug #1219650

Date Who What changed Old value New value Message
2013-09-02 06:15:09 kaxing bug added bug
2013-09-02 10:00:25 Ara Pulido nvidia-prime (Ubuntu): assignee Alberto Milone (albertomilone)
2013-09-02 16:00:52 Anthony Wong nvidia-prime (Ubuntu): importance Undecided High
2013-09-02 16:01:05 Anthony Wong bug added subscriber Anthony Wong
2013-10-23 11:15:04 Alberto Milone attachment added printf_test.sh https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1219650/+attachment/3888483/+files/printf_test.sh
2013-10-23 11:16:03 Launchpad Janitor nvidia-prime (Ubuntu): status New Confirmed
2013-10-23 11:39:03 Alberto Milone nvidia-prime (Ubuntu): status Confirmed In Progress
2013-10-23 13:12:24 Alberto Milone nominated for series Ubuntu Precise
2013-10-23 13:12:24 Alberto Milone bug task added nvidia-prime (Ubuntu Precise)
2013-10-23 13:12:24 Alberto Milone nominated for series Ubuntu Saucy
2013-10-23 13:12:24 Alberto Milone bug task added nvidia-prime (Ubuntu Saucy)
2013-10-23 13:12:32 Alberto Milone nvidia-prime (Ubuntu Precise): status New In Progress
2013-10-23 13:12:35 Alberto Milone nvidia-prime (Ubuntu Saucy): status New In Progress
2013-10-23 13:12:37 Alberto Milone nvidia-prime (Ubuntu Precise): importance Undecided High
2013-10-23 13:12:40 Alberto Milone nvidia-prime (Ubuntu Saucy): importance Undecided High
2013-10-23 13:12:42 Alberto Milone nvidia-prime (Ubuntu Precise): assignee Alberto Milone (albertomilone)
2013-10-23 13:12:44 Alberto Milone nvidia-prime (Ubuntu Saucy): assignee Alberto Milone (albertomilone)
2013-10-23 14:21:29 Launchpad Janitor nvidia-prime (Ubuntu): status In Progress Fix Released
2013-10-23 14:49:49 Alberto Milone attachment added printf_test.sh https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1219650/+attachment/3888704/+files/printf_test.sh
2013-10-23 14:53:34 Alberto Milone bug added subscriber Ubuntu Stable Release Updates Team
2013-10-24 04:05:05 Launchpad Janitor branch linked lp:ubuntu/nvidia-prime
2013-10-28 16:21:29 Stéphane Graber nvidia-prime (Ubuntu Precise): status In Progress Fix Committed
2013-10-28 16:21:32 Stéphane Graber bug added subscriber SRU Verification
2013-10-28 16:21:43 Stéphane Graber tags amd64 apport-bug precise running-unity amd64 apport-bug precise running-unity verification-needed
2013-10-28 16:22:49 Alberto Milone description Encountered this problem during install nvidia driver by using jockey, then verified using apt-get install nvidia-prime, received following messages: $ sudo apt-get install nvidia-prime Reading package lists... Done Building dependency tree Reading state information... Done nvidia-prime is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up nvidia-prime (0.3~hybrid0.0.1) ... /var/lib/dpkg/info/nvidia-prime.postinst: 36: printf: 08: not completely converted dpkg: error processing nvidia-prime (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: nvidia-prime E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: nvidia-prime 0.3~hybrid0.0.1 ProcVersionSignature: Ubuntu 3.8.0-29.42~precise1-generic 3.8.13.5 Uname: Linux 3.8.0-29-generic x86_64 ApportVersion: 2.0.1-0ubuntu17.4 Architecture: amd64 Date: Mon Sep 2 14:07:37 2013 InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1) MarkForUpload: True PackageArchitecture: all ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: nvidia-prime UpgradeStatus: No upgrade log present (probably fresh install) SRU request: [Impact] * As a result of this bug, systems whose card has a bus id containing numbers such as "08" or "09" numbers will trigger an error in printf where it treats these string values with leading zeros as octal. This causes the postinst script to fail. [Test Case] * Enable the precise-proposed or the saucy-proposed repository and install nvidia-prime (0.4.2~hybrid0.0.1 in precise or 0.4.2~hybrid0.1 in saucy). * If the package can be installed without errors, then the fix is correct. * Alternatively, you can launch the attached script (see comment #8) as follows, you'll be able to reproduce the issue: sh printf_test.sh reproduce You can then test the fix by running the attached script without any arguments: sh printf_test.sh [Regression Potential] * The regression potential here is zero. As the attached script demonstrates. ------ Encountered this problem during install nvidia driver by using jockey, then verified using apt-get install nvidia-prime, received following messages: $ sudo apt-get install nvidia-prime Reading package lists... Done Building dependency tree Reading state information... Done nvidia-prime is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up nvidia-prime (0.3~hybrid0.0.1) ... /var/lib/dpkg/info/nvidia-prime.postinst: 36: printf: 08: not completely converted dpkg: error processing nvidia-prime (--configure):  subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:  nvidia-prime E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: nvidia-prime 0.3~hybrid0.0.1 ProcVersionSignature: Ubuntu 3.8.0-29.42~precise1-generic 3.8.13.5 Uname: Linux 3.8.0-29-generic x86_64 ApportVersion: 2.0.1-0ubuntu17.4 Architecture: amd64 Date: Mon Sep 2 14:07:37 2013 InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1) MarkForUpload: True PackageArchitecture: all ProcEnviron:  TERM=xterm  PATH=(custom, no user)  LANG=en_US.UTF-8  SHELL=/bin/bash SourcePackage: nvidia-prime UpgradeStatus: No upgrade log present (probably fresh install)
2013-10-28 16:34:05 Stéphane Graber nvidia-prime (Ubuntu Saucy): status In Progress Fix Committed
2013-10-28 16:38:01 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/nvidia-prime
2013-10-28 16:38:03 Launchpad Janitor branch linked lp:ubuntu/saucy-proposed/nvidia-prime
2013-10-31 07:49:49 Miklos Juhasz tags amd64 apport-bug precise running-unity verification-needed amd64 apport-bug precise running-unity verification-done
2013-11-05 14:42:38 Stéphane Graber removed subscriber Ubuntu Stable Release Updates Team
2013-11-05 14:44:52 Launchpad Janitor nvidia-prime (Ubuntu Saucy): status Fix Committed Fix Released
2013-11-05 15:46:20 Launchpad Janitor nvidia-prime (Ubuntu Precise): status Fix Committed Fix Released