언어 설정

Menu
Sites
Language
Package Manager wants to install old packages which doesn't exist in repo.

Hello, I want to use Tizen Studio on my system with Ubuntu 24, but I have the following issue:  
The package manager is trying to install old packages like python2.7, libncurses5, and libcurl3-gnutls, which are not available in the repositories. There are newer versions of these packages, such as libncurses6. As a result, the package manager fails, and I cannot install tools like the SDK or emulator.

What do you recommend I do?  
Thanks.

Responses

3 댓글
Stephen Ford

Following. Same issue

Regina Holloway

It seems you're encountering dependency issues when trying to install Tizen Studio on Ubuntu 24. The Tizen Studio packages are trying to install outdated versions of libraries such as `python2.7`, `libncurses5`, and `libcurl3-gnutls`, which are no longer available in the newer Ubuntu repositories. Here's what you can do to resolve this:

1. Use Docker for Tizen Studio
One of the easiest ways to avoid dependency issues is to use Docker to run Tizen Studio. Docker containers can isolate dependencies, so you can run the SDK and emulator in an environment that doesn’t interfere with your system’s package manager.

- Install Docker on your system:
  ```bash
  sudo apt update
  sudo apt install docker.io
  ```

- Once Docker is installed, you can search for a pre-built Tizen Studio Docker image or create your own Dockerfile based on the official Tizen Studio installation instructions.

2. Manually Install Missing Dependencies
If you prefer not to use Docker, you can manually install the dependencies that Tizen Studio requires, even though they are outdated:

- Python2.7: Ubuntu 24 doesn’t include Python 2.7 by default, but you can install it from an external repository or use a Python 2.7 package that might still be available from a third-party source.
  ```bash
  sudo apt install python2.7
  ```

- libncurses5: Ubuntu 24 uses `libncurses6` by default, but you can try to install `libncurses5` from older package repositories or use a compatible version if available.
  ```bash
  sudo apt install libncurses5
  ```

- libcurl3-gnutls: This version of `libcurl` has been replaced by `libcurl4`. You may need to manually install the older version or create a symbolic link:
  ```bash
  sudo apt install libcurl4
  sudo ln -s /usr/lib/x86_64-linux-gnu/libcurl.so.4 /usr/lib/x86_64-linux-gnu/libcurl.so.3
  ```

Note: This approach might cause compatibility issues with other applications, so proceed with caution.

3. Use an Older Ubuntu Version or Virtual Machine
If the above solutions are not feasible, another option is to run an older version of Ubuntu (such as Ubuntu 20.04 LTS) in a virtual machine (VM) or on a separate partition. You can then install Tizen Studio and its dependencies without encountering compatibility issues with newer Ubuntu packages.

- Install a VM using software like VirtualBox or VMware and set up an older version of Ubuntu (20.04 or 18.04).
- Install Tizen Studio in that environment where the required dependencies are still available.

4. Use Snap or Flatpak (if available)
Some applications, including development tools like SDKs, are sometimes available as Snaps or Flatpaks, which bundle dependencies. Check if Tizen Studio is available as a Snap or Flatpak package for an easier installation without worrying about system dependencies.

5. Check Tizen Studio’s Official Forum or Support
The Tizen development community might have solutions or workarounds specific to Ubuntu 24. Check their official forums or GitHub issues to see if anyone else has encountered and solved similar problems.

---

By using one of these approaches, you should be able to get Tizen Studio working on Ubuntu 24, whether by managing dependencies manually, using Docker, or running the development environment in a VM.