Re: fakeroot make build_monolithic fails

2010-12-21 Thread Michal Filka
Hi,

I've repackaged all packages which contained preinst script (unpack
the package, remove the script and pack it).
When used these new packages together with dpkg --force-depends (some
complains about pre-dependency problems occured), I've successfully
moved to next step (mklibs).

Can anyone confirm that above solution is error-free?

Thank you.
Michal Filka

2010/12/20 Michal Filka michal.fi...@gmail.com:
 Hi,

 it seems that there is any problem (?) with preinst script. Aptitude
 is first package which contains preinst. If I exclude it (using
 pkg-list/exclude) then make build_monolithic fails on next package
 with preinst script (apt in my case).

 Michal Filka

 2010/12/16 Michal Filka michal.fi...@gmail.com:
 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) ...
 D20: process_archive conffile `/etc/logrotate.d/aptitude' no
 package, no hash
 D20: 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/aanlktikqiwbtt9kde5q0a67xypff9=oohxgsecjnb...@mail.gmail.com



Re: fakeroot make build_monolithic fails

2010-12-20 Thread Michal Filka
Hi,

it seems that there is any problem (?) with preinst script. Aptitude
is first package which contains preinst. If I exclude it (using
pkg-list/exclude) then make build_monolithic fails on next package
with preinst script (apt in my case).

Michal Filka

2010/12/16 Michal Filka michal.fi...@gmail.com:
 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) ...
 D20: process_archive conffile `/etc/logrotate.d/aptitude' no
 package, no hash
 D20: 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/aanlktik7d-uscegdi=v1wr=bua72rwdy6n7maeoye...@mail.gmail.com



Re: fakeroot make build_monolithic fails

2010-12-16 Thread Michal Filka
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) ...
D20: process_archive conffile `/etc/logrotate.d/aptitude' no
package, no hash
D20: 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/aanlktikbzl=xoqajnuc_smmbn0rngx=uwb4bcw7=r...@mail.gmail.com



Re: fakeroot make build_monolithic fails

2010-12-16 Thread Michal Filka
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) ...
 D20: process_archive conffile `/etc/logrotate.d/aptitude' no
 package, no hash
 D20: 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



fakeroot make build_monolithic fails

2010-12-15 Thread Michal Filka
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/aanlktimhcm-nutgyvhfsphsolbs60dxrrjtudgytc...@mail.gmail.com