Question
I'm encountering an issue with the package manager while trying to install required packages for Tizen Studio on Ubuntu 18.04.1 LTS (Bionic Beaver).
Environment Details:
- Distributor ID: Ubuntu
- Description: Ubuntu 18.04.1 LTS
- Release: 18.04
- Codename: bionic
The problem:
- The package manager fails to install packages from the extension SDK section
- Since Ubuntu 17.04 (April 2017), the supported libpng version is libpng16-16, not libpng12-0
- Attempting to install libpng12-0 results in the following error:
$ sudo apt-get install libpng12-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libpng12-0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libpng12-0' has no installation candidate
Screenshot reference: [Image link]
Request: Can this dependency issue be fixed in the package manager to support newer Ubuntu versions?
Answer
Problem Understanding
The issue stems from a version mismatch between:
- Tizen Studio's dependency on libpng12-0
- Ubuntu 18.04's default package repository which only provides libpng16-16
This is a common compatibility challenge when working with older software on newer Linux distributions.
Solution Methods
-
Official Bug Report:
- As suggested in the original answer, you should file a bug report through the official Tizen bug tracker to request package manager updates for newer Ubuntu versions.
- Current bug tracker link: [Samsung Tizen OS Bug Tracker]
-
Alternative Installation Method:
- You can try installing libpng12-0 from Ubuntu's older repositories:
sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main" sudo apt update sudo apt install libpng12-0
- You can try installing libpng12-0 from Ubuntu's older repositories:
-
Manual Installation:
- Download the libpng12-0 package manually from Ubuntu's archive:
wget http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb sudo dpkg -i libpng12-0_1.2.54-1ubuntu1_amd64.deb
- Download the libpng12-0 package manually from Ubuntu's archive:
Additional Tips
- When installing from older repositories, be aware of potential security implications
- Consider using a Docker container with Ubuntu 16.04 if you need a more isolated environment for Tizen development
- Keep an eye on Tizen Studio updates that might resolve this dependency issue