[Pkg-mono-devel] install pacakges from mono

Jo Shields directhex at apebox.org
Sat Feb 20 21:34:25 UTC 2016



On 20/02/16 21:04, mhatre.abhay wrote:
> Hi I am trying to install pacakges from mono on Ubuntu Linux machine. 
> 
> I am trying to accomplish this using ProcessStartInfo, but look like this is
> not efficient. 
> al most all the time I receive return code 100, (/var/lib/dpkg/lock ) error. 
> 
> is there a better way (api from mono) to accomplish this. I would also like
> to install deb package. (dpkg -I <deb> ) 
> ran into same problem here too 
> 
> any help will be appreciated

Package installation requires root privileges.

Look into Packagekit
(https://www.freedesktop.org/software/PackageKit/pk-using.html) to do it
in a cross-distribution way which your OS will handle the privileges
question on your behalf for.



More information about the Pkg-mono-devel mailing list