언어 설정

Menu
Sites
Language
TPK installation fail on Z1 Device

Hello,

I am trying to install the BasicUI native app sample onto Z1 device but I am constantly getting the FATAL_ERROR[61]:

[Deploying the package...]
    RDS: On
[Creating the package...]
    Created the package: C:\Users\yyang\workspace\BasicUI\Release\org.example.basicui-1.0.0-arm.tpk
[Transferring the package...]
    Transferred the package: C:\Users\yyang\workspace\BasicUI\Release\org.example.basicui-1.0.0-arm.tpk -> /opt/usr/apps/tmp
[Installing the package...]
    Uninstalling the package...
path is /opt/usr/apps/tmp/org.example.basicui-1.0.0-arm.tpk
start process (install)
.
error : 0

end process (fail)
processing result : FATAL_ERROR [61] failed
spend time for pkgcmd is [3221]ms
cmd_ret:61
(12.83 sec)

 

 

I have triple checked that I have followed the steps decribed in the Help->Help Content->Certificate Guides:

1. All the author.p12 and distributor.p12 file request/register are done by IDE and reported successfully.

2. I have "permit to install applications" on the device through "Connection Explorer" of IDE, and I see the device-profile.xml pushed onto device,

3. I have verified the DUID are correctly registerd and matching the device

4. Device's date and time are current

I am using Tizen SDK 2.4 Rev5, with the Certificate Extension SDK installed. I am making the package on a Windows 8 64 bit machine. I have tried to use both api_version 2.4 and 2.3, and there is no difference.

 

I noticed that from the sdb dlog, I am getting this error while installing:

04-28 12:23:42.992 : ERROR / PKGMGR_SERVER ( 7930 : 7930 ) : pkgmgr-server.c: main(1608) > server start
04-28 12:23:43.232 : ERROR / rpm-installer ( 7934 : 7934 ) : rpm-appcore-intf.c: main(197) > [/opt/usr/apps/tmp/org.example.basicui-1.0.0-arm.tpk] is tpk package.
04-28 12:23:43.262 : ERROR / rpm-installer ( 7934 : 7934 ) : rpm-installer-core.c: _rpm_installer_get_pkgname_info(297) > fisrt installation, pkgid=[org.example.basicui]
04-28 12:23:44.182 : ERROR / PKGMGR_PARSER ( 7934 : 7934 ) : pkgmgr_parser.c: pkgmgr_parser_check_manifest_validation(2401) > Manifest Validation Failed with error code 1866
04-28 12:23:44.182 : ERROR / rpm-installer ( 7934 : 7934 ) : coretpk-installer.c: _coretpk_installer_package_install(2590) > invalid manifest file

 

I have not touched the tizen-manifest.xml in the whole process so it is the default one generated by the IDE, yet pkgcmd is complaining it is not a valid one.

 

Anybody has any suggestions?

 

Thanks in advance.

 

Ye

 

Responses

1 댓글
Peter Wegner

Error 61 is the Running Gag with Cert...

 

Are you sure you have valid/proper device-profile.xml with your DUID "installed" in:

/home/developer

 

This is the forced Gag with Cert blabla...

https://developer.tizen.org/community/tip-tech/tizen-sdk-install-guide-certificate-extensions-included

 

Reference devices like RD-PQ, TM1 and hidden Top Secret rooted devices have this problem not.

 

But you need this for commercial devices like SM-Z130H, SM-Z300H... ((((((SM-Z300F)))))

You can/could remove this joke...

 

I have successfully tested this on my SM-Z130H...

 

Best Regards