Comment 3 for bug 1266376

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.