Languages

Menu
Sites
Language
Cannot install packages through package manager

I've been attempting to get Tizen Studio set up and every installation attempt of a new package has ended in not being able to download the file. I have attempted using different repositories in Package Manager and have been able to manually download the files from the repository.

 

OS: Ubuntu 16.04 64-bit

Cause: Cannot download the package file.

Detail:

Start to install 'NativeToolchain-Gcc-4.9'.
The target packages to install:
  [smart-build-interface, COMMON-NATIVE-TOOLCHAIN, cross-x86-64-gcc-4.9, cross-arm-gcc-4.9, cross-i386-gcc-4.9, cross-i386-gdb-7.8, cross-aarch64-gdb-7.8, cross-aarch64-gcc-4.9, cross-x86-64-gdb-7.8, cross-arm-gdb-7.8, sbi-toolchain-gcc-4.9.cpp.app, libllvm-3.7, llvm-3.7, sbi-toolchain-llvm-3.7.cpp.app, NativeToolchain-Gcc-4.9, NativeToolchain]
Start to download the target packages.
Waiting for finishing the downloads of the packages...
Cannot install the Tizen Studio package.
org.tizen.manager.exception.UMException: Cannot install the Tizen Studio package.
      at org.tizen.manager.core.InstallController.wrapExceptionWithGeneralInstallException(InstallController.java:577)
      at org.tizen.manager.core.InstallController.install(InstallController.java:652)
      at org.tizen.manager.core.InstallController.install(InstallController.java:537)
      at org.tizen.manager.core.Install.InstallProcess.run(InstallProcess.java:65)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: org.tizen.manager.exception.UMException: Cannot download the package file.
      at org.tizen.manager.core.download.ManagerableDownloaderCallable.downloadPackage(ManagerableDownloaderCallable.java:219)
      at org.tizen.manager.core.download.ManagerableDownloaderCallable.call(ManagerableDownloaderCallable.java:99)
      at org.tizen.manager.core.download.ManagerableDownloaderCallable.call(ManagerableDownloaderCallable.java:63)
      ... 4 more
Recalculating the install state by failure...
Refreshing the install state of other packages...
Failed to install... NativeToolchain-Gcc-4.9

Responses

5 Replies
André Reus

What is your Java Version in your development environment?  If not already installed..please install JDK 7 or 8 and set HOME ...then try again 

Brian Mark

$ javac -version
javac 1.8.0_112
$ echo $JAVA_HOME
/usr/lib/jdk1.8.0_112/
$ echo $JRE_HOME
/usr/lib/jdk1.8.0_112//jre

André Reus

Why are you trying to install these packages individually ? May be there are some dependencies! You may try to install Tizen SDK Tools along with any version....like 3.0 Wearable. And from Extension SDK tab Samsung Wearable Extension 

And one more thing you should check from Tizen Studio>Package Manager>Configuration>

1. Package Repository ( You may check this URL is working or not from your browser)

2. Proxy Setting ( It should be System Proxy Settings by default) 

Brian Mark

I opted for installing them individually after the full packages were failling. I tried to download 3.0 Wearable only to have everything fail with a simliar error except for Web CLI and Web IDE.

1. I am able to access this from my browser and download individual items. I actually tried downloading the toolchains through this route, but they appear to be incomplete on their own as I wasn't able to build even a simple program with them.

2. As per this suggestion, I set this to 'System Proxy Settings', but with the same unsuccessful result.

André Reus

Please the URL from Package Manager configuraion..

You still face the problem, i think you can uninstall and reinstall the Tizen Studio then ...