broken libpng12-0_1.2.54-1ubuntu1_arm64.deb in the release?

Asked by johnnyhuang on 2021-03-31


I was trying to install libpng12-0 for arm64 on ubuntu 20.10 meeting error as below:
 unable to install new version of '/lib/aarch64-linux-gnu/': No such file or directory

When I checked the deb unpackaged, below
libpng12-0_1.2.54-1ubuntu1_arm64/usr/lib/aarch64-linux-gnu$ ls -l
total 0
lrwxrwxrwx 1 yc yc 36 Mar 31 10:39 -> /lib/aarch64-linux-gnu/
Above result is showed as red(broken symlink).

May be a repack will fix the probelm(it could be just the issue from Ubuntu 20.10)?

Question information

English Edit question
Ubuntu libpng Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:

I suggest you report a bug (assuming the package is from the official Ubuntu repository)

Manfred Hampl (m-hampl) said : #2

According to the package libpng12-0_1.2.54-1ubuntu1_arm64.deb is for Ubuntu 18.04 xenial. You write that you have problems when trying to install it on Ubuntu 20.10 groovy.
The two releases do not fit together. What you are trying is not supported at all.

The equivalent package for Ubuntu groovy is libpng16-16

johnnyhuang (jhuang88) said : #3

Thanks for the info.

Yes, from 19.04 and onward, lib is symlinked to usr/bin. I repacked it(only with /usr/bin/ inside, but this is just for my temp usage) for working around this charactistic(which gets to this issue) for newer version ubuntus -- using the libpng12-0_1.2.54-1ubuntu1_arm64.deb for olders.

Might be good if similar variants released to newer ones in the future.

johnnyhuang (jhuang88) said : #4

Typo above form my message: usr/bin --> usr/lib.

It can be closed for getting a workaround already.

Thanks for the answers.

Manfred Hampl (m-hampl) said : #5

The last version of that package was for yakkety (not supported any more) and had additional fixes for a number of CVEs.
If you package that software for you own usage, then you better use the newest version with bug fixes.
Source can be found on