Re: Trouble installing in Debian



On Tue, 2013-04-16 at 23:57 -0400, Hashem Nasarat wrote:
I'm having trouble installing ostree on Debian 7.

One thing I'd recommend first now, is to get a
feel for the system in a VM first, if your system is virtualization
capable.  The https://live.gnome.org/OSTree/GnomeOSTree wiki
page explains a bit more, and if things are unclear please ask or if you
have a correction, edit =) 

When, as root, I run ostree admin install (with the full path of my
jhbuilt ostree binary), it errors out with "symbol lookup error:
/home/hashem/sources/gnome-install/bin/ostree: undefined symbol:
g_spawn_check_exit_status"

Ideally ostree could just be packaged for Debian; see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697477

However we require a too-new version of GLib for Debian 7 =/  I suppose
I could invest a bit of time trying to retro-port but it's not fun...

What is the suggested way of running ostree admin install as root?

I have this in /usr/local/bin:

#!/bin/sh
exec env PATH=/src/build/jhbuild/bin/:$PATH LD_LIBRARY_PATH=/src/build/jhbuild/lib64 ostree "$@"

Replace /src/build/jhbuild with your path, and lib64 with the jhbuild
library path.


But honestly for the most part I use VMs, because it's just easier for
development purposes.  The system is also not really actually useful for
humans without an application installation mechanism of course, but I
hope we can make some progress on that this cycle.

The CI and automated testing aspect though has been working
fantastically, so I'm happy about that.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]