Advanced search
Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings ESbox
Summary Forums Tracker Lists Tasks News SCM Files Wiki

Bugs: Browse | Download .csv

[#4723] Install debian package, all template projects can not be installed to scratchbox

Please login

State:
Open
Date:
2009-10-23 13:44
Priority:
3
Submitted By:
Henry Ovaskainen (henryov)
Assigned To:
Nobody (None)
Summary:
Install debian package, all template projects can not be installed to scratchbox

Detailed description
Nowadays esbox supports debian package installation to scratchbox. While trying this, I noticed that installation of
debian package of all template projects does not succeed.
E.g. helloworld c project fails but maemopad works ok. Didn't try others..
Esbox build 557 was used while testing this...
-------


!ENTRY org.maemo.mica.linux.packages.core 4 0 2009-10-22 15:20:48.688
!MESSAGE Package installation failed (exit code 1)


--------------

#!/bin/sh
dpkg-deb -c /home/maemo/shared/workspace/x86_1.0.0_i386.deb


22.10.2009 15:20:42: ssh://maemo@192.168.227.128:22 
.$ /scratchbox/tools/bin/sb-conf current
	add/replace PATH=/scratchbox/tools/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

22.10.2009 15:20:43: Scratchbox 1 [DIABLO_X86] 
.$ /scratchbox/login -d /home/maemo/.esbox ./run28.sh

#!/bin/sh
dpkg -i -D0 /home/maemo/.mica/x86_1.0.0_i386.deb

-------------------------
Selecting previously deselected package x86.
(Reading database ... 38424 files and directories currently installed.)
Unpacking x86 (from .../maemo/.mica/x86_1.0.0_i386.deb) ...
Setting up x86 (1.0.0) ...
Cache file created successfully.
maemo-invoker: died connecting to the launcher
dpkg: error processing x86 (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 x86




Followup

Message
Date: 2009-11-30 09:30
Sender: Juha  Hentunen

Verified with mica_esbox_pluthon_3.4.2_build.622.
Date: 2009-11-24 23:18
Sender: Ed Swartz

Oh yes.  I think we have to launch the Debian package installer
with appropriate DISPLAY and DBUS_SESSION_BUS_ADDRESS variables
too.

Sigh, this will need more changes to the framework.  I'm going
to delay this fix for 2.1.
Date: 2009-11-24 09:58
Sender: Juha  Hentunen

I noticed that in maemopad case the reason is wrong package:
maemopad-dbg_2.5-1_i386.deb. This works if user changes
it: maemopad_2.5-1_i386.deb.

But diablo helloworld (x86) fails to install debian package to
scratchbox (Maemo AF is running):

/var/lib/dpkg/info/helloworld.postinst: line 6: 17546 Broken
pipe             maemo-select-menu-location helloworld.desktop
dpkg: error processing helloworld (--install):
 subprocess post-installation script returned error exit status
141
Errors were encountered while processing:
 helloworld

Fremantle helloworld works OK.
Date: 2009-11-23 13:53
Sender: Ed Swartz

Unfortunately there was no comment on this bug telling what the
bug fix was.

The fix is supposed to be, when you install a Debian package,
Esbox will ensure the Maemo AF is running, in case it needs the
GUI.  That was the problem with "helloworld c".  Do
you see this prompt?

As for maemopad, the error you see is due to installing the -dbg
package (which are only symbols) instead of the actual maemopad
binary package.  If you install both, that will go away, I think.
Date: 2009-11-23 11:41
Sender: Juha  Hentunen

I tested this using mica_esbox_pluthon_3.4.2_build.600 (x86
target).

I got same result as Henry: helloworld c failed and maempad passed
(diablo). Also I get failed with maemopad using fremantle.

Setting up helloworld (1.0.0) ...
Cache file created successfully.
/var/lib/dpkg/info/helloworld.postinst: line 6: 24639 Broken
pipe             maemo-select-menu-location helloworld.desktop
dpkg: error processing helloworld (--install):
 subprocess post-installation script returned error exit status
141
Errors were encountered while processing:
 helloworld


dpkg: dependency problems prevent configuration of maemopad-dbg:
 maemopad-dbg depends on maemopad (= 2.5-1); however:
  Package maemopad is not installed.
dpkg: error processing maemopad-dbg (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 maemopad-dbg

Date: 2009-10-23 15:47
Sender: Ed Swartz

I'm not sure what the error is, but on first gasp, maybe it's
the case that the Maemo AF needs to be running when packages
are installed...?

Attached Files:

Name Download
No Files Currently Attached

Changes:

Field Old Value Date By
ResolutionNone2009-11-30 09:30juhentun1
Version2.0 (final)2009-11-24 23:18eswartz
assigned_tofabricioepa2009-11-24 23:18eswartz
ResolutionFixed2009-11-23 11:41juhentun1
ResolutionAccepted as a Bug2009-11-11 22:14fabricioepa
ResolutionNone2009-11-09 14:55fabricioepa
assigned_tonone2009-11-09 14:55fabricioepa

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment