[maemo-developers] [maemo-developers] dpkg blues
From: Vladislav Grinchenko 3rdshift at comcast.netDate: Wed Jan 11 05:58:06 EET 2006
- Previous message: [maemo-developers] Bluetooth headset - not really working?
- Next message: [maemo-developers] dpkg blues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I am trying to build arm debian package of libsigc++ installable on nokia 770. dpkg-buildpackage builds it just fine: % dpkg-buildpackage -rfakeroot -uc -us -sa -D % ls libsigc++-2.0-0c2a_2.0.16-2_arm.deb However, in order for me to use AppInstaller, I have to make it dependable on pseudo-package maemo: "... instead, it uses a database of its own that only contains the installed application packages and a fake maemo package that represents the rest of the system. This means that your package can not usefully depend on libgtk2.0-0, say. You should only depend on other application packages that are installed with the Application Installer. You should also depend on the fake maemo package to ensure that your package is only installable by the Application Installer." So, I made it dependable on maemo: debian/control: ------------------------------------------------- Source: libsigc++-2.0 Section: devel Priority: optional Maintainer: Daniel Burrows <dburrows at debian.org> Standards-Version: 3.6.2.0 Build-Depends: debhelper (>=4.0.0), m4, g++ (>= 3:3.2.0) Package: libsigc++-2.0-0c2a Section: libs Depends: maemo Architecture: any Description: type-safe Signal Framework for C++ - runtime This library implements a full callback system for use in widget libraries, abstract interfaces, and general programming. It provides the ability to connect an abstract callback to a class method, function, or function object, and contains adaptor classes for connection of dissimilar callbacks. . These are the runtime files for libsigc++, needed only if you wish to run software which depends on it. ------------------------------------------------- However, installing it both on 770 and in scratchbox SDK_ARM fails bitterly: % fakeroot # app-installer-tool install libsigc++-2.0-0c2a_2.0.16-2_arm.deb Selecting previously deselected package libsigc++-2.0-0c2a. (Reading database ... 27 files and directories currently installed.) Preparing to replace libsigc++-2.0-0c2a 2.0.16-2 (using libsigc++-2.0-0c2a_2.0.16-2_arm.deb) ... Unpacking replacement libsigc++-2.0-0c2a ... dpkg (subprocess): failed to chroot to `/var/lib/install': Operation not permitted dpkg: warning - old post-removal script returned error exit status 2 dpkg - trying script from the new package instead ... dpkg (subprocess): failed to chroot to `/var/lib/install': Operation not permitted dpkg: error processing libsigc++-2.0-0c2a_2.0.16-2_arm.deb (--install): subprocess new post-removal script returned error exit status 2 dpkg (subprocess): failed to chroot to `/var/lib/install': Operation not permitted dpkg: error while cleaning up: subprocess post-removal script returned error exit status 2 Errors were encountered while processing: libsigc++-2.0-0c2a_2.0.16-2_arm.deb failed Installation of libsigc++-2.0-0c2a_2.0.16-2_arm.deb failed, removing package libsigc++-2.0-0c2a. dpkg: error processing libsigc++-2.0-0c2a (--purge): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Errors were encountered while processing: libsigc++-2.0-0c2a Removing failed! ------------------------------------------------------------------- Can someone explain to me why I get this error? failed to chroot to `/var/lib/install' thanks in advance, -Vlad -- _____________________________________________________________ Vladislav Grinchenko http://home.comcast.net/~3rdshift/ e-mail: 3rdshift at comcast.net Focus on quality, and productivity will follow. _____________________________________________________________
- Previous message: [maemo-developers] Bluetooth headset - not really working?
- Next message: [maemo-developers] dpkg blues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]