On Mon, Oct 26, 2009 at 4:40 PM, Ed Bartosh <bart...@gmail.com> wrote:

> 2009/10/26 Luca Donaggio <donag...@gmail.com>:
> > The output from dpkg is exactly the same.
> > What do you mean by "Have you tried to install your optified packages
> after
> > you created
> > /opt directory inside your target?" ?
> I thought it was failing before you re-created /opt. Probably I
> misunderstood the situation.
>
> > I have:
> >
> > [sbox-FREMANTLE_X86: ~] > v /targets/links/opt
> > lrwxrwxrwx  1 cthulhu cthulhu 26 Oct  7 15:26 /targets/links/opt ->
> > /targets/FREMANTLE_X86/opt
> >
> > and:
> >
> > [sbox-FREMANTLE_X86: ~] > v /targets/FREMANTLE_X86
> > total 76
> > [...]
> > drwxrwxr-x   2 cthulhu cthulhu 4096 Oct  7 15:04 opt
> > [..]
> >
> > but:
> >
> > [sbox-FREMANTLE_X86: ~] > v /opt
> > lrwxrwxrwx  1 cthulhu cthulhu 9 Oct  6 16:46 /opt -> /home/opt
> >
> You can read this thread:
> http://lists.maemo.org/pipermail//maemo-developers/2009-October/021588.html
> The error explained there is the same as yours.
>
> I resolved it by removing /opt from rootstraps.
> Here is what I have in my target:
> [sbox-maemo5-arm: ~] > ls -la / | grep opt
> lrwxrwxrwx   1 root root   18 Oct 22 09:22 opt -> /targets/links/opt
>
> [sbox-maemo5-arm: ~] > ls -la /targets/maemo5-arm/ |grep opt
> drwxrwxr-x   2 ed ed 4096 Oct 26 16:19 opt
>
> And I'm able to install optified packages into this target:
> [sbox-maemo5-arm: ~] > fakeroot apt-get install clucene-core
> Reading package lists... Done
> Building dependency tree... Done
> The following NEW packages will be installed:
>  clucene-core
> 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
> Need to get 0B/319kB of archives.
> After unpacking 1085kB of additional disk space will be used.
> WARNING: The following packages cannot be authenticated!
>  clucene-core
> Install these packages without verification [y/N]? y
> /scratchbox/tools/bin/sh: line 1: /usr/sbin/dpkg-preconfigure: No such
> file or directory
> Selecting previously deselected package clucene-core.
> (Reading database ... 6395 files and directories currently installed.)
> Unpacking clucene-core (from .../clucene-core_0.9.21b-0maemo1_armel.deb)
> ...
> Setting up clucene-core (0.9.21b-0maemo1) ...
> [sbox-maemo5-arm: ~] > dpkg -L clucene-core |grep opt
> /opt
> /opt/maemo
> /opt/maemo/usr
> /opt/maemo/usr/lib
> /opt/maemo/usr/lib/libclucene.so.0.0.0
>
> --
> BR,
> Ed
>

Thank you Ed,

I've read that thread, but I was hoping for another (quicker) solution!
After changing the rootstrap do I need to re-install the whole environment?

Luca Donaggio
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to