The officially official Devuan Forum!

You are not logged in.

#1 2018-07-14 19:25:41

bbatten
Member
Registered: 2017-07-02
Posts: 29  

libpng12-0 Multiarch

Do you plan to keep multiarch support?

I find that the only version of libpng12-0 available on Devuan is libpng12-0:amd64. Unfortunately a development tool I'm using (Silicon Solution) needs the i386 version.

I was able to download libpng12-0:i386 from Debian Jessie and it installed without error. Any chance of adding that to Devuan's repositories?

Thanks,

Offline

#2 2018-07-14 21:31:32

fsmithred
Administrator
Registered: 2016-11-25
Posts: 877  

Re: libpng12-0 Multiarch

It's already in jessie. I see it in my i386 system and can download the package. In my amd64 system with multiarch, I can only download the amd64 version. Or maybe I don't know the right command to get it there.

apt-cache policy libpng12-0
libpng12-0:
  Installed: 1.2.50-2+deb8u2
  Candidate: 1.2.50-2+deb8u3
  Version table:
     1.2.50-2+deb8u3 0
        500 http://us.mirror.devuan.org/merged/ jessie/main i386 Packages
        500 http://pkgmaster.devuan.org/merged/ jessie/main i386 Packages
 *** 1.2.50-2+deb8u2 0
        500 http://auto.mirror.devuan.org/merged/ jessie-security/main i386 Packages
        500 http://pkgmaster.devuan.org/merged/ jessie-security/main i386 Packages
        100 /var/lib/dpkg/status

If you're running ascii, you'd use libpng16-16.

Offline

#3 2018-07-14 22:11:26

fsmithred
Administrator
Registered: 2016-11-25
Posts: 877  

Re: libpng12-0 Multiarch

Update:  I now know how to get the i386 package on my amd64 system.

Check to see if multiarch is enabled. I already had the multiarch package installed, but this gave me no output the first time..

dpkg --print-foreign-architectures   # 

Enable multiarch:

dpkg --add-architecture i386
apt-get update
$ dpkg --print-foreign-architectures
i386

Get the package:

apt-get download libpng12-0:i386

gives me libpng12-0_1.2.50-2+deb8u3_i386.deb

Offline

#4 2018-07-15 17:05:13

bbatten
Member
Registered: 2017-07-02
Posts: 29  

Re: libpng12-0 Multiarch

Thanks for the reply. I've discovered that I also have both the i386 and the amd64 versions of libpng16-16 installed - seems to be an mtpaint dependency and a non-conflicting variant of libpng-12-0.

I have multiarch support:

bash(root)# dpkg --print-foreign-architectures;dpkg --print-architecture
i386
amd64
bash(root)# 

sources.list:

stripws /etc/apt/sources.list
deb [arch=amd64,i386] http://deb.devuan.org/merged ascii          main contrib non-free
deb [arch=amd64,i386] http://deb.devuan.org/merged ascii-updates  main contrib non-free
deb [arch=amd64,i386] http://deb.devuan.org/merged ascii-security main contrib non-free
deb [arch=amd64,i386] http://deb.devuan.org/merged ascii-backports main contrib non-free
bash(root)#

but:

bash(root)# apt-get download libpng12-0:i386
E: Can't find a source to download version '1.2.50-2+deb8u3' of 'libpng12-0:i386'
bash(root)#

Interestingly, I get the same result if I try to just "download libpng12-0", but saying "apt-get install libpng12-0" tells me that it is already at the latest version(?).

bash(root)# apt-get download libpng12-0
E: Can't find a source to download version '1.2.50-2+deb8u3' of 'libpng12-0:amd64'
bash(root)# apt-get install libpng12-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libpng12-0 is already the newest version (1.2.50-2+deb8u3).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
bash(root)#

Well, color me confused.

Offline

Board footer