Hi,

I moved a bit again.

using fakeroot fakechroot make build_monolithic the error turns into

dpkg (subprocess): unable to execute new pre-installation script: No
such file or directory

Is it possible that it is because of missing bin/bash in chrooted dir
(tmp/monolithic/tree)?

Thanks for any advice
Michal Filka

2010/12/16 Michal Filka <michal.fi...@gmail.com>:
> Hi,
>
> I tried couple of things (sudo instead of fakeroot, ...). I've
> investigated aptitude's pre/postinst scripts, too but nothing helped.
>
> I've some detailed logs
> Unpacking aptitude (from udebs/aptitude.udeb) ...
> D000020: process_archive conffile `/etc/logrotate.d/aptitude' no
> package, no hash
> D000020: process_archive conffile `/etc/cron.daily/aptitude' no package, no 
> hash
> dpkg (subprocess): failed to chroot to `./tmp/monolithic/tree':
> Operation not permitted
> dpkg: error processing udebs/aptitude.udeb (--unpack):
>  subprocess pre-installation script returned error exit status 2
> dpkg (subprocess): failed to chroot to `./tmp/monolithic/tree':
> Operation not permitted
> dpkg: error while cleaning up:
>  subprocess post-removal script returned error exit status 2
> Errors were encountered while processing:
>  udebs/aptitude.udeb
> make[2]: *** [stamps/tree-unpack-monolithic-stamp] Error 1
> make[1]: *** [_build] Error 2
> make: *** [build_monolithic] Error 2
>
> Does anyone have any idea?
>
> Thanks for any help.
> Michal Filka
>
> 2010/12/15 Michal Filka <michal.fi...@gmail.com>:
>> Hi all,
>>
>> I have problem when trying to create custom monolithic image using
>>
>> fakeroot make build_monolithic fails
>>
>> build process ends with following error:
>>
>> Selecting previously deselected package acpi-modules-2.6.26-cst-486-di.
>> (Reading database ... 0 files and directories currently installed.)
>> Unpacking acpi-modules-2.6.26-nodma-486-di (from
>> .../acpi-modules-2.6.26-cst-486-di.udeb) ...
>> Selecting previously deselected package adduser.
>> (Reading database ... 12 files and directories currently installed.)
>> Unpacking adduser (from udebs/adduser.udeb) ...
>> Selecting previously deselected package ai-choosers.
>> (Reading database ... 164 files and directories currently installed.)
>> Unpacking ai-choosers (from udebs/ai-choosers.udeb) ...
>> Selecting previously deselected package anna.
>> (Reading database ... 164 files and directories currently installed.)
>> Unpacking anna (from udebs/anna.udeb) ...
>> Selecting previously deselected package aptitude.
>> (Reading database ... 169 files and directories currently installed.)
>> Unpacking aptitude (from udebs/aptitude.udeb) ...
>> dpkg (subprocess): failed to chroot to `./tmp/monolithic/tree':
>> Operation not permitted
>> dpkg: error processing udebs/aptitude.udeb (--unpack):
>>  subprocess pre-installation script returned error exit status 2
>> dpkg (subprocess): failed to chroot to `./tmp/monolithic/tree':
>> Operation not permitted
>> dpkg: error while cleaning up:
>>  subprocess post-removal script returned error exit status 2
>> Errors were encountered while processing:
>>  udebs/aptitude.udeb
>> make[2]: *** [stamps/tree-unpack-monolithic-stamp] Error 1
>> make[1]: *** [_build] Error 2
>> make: *** [build_monolithic] Error 2
>>
>> I'm not able to find any reason why chroot suddenly fails when
>> installing aptitude.
>>
>> Can anyone help me?
>> Thank you
>> Michal Filka
>>
>


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktim0d=wmyhmwqgrg+t3p0plja_8jq_p85eyzu...@mail.gmail.com

Reply via email to