package nvidia-prime (not installed) failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1

Bug #1266376 reported by CrazySky
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nvidia-prime (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 13.10 x86_64. Just install package and you see the error.

ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: nvidia-prime (not installed)
ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
Uname: Linux 3.11.0-15-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
AptOrdering: nvidia-prime: Configure
Architecture: amd64
Date: Sun Jan 5 22:00:47 2014
DpkgTerminalLog:
 Настраивается пакет nvidia-prime (0.4.2~ubuntu13.10.1) …
 /var/lib/dpkg/info/nvidia-prime.postinst: 36: printf: a: expected numeric value
 dpkg: ошибка при обработке параметра nvidia-prime (--configure):
  подпроцесс установлен сценарий post-installation возвратил код ошибки 1
DuplicateSignature: package:nvidia-prime:(not installed):подпроцесс установлен сценарий post-installation возвратил код ошибки 1
ErrorMessage: подпроцесс установлен сценарий post-installation возвратил код ошибки 1
InstallationDate: Installed on 2014-01-05 (1 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
SourcePackage: nvidia-prime
Title: package nvidia-prime (not installed) failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
CrazySky (makarovdenis11) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Alberto Milone (albertomilone) wrote :

It looks like bug #1219650, that I fixed.

Please download the attached file and then run it with:

sh test_prime_2014.sh &> prime_output

and then attach the prime_output file.

Revision history for this message
CrazySky (makarovdenis11) wrote :

>> /var/lib/dpkg/info/nvidia-prime.postinst: 36: printf: a: expected numeric value

denis@HP-Notebook:~$ sudo grep "printf" /var/lib/dpkg/info/nvidia-prime.postinst
bus_id=$(printf "%d:%d:%d\n" "${id_0#0}" "${id_1#0}" "${id_2#0}")

denis@HP-Notebook:~$ lspci | egrep '3D|VGA'

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
0a:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev all)

I think this error occurs because my BusID have "a" symbol.

Changed in nvidia-prime (Ubuntu):
assignee: nobody → Денис (makarovdenis11)
assignee: Денис (makarovdenis11) → nobody
Revision history for this message
CrazySky (makarovdenis11) wrote :

Ok, I did it. Same error

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

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

Changed in nvidia-prime (Ubuntu):
status: New → Confirmed
Revision history for this message
CrazySky (makarovdenis11) wrote :

Ok, when the problem will be fixed?

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.