http://dylanmtaylor.com/2011/04/17/fixing-lexmark-printer-driver-installation-in-ubuntu-11-04/
Ovviamente il Mr. che ha lavorato al problema si è curato del proprio 32bit....
...ma il mio 64bit? Vuoi vedere che ha lo stesso problema visto che l'errore e simile?
si tratta di un banale errore di ortografia....
Codice: Seleziona tutto
local rpm_fullpath = path_finder('rpm')
---> local ownhership = shell_execute('rpm -qf ' .. rpm_fullpath .. ' < /dev/null > /dev/null 2>&1; echo $?')
if tonumber(ownhership[1]) == 0 then
x = "rpm"
else
x = "dpkg"
endmentre corretto è così...
Codice: Seleziona tutto
local rpm_fullpath = path_finder('rpm')
local ownership = shell_execute('rpm -qf ' .. rpm_fullpath .. ' < /dev/null > /dev/null 2>&1; echo $?')
if tonumber(ownership[1]) == 0 then
x = "rpm"
else
x = "dpkg"
endSpero di essere stato utile