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

Re: fakeroot make build_monolithic fails



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.filka@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
>


Reply to: