<div class="gmail_quote">On Mon, Oct 26, 2009 at 4:40 PM, Ed Bartosh <span dir="ltr"><<a href="mailto:bartosh@gmail.com">bartosh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">2009/10/26 Luca Donaggio <<a href="mailto:donaggio@gmail.com">donaggio@gmail.com</a>>:<br>
</div><div class="im">> The output from dpkg is exactly the same.<br>
> What do you mean by "Have you tried to install your optified packages after<br>
> you created<br>
> /opt directory inside your target?" ?<br>
</div>I thought it was failing before you re-created /opt. Probably I<br>
misunderstood the situation.<br>
<div class="im"><br>
> I have:<br>
><br>
> [sbox-FREMANTLE_X86: ~] > v /targets/links/opt<br>
> lrwxrwxrwx 1 cthulhu cthulhu 26 Oct 7 15:26 /targets/links/opt -><br>
> /targets/FREMANTLE_X86/opt<br>
><br>
> and:<br>
><br>
> [sbox-FREMANTLE_X86: ~] > v /targets/FREMANTLE_X86<br>
> total 76<br>
> [...]<br>
> drwxrwxr-x 2 cthulhu cthulhu 4096 Oct 7 15:04 opt<br>
> [..]<br>
><br>
> but:<br>
><br>
> [sbox-FREMANTLE_X86: ~] > v /opt<br>
> lrwxrwxrwx 1 cthulhu cthulhu 9 Oct 6 16:46 /opt -> /home/opt<br>
><br>
</div>You can read this thread:<br>
<a href="http://lists.maemo.org/pipermail//maemo-developers/2009-October/021588.html" target="_blank">http://lists.maemo.org/pipermail//maemo-developers/2009-October/021588.html</a><br>
The error explained there is the same as yours.<br>
<br>
I resolved it by removing /opt from rootstraps.<br>
Here is what I have in my target:<br>
[sbox-maemo5-arm: ~] > ls -la / | grep opt<br>
lrwxrwxrwx 1 root root 18 Oct 22 09:22 opt -> /targets/links/opt<br>
<br>
[sbox-maemo5-arm: ~] > ls -la /targets/maemo5-arm/ |grep opt<br>
drwxrwxr-x 2 ed ed 4096 Oct 26 16:19 opt<br>
<br>
And I'm able to install optified packages into this target:<br>
[sbox-maemo5-arm: ~] > fakeroot apt-get install clucene-core<br>
Reading package lists... Done<br>
Building dependency tree... Done<br>
The following NEW packages will be installed:<br>
clucene-core<br>
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.<br>
Need to get 0B/319kB of archives.<br>
After unpacking 1085kB of additional disk space will be used.<br>
WARNING: The following packages cannot be authenticated!<br>
clucene-core<br>
Install these packages without verification [y/N]? y<br>
/scratchbox/tools/bin/sh: line 1: /usr/sbin/dpkg-preconfigure: No such<br>
file or directory<br>
Selecting previously deselected package clucene-core.<br>
(Reading database ... 6395 files and directories currently installed.)<br>
Unpacking clucene-core (from .../clucene-core_0.9.21b-0maemo1_armel.deb) ...<br>
Setting up clucene-core (0.9.21b-0maemo1) ...<br>
[sbox-maemo5-arm: ~] > dpkg -L clucene-core |grep opt<br>
/opt<br>
/opt/maemo<br>
/opt/maemo/usr<br>
/opt/maemo/usr/lib<br>
/opt/maemo/usr/lib/libclucene.so.0.0.0<br>
<br>
--<br>
BR,<br>
<font color="#888888">Ed<br>
</font></blockquote></div><br>Thank you Ed,<br><br>I've read that thread, but I was hoping for another (quicker) solution!<br>After changing the rootstrap do I need to re-install the whole environment?<br><br>Luca Donaggio<br>