I have found the problem. Now is instaling fine. The problem is in post install configurations that are using decimal values in printf that came from hexadecimal. My patch is in attachment.
** Patch added: "nvidia-prime.postinst.patch" https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1252667/+attachment/4114420/+files/nvidia-prime.postinst.patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-prime in Ubuntu. https://bugs.launchpad.net/bugs/1252667 Title: package nvidia-prime 0.4.2~ubuntu13.10.1 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1 Status in “nvidia-prime” package in Ubuntu: Fix Released Status in “nvidia-prime” source package in Precise: Fix Released Bug description: internet ProblemType: Package DistroRelease: Ubuntu 13.10 Package: nvidia-prime 0.4.2~ubuntu13.10.1 ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7 Uname: Linux 3.11.0-14-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.12.5-0ubuntu2.1 Architecture: amd64 Date: Tue Nov 19 10:15:42 2013 DuplicateSignature: package:nvidia-prime:0.4.2~ubuntu13.10.1:le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1 ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1 InstallationDate: Installed on 2013-08-17 (93 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424) MarkForUpload: True PackageArchitecture: all SourcePackage: nvidia-prime Title: package nvidia-prime 0.4.2~ubuntu13.10.1 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1 UpgradeStatus: Upgraded to saucy on 2013-09-26 (54 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1252667/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp