I am sorry, but in order to run apt-get you need root privileges and you do
toggle quoted messageShow quoted text
not have them inside a Warden container of a DEA. Processes run as
unprivileged user "vcap" who cannot gain root privileges in any way, as far
as I know.
In general, you should not rely on apt packages but use self-contained
software with as less dependencies as possible.
I hope this helps.
El 25/06/2015 12:56, "Balaramaraju JLSP" <balaramaraju(a)gmail.com> escribió:
I am trying to create a custom build pack. To create a stack like WineHQ
with some VS2010 C++ Runtime to run windows native services.
#!/usr/bin/env bash echo "Install WineHQ"#wget
wine-1.7.20.tar.bz2 && cd wine-1.7.*apt-get install wine1.7#./configure
#echo yes |./wineinstallecho "Update" echo "Load Custom Frameworks"echo "
but it failing with
-----> Downloaded app package (8.0K)
Cloning into '/tmp/buildpacks/WineHQ-BuildPack'...
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
E: Unable to lock the administration directory (/var/lib/dpkg/), are you
any help is very much appreciated.
J L S P Balaramaraju
cf-dev mailing list