[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying to use SP Flash Tool (Mediatek), latest version requires libpng12-0, which is not available

On Tue, Sep 18, 2018 at 06:49:39AM -0400, Carl Fink wrote:
> On 09/17/2018 10:43 PM, kamaraju kusumanchi wrote:
> > There is no package in buster that provides libpng12.so.0 . The
> > libpng12-dev is also not available in testing. It was there in Jessie
> > (oldstable).

>     dpkg: error processing archive libpng12-0_1.2.50-2+deb8u3_amd64.deb (--install):
>     unable to install new version of '/usr/lib/x86_64-linux-gnu/libpng12.so.0': No such file or directory

That directory exists on stretch.  Are you sure you're actually on an
amd64 installation?

You've chosen to test buster for the good of the community, so one should
be able to assume that you have a fair amount of experience in tracking
down and handling glitches, especially in Debian packaging.

Just picking one package at random, which has files in this directory
on my stretch installation:

wooledg:~$ dpkg -L libxi6 | grep x86_64

That package most likely exists in buster as well, so next I surf over
to <http://packages.debian.org/libxi6> and look for a buster link.

This takes me to <https://packages.debian.org/buster/libxi6>.  Then I
follow the [list of files] link for the amd64 architecture

The resulting list of files in the buster package of libxi6 includes:


So, the /usr/lib/x86_64-linux-gnu/ directory must still exist in buster.

Therefore, your report of

>     unable to install new version of '/usr/lib/x86_64-linux-gnu/libpng12.so.0': No such file or directory

points to either you not actually being on an amd64 architecture
installation, or a massive problem on your local machine, or some kind
of major change, which is not known to me, in how dpkg operates between
jessie and buster.

I still think "oops, I'm really on i386 but I grabbed the amd64 package
from jessie" is the most likely of these.

Reply to: