On Sat, Jan 9, 2010 at 10:25 PM, Claudio Scordino
<clau...@evidence.eu.com>wrote:

> Claudio Scordino ha scritto:
>
>> Claudio Scordino ha scritto:
>>
>>> Hi all,
>>>
>>>   I'm using the latest Scratchbox on git repository with a CodeSourcery
>>> toolchain (arm-2007q3-51-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2)
>>> and a Maemo rootstrap (I tried both 4.01 and 4.1).
>>>
>>> I have the following issues:
>>>
>>> 1) If I type:
>>>
>>> sb2 -e apt-get install libncurses5-dev
>>>
>>> I get
>>>
>>> Reading package lists... Done
>>> Building dependency tree... Done
>>> The following NEW packages will be installed:
>>>  libncurses5-dev
>>> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>>> Need to get 0B/1055kB of archives.
>>> After unpacking 5386kB of additional disk space will be used.
>>> WARNING: The following packages cannot be authenticated!
>>>  libncurses5-dev
>>> Install these packages without verification [y/N]? y
>>> /bin/sh: line 1: /usr/sbin/dpkg-preconfigure: No such file or directory
>>> dpkg: requested operation requires superuser privilege
>>> E: Sub-process /usr/bin/dpkg returned an error code (2)
>>>
>>> Do I need fakeroot on my rootfs ? Can I use the fakeroot on my machine
>>> (i.e. the one out of sb2) ?
>>>
>>> Does "sb2 -eR apt-get install libncurses5-dev" work?  The "R" gives a
root permission which should solve the "dpkg: requested operation requires
superuser privilege" messages.

Is dpkg-preconfigure installed on your target root file system?
And is it installed on the host root file system?

(I do not use Maemo but a debian squeeze target root file system; I can
probalby not help so much...)

Greetings,

Han
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to