How to install zlib1g-dev:armhfApt-get failed to fetch from Ubuntu server with error code 404Issues opening everythingCan't install linux headersWhy is medibuntu.org still offered as a package source if it has been shutdown since 2010?Why my kernel is not the latest for 14.04?Unmet dependencies error

How could a volcanic island last for 100 million years?

How to duplicate all folders into same directory?

Dodging a Deathbeam travelling at speed of light

Why the real and imaginary parts of a complex analytic function are not independent?

What is Trump's position on the whistle blower allegations? What does he mean by "witch hunt"?

Did the disagreement between the Catholic Church and Protestant Church on the issue of salvation by grace alone end 1999?

Feasibility of keeping an Electrical Bike in poor (wet) storage conditions

What are valid bugs

What could cause the Boeing "Pickle Fork" issues?

How to deal with a 6 year old who was "caught" cheating?

Select sets from a list which are in ascending order

Will being an emotionally numb 14 year-old prevent me from eventually being a pilot?

Complete the Pointer Set

Can I say: “The train departs at 16 past every hour“?

A new combinatorial property for the character table of a finite group?

The correct capital G and J in cursive

After upgrading Xcode 11.2 from Xcode 11.1, app crashes due to _UITextLayoutView

How to wire for AC mains voltage relay, when printer board is connected to AC-charging laptop computer?

How did Beit Shammai and Beit Hillel arrive at the conclusion that it would have been preferable had man not been created?

How can infinite information be theoretically encoded or stored in a single qubit?

Did Catherine the Great really call for the abolition of serfdom?

Can a sauce with dairy be jarred?

30 fake coins out of 99 coins v2

How to make sure change_tracking statistics stays updated



How to install zlib1g-dev:armhf


Apt-get failed to fetch from Ubuntu server with error code 404Issues opening everythingCan't install linux headersWhy is medibuntu.org still offered as a package source if it has been shutdown since 2010?Why my kernel is not the latest for 14.04?Unmet dependencies error






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1

















I need to install e.g. zlib1g-dev for cross-development.



$ sudo apt install zlib1g-dev:armhf
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
zlib1g-dev:armhf : Depends: zlib1g:armhf (= 1:1.2.11.dfsg-0ubuntu2) but it is not going to be installed
Depends: libc6-dev:armhf but it is not going to be installed or
libc-dev:armhf
E: Unable to correct problems, you have held broken packages.



I enabled armhf for dpkg and added http://ports.ubuntu.com/ubuntu-ports to sources.list.



$ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://ports.ubuntu.com/ubuntu-ports bionic/restricted armhf Packages
release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=armhf
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports bionic/main armhf Packages
release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=armhf
origin ports.ubuntu.com
500 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages
release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=multiverse,b=amd64
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages
release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=universe,b=i386
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=universe,b=amd64
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages
release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=restricted,b=i386
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages
release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=restricted,b=amd64
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages
release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=main,b=i386
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=main,b=amd64
origin security.ubuntu.com
500 http://archive.canonical.com/ubuntu bionic/partner armhf Packages
release v=18.04,o=Canonical,a=bionic,n=bionic,l=Partner archive,c=partner,b=armhf
origin archive.canonical.com
500 http://archive.canonical.com/ubuntu bionic/partner i386 Packages
release v=18.04,o=Canonical,a=bionic,n=bionic,l=Partner archive,c=partner,b=i386
origin archive.canonical.com
500 http://archive.canonical.com/ubuntu bionic/partner amd64 Packages
release v=18.04,o=Canonical,a=bionic,n=bionic,l=Partner archive,c=partner,b=amd64
origin archive.canonical.com
100 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages
release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=universe,b=i386
origin de.archive.ubuntu.com
100 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages
release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=universe,b=amd64
origin de.archive.ubuntu.com
100 http://de.archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages
release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=main,b=i386
origin de.archive.ubuntu.com
100 http://de.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages
release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=main,b=amd64
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages
release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=multiverse,b=i386
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages
release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=multiverse,b=amd64
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages
release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=universe,b=i386
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=universe,b=amd64
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages
release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=restricted,b=i386
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages
release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=restricted,b=amd64
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=main,b=i386
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=main,b=amd64
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages
release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=multiverse,b=i386
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages
release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=multiverse,b=amd64
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=universe,b=i386
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=universe,b=amd64
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic/restricted i386 Packages
release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=i386
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages
release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=amd64
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic/main i386 Packages
release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=i386
origin de.archive.ubuntu.com
500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=amd64
origin de.archive.ubuntu.com
Pinned packages:


$ apt-cache show 'zlib1g.*:armhf'
Package: zlib1g
Architecture: armhf
Version: 1:1.2.11.dfsg-0ubuntu2
Multi-Arch: same
Priority: required
Section: libs
Source: zlib
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Mark Brown <broonie@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 156
Provides: libz1
Depends: libc6 (>= 2.4)
Conflicts: zlib1 (<= 1:1.0.4-7)
Breaks: libxml2 (<< 2.7.6.dfsg-2), texlive-binaries (<< 2009-12)
Filename: pool/main/z/zlib/zlib1g_1.2.11.dfsg-0ubuntu2_armhf.deb
Size: 49596
MD5sum: 4df60b34250eeb828389d21b548c0124
SHA1: 93cc6a6b5d031b2e6e55865ecf4e8f1cacfdae0b
SHA256: a9272baf0cd13d8347312722ad123b33dd571528f4657e8002aba3f6ec1a4a11
Homepage: http://zlib.net/
Description-en: compression library - runtime
zlib is a library implementing the deflate compression method found
in gzip and PKZIP. This package includes the shared library.
Description-md5: 567f396aeeb2b2b63295099aed237057
Task: minimal
Supported: 5y

Package: zlib1g-dev
Architecture: armhf
Version: 1:1.2.11.dfsg-0ubuntu2
Multi-Arch: same
Priority: optional
Section: libdevel
Source: zlib
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Mark Brown <broonie@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 412
Provides: libz-dev
Depends: zlib1g (= 1:1.2.11.dfsg-0ubuntu2), libc6-dev | libc-dev
Conflicts: zlib1-dev
Filename: pool/main/z/zlib/zlib1g-dev_1.2.11.dfsg-0ubuntu2_armhf.deb
Size: 168242
MD5sum: 4e1244dadec2f153b931442cbb78020e
SHA1: 9263a0c35f4d3fab833206ac8cc765ca5cc7fbd2
SHA256: 6314f78c76ba91de26af41e9352919346b7769955e2091e4c77864c7aa87c0cc
Homepage: http://zlib.net/
Description-en: compression library - development
zlib is a library implementing the deflate compression method found
in gzip and PKZIP. This package includes the development support
files.
Description-md5: d7f4e8a626131fc83c643c5d59096290
Task: lubuntu-gtk-desktop, lubuntu-desktop, lubuntu-qt-desktop
Supported: 5y

Package: zlib1g-dbg
Architecture: armhf
Version: 1:1.2.11.dfsg-0ubuntu2
Priority: extra
Section: libdevel
Source: zlib
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Mark Brown <broonie@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 140
Provides: libz-dbg
Depends: zlib1g (= 1:1.2.11.dfsg-0ubuntu2)
Filename: pool/main/z/zlib/zlib1g-dbg_1.2.11.dfsg-0ubuntu2_armhf.deb
Size: 85340
MD5sum: b9f6ab60990204dfdc8729075c824940
SHA1: 6a8f9577b3917d265664c5ceed3c90ad1fd6cfcd
SHA256: ba769ebaaf5c5e969b227e016eaf75c1b02971f54ed5f373e0ff6e74ffd5f2a6
Homepage: http://zlib.net/
Description-en: compression library - development
zlib is a library implementing the deflate compression method found
in gzip and PKZIP. This package includes debugging symbols for use
when debugging applications which use zlib.
Description-md5: dddc7d60663fa5dc77c76a30127d83db
Build-Ids: 581226ec1b03d29bf71c985908457c46a5d2d647
Supported: 5y


If I interpret apt-cache correctly, there should be no problem!?
Not really sure how to get zlib1g-dev for armhf installed. Any pointers?



EDIT:




I traced the dependencies and it seems like the problem might be ligcc1.



$ sudo apt install libgcc1:armhf 
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libgcc1 : Breaks: libgcc1:armhf (!= 1:8.3.0-6ubuntu1~18.04.1) but 1:8-20180414-1ubuntu2 is to be installed
libgcc1:armhf : Depends: gcc-8-base:armhf (= 8-20180414-1ubuntu2) but it is not going to be installed
Breaks: libgcc1 (!= 1:8-20180414-1ubuntu2) but 1:8.3.0-6ubuntu1~18.04.1 is to be installed


It seems to me like whatever the bionic-update was has broken libgcc1 for multiarch?










share|improve this question


































    1

















    I need to install e.g. zlib1g-dev for cross-development.



    $ sudo apt install zlib1g-dev:armhf
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    zlib1g-dev:armhf : Depends: zlib1g:armhf (= 1:1.2.11.dfsg-0ubuntu2) but it is not going to be installed
    Depends: libc6-dev:armhf but it is not going to be installed or
    libc-dev:armhf
    E: Unable to correct problems, you have held broken packages.



    I enabled armhf for dpkg and added http://ports.ubuntu.com/ubuntu-ports to sources.list.



    $ apt-cache policy
    Package files:
    100 /var/lib/dpkg/status
    release a=now
    500 http://ports.ubuntu.com/ubuntu-ports bionic/restricted armhf Packages
    release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=armhf
    origin ports.ubuntu.com
    500 http://ports.ubuntu.com/ubuntu-ports bionic/main armhf Packages
    release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=armhf
    origin ports.ubuntu.com
    500 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=multiverse,b=amd64
    origin security.ubuntu.com
    500 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages
    release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=universe,b=i386
    origin security.ubuntu.com
    500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=universe,b=amd64
    origin security.ubuntu.com
    500 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages
    release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=restricted,b=i386
    origin security.ubuntu.com
    500 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=restricted,b=amd64
    origin security.ubuntu.com
    500 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages
    release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=main,b=i386
    origin security.ubuntu.com
    500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=main,b=amd64
    origin security.ubuntu.com
    500 http://archive.canonical.com/ubuntu bionic/partner armhf Packages
    release v=18.04,o=Canonical,a=bionic,n=bionic,l=Partner archive,c=partner,b=armhf
    origin archive.canonical.com
    500 http://archive.canonical.com/ubuntu bionic/partner i386 Packages
    release v=18.04,o=Canonical,a=bionic,n=bionic,l=Partner archive,c=partner,b=i386
    origin archive.canonical.com
    500 http://archive.canonical.com/ubuntu bionic/partner amd64 Packages
    release v=18.04,o=Canonical,a=bionic,n=bionic,l=Partner archive,c=partner,b=amd64
    origin archive.canonical.com
    100 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages
    release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=universe,b=i386
    origin de.archive.ubuntu.com
    100 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=universe,b=amd64
    origin de.archive.ubuntu.com
    100 http://de.archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages
    release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=main,b=i386
    origin de.archive.ubuntu.com
    100 http://de.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=main,b=amd64
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages
    release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=multiverse,b=i386
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=multiverse,b=amd64
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages
    release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=universe,b=i386
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=universe,b=amd64
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages
    release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=restricted,b=i386
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=restricted,b=amd64
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
    release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=main,b=i386
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=main,b=amd64
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages
    release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=multiverse,b=i386
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=multiverse,b=amd64
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
    release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=universe,b=i386
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=universe,b=amd64
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic/restricted i386 Packages
    release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=i386
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=amd64
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic/main i386 Packages
    release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=i386
    origin de.archive.ubuntu.com
    500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
    release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=amd64
    origin de.archive.ubuntu.com
    Pinned packages:


    $ apt-cache show 'zlib1g.*:armhf'
    Package: zlib1g
    Architecture: armhf
    Version: 1:1.2.11.dfsg-0ubuntu2
    Multi-Arch: same
    Priority: required
    Section: libs
    Source: zlib
    Origin: Ubuntu
    Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
    Original-Maintainer: Mark Brown <broonie@debian.org>
    Bugs: https://bugs.launchpad.net/ubuntu/+filebug
    Installed-Size: 156
    Provides: libz1
    Depends: libc6 (>= 2.4)
    Conflicts: zlib1 (<= 1:1.0.4-7)
    Breaks: libxml2 (<< 2.7.6.dfsg-2), texlive-binaries (<< 2009-12)
    Filename: pool/main/z/zlib/zlib1g_1.2.11.dfsg-0ubuntu2_armhf.deb
    Size: 49596
    MD5sum: 4df60b34250eeb828389d21b548c0124
    SHA1: 93cc6a6b5d031b2e6e55865ecf4e8f1cacfdae0b
    SHA256: a9272baf0cd13d8347312722ad123b33dd571528f4657e8002aba3f6ec1a4a11
    Homepage: http://zlib.net/
    Description-en: compression library - runtime
    zlib is a library implementing the deflate compression method found
    in gzip and PKZIP. This package includes the shared library.
    Description-md5: 567f396aeeb2b2b63295099aed237057
    Task: minimal
    Supported: 5y

    Package: zlib1g-dev
    Architecture: armhf
    Version: 1:1.2.11.dfsg-0ubuntu2
    Multi-Arch: same
    Priority: optional
    Section: libdevel
    Source: zlib
    Origin: Ubuntu
    Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
    Original-Maintainer: Mark Brown <broonie@debian.org>
    Bugs: https://bugs.launchpad.net/ubuntu/+filebug
    Installed-Size: 412
    Provides: libz-dev
    Depends: zlib1g (= 1:1.2.11.dfsg-0ubuntu2), libc6-dev | libc-dev
    Conflicts: zlib1-dev
    Filename: pool/main/z/zlib/zlib1g-dev_1.2.11.dfsg-0ubuntu2_armhf.deb
    Size: 168242
    MD5sum: 4e1244dadec2f153b931442cbb78020e
    SHA1: 9263a0c35f4d3fab833206ac8cc765ca5cc7fbd2
    SHA256: 6314f78c76ba91de26af41e9352919346b7769955e2091e4c77864c7aa87c0cc
    Homepage: http://zlib.net/
    Description-en: compression library - development
    zlib is a library implementing the deflate compression method found
    in gzip and PKZIP. This package includes the development support
    files.
    Description-md5: d7f4e8a626131fc83c643c5d59096290
    Task: lubuntu-gtk-desktop, lubuntu-desktop, lubuntu-qt-desktop
    Supported: 5y

    Package: zlib1g-dbg
    Architecture: armhf
    Version: 1:1.2.11.dfsg-0ubuntu2
    Priority: extra
    Section: libdevel
    Source: zlib
    Origin: Ubuntu
    Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
    Original-Maintainer: Mark Brown <broonie@debian.org>
    Bugs: https://bugs.launchpad.net/ubuntu/+filebug
    Installed-Size: 140
    Provides: libz-dbg
    Depends: zlib1g (= 1:1.2.11.dfsg-0ubuntu2)
    Filename: pool/main/z/zlib/zlib1g-dbg_1.2.11.dfsg-0ubuntu2_armhf.deb
    Size: 85340
    MD5sum: b9f6ab60990204dfdc8729075c824940
    SHA1: 6a8f9577b3917d265664c5ceed3c90ad1fd6cfcd
    SHA256: ba769ebaaf5c5e969b227e016eaf75c1b02971f54ed5f373e0ff6e74ffd5f2a6
    Homepage: http://zlib.net/
    Description-en: compression library - development
    zlib is a library implementing the deflate compression method found
    in gzip and PKZIP. This package includes debugging symbols for use
    when debugging applications which use zlib.
    Description-md5: dddc7d60663fa5dc77c76a30127d83db
    Build-Ids: 581226ec1b03d29bf71c985908457c46a5d2d647
    Supported: 5y


    If I interpret apt-cache correctly, there should be no problem!?
    Not really sure how to get zlib1g-dev for armhf installed. Any pointers?



    EDIT:




    I traced the dependencies and it seems like the problem might be ligcc1.



    $ sudo apt install libgcc1:armhf 
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    libgcc1 : Breaks: libgcc1:armhf (!= 1:8.3.0-6ubuntu1~18.04.1) but 1:8-20180414-1ubuntu2 is to be installed
    libgcc1:armhf : Depends: gcc-8-base:armhf (= 8-20180414-1ubuntu2) but it is not going to be installed
    Breaks: libgcc1 (!= 1:8-20180414-1ubuntu2) but 1:8.3.0-6ubuntu1~18.04.1 is to be installed


    It seems to me like whatever the bionic-update was has broken libgcc1 for multiarch?










    share|improve this question






























      1












      1








      1


      1






      I need to install e.g. zlib1g-dev for cross-development.



      $ sudo apt install zlib1g-dev:armhf
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      zlib1g-dev:armhf : Depends: zlib1g:armhf (= 1:1.2.11.dfsg-0ubuntu2) but it is not going to be installed
      Depends: libc6-dev:armhf but it is not going to be installed or
      libc-dev:armhf
      E: Unable to correct problems, you have held broken packages.



      I enabled armhf for dpkg and added http://ports.ubuntu.com/ubuntu-ports to sources.list.



      $ apt-cache policy
      Package files:
      100 /var/lib/dpkg/status
      release a=now
      500 http://ports.ubuntu.com/ubuntu-ports bionic/restricted armhf Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=armhf
      origin ports.ubuntu.com
      500 http://ports.ubuntu.com/ubuntu-ports bionic/main armhf Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=armhf
      origin ports.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=multiverse,b=amd64
      origin security.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=universe,b=i386
      origin security.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=universe,b=amd64
      origin security.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=restricted,b=i386
      origin security.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=restricted,b=amd64
      origin security.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=main,b=i386
      origin security.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=main,b=amd64
      origin security.ubuntu.com
      500 http://archive.canonical.com/ubuntu bionic/partner armhf Packages
      release v=18.04,o=Canonical,a=bionic,n=bionic,l=Partner archive,c=partner,b=armhf
      origin archive.canonical.com
      500 http://archive.canonical.com/ubuntu bionic/partner i386 Packages
      release v=18.04,o=Canonical,a=bionic,n=bionic,l=Partner archive,c=partner,b=i386
      origin archive.canonical.com
      500 http://archive.canonical.com/ubuntu bionic/partner amd64 Packages
      release v=18.04,o=Canonical,a=bionic,n=bionic,l=Partner archive,c=partner,b=amd64
      origin archive.canonical.com
      100 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=universe,b=i386
      origin de.archive.ubuntu.com
      100 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=universe,b=amd64
      origin de.archive.ubuntu.com
      100 http://de.archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=main,b=i386
      origin de.archive.ubuntu.com
      100 http://de.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=main,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=multiverse,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=multiverse,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=universe,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=universe,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=restricted,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=restricted,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=main,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=main,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=multiverse,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=multiverse,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=universe,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=universe,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/restricted i386 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/main i386 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=amd64
      origin de.archive.ubuntu.com
      Pinned packages:


      $ apt-cache show 'zlib1g.*:armhf'
      Package: zlib1g
      Architecture: armhf
      Version: 1:1.2.11.dfsg-0ubuntu2
      Multi-Arch: same
      Priority: required
      Section: libs
      Source: zlib
      Origin: Ubuntu
      Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
      Original-Maintainer: Mark Brown <broonie@debian.org>
      Bugs: https://bugs.launchpad.net/ubuntu/+filebug
      Installed-Size: 156
      Provides: libz1
      Depends: libc6 (>= 2.4)
      Conflicts: zlib1 (<= 1:1.0.4-7)
      Breaks: libxml2 (<< 2.7.6.dfsg-2), texlive-binaries (<< 2009-12)
      Filename: pool/main/z/zlib/zlib1g_1.2.11.dfsg-0ubuntu2_armhf.deb
      Size: 49596
      MD5sum: 4df60b34250eeb828389d21b548c0124
      SHA1: 93cc6a6b5d031b2e6e55865ecf4e8f1cacfdae0b
      SHA256: a9272baf0cd13d8347312722ad123b33dd571528f4657e8002aba3f6ec1a4a11
      Homepage: http://zlib.net/
      Description-en: compression library - runtime
      zlib is a library implementing the deflate compression method found
      in gzip and PKZIP. This package includes the shared library.
      Description-md5: 567f396aeeb2b2b63295099aed237057
      Task: minimal
      Supported: 5y

      Package: zlib1g-dev
      Architecture: armhf
      Version: 1:1.2.11.dfsg-0ubuntu2
      Multi-Arch: same
      Priority: optional
      Section: libdevel
      Source: zlib
      Origin: Ubuntu
      Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
      Original-Maintainer: Mark Brown <broonie@debian.org>
      Bugs: https://bugs.launchpad.net/ubuntu/+filebug
      Installed-Size: 412
      Provides: libz-dev
      Depends: zlib1g (= 1:1.2.11.dfsg-0ubuntu2), libc6-dev | libc-dev
      Conflicts: zlib1-dev
      Filename: pool/main/z/zlib/zlib1g-dev_1.2.11.dfsg-0ubuntu2_armhf.deb
      Size: 168242
      MD5sum: 4e1244dadec2f153b931442cbb78020e
      SHA1: 9263a0c35f4d3fab833206ac8cc765ca5cc7fbd2
      SHA256: 6314f78c76ba91de26af41e9352919346b7769955e2091e4c77864c7aa87c0cc
      Homepage: http://zlib.net/
      Description-en: compression library - development
      zlib is a library implementing the deflate compression method found
      in gzip and PKZIP. This package includes the development support
      files.
      Description-md5: d7f4e8a626131fc83c643c5d59096290
      Task: lubuntu-gtk-desktop, lubuntu-desktop, lubuntu-qt-desktop
      Supported: 5y

      Package: zlib1g-dbg
      Architecture: armhf
      Version: 1:1.2.11.dfsg-0ubuntu2
      Priority: extra
      Section: libdevel
      Source: zlib
      Origin: Ubuntu
      Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
      Original-Maintainer: Mark Brown <broonie@debian.org>
      Bugs: https://bugs.launchpad.net/ubuntu/+filebug
      Installed-Size: 140
      Provides: libz-dbg
      Depends: zlib1g (= 1:1.2.11.dfsg-0ubuntu2)
      Filename: pool/main/z/zlib/zlib1g-dbg_1.2.11.dfsg-0ubuntu2_armhf.deb
      Size: 85340
      MD5sum: b9f6ab60990204dfdc8729075c824940
      SHA1: 6a8f9577b3917d265664c5ceed3c90ad1fd6cfcd
      SHA256: ba769ebaaf5c5e969b227e016eaf75c1b02971f54ed5f373e0ff6e74ffd5f2a6
      Homepage: http://zlib.net/
      Description-en: compression library - development
      zlib is a library implementing the deflate compression method found
      in gzip and PKZIP. This package includes debugging symbols for use
      when debugging applications which use zlib.
      Description-md5: dddc7d60663fa5dc77c76a30127d83db
      Build-Ids: 581226ec1b03d29bf71c985908457c46a5d2d647
      Supported: 5y


      If I interpret apt-cache correctly, there should be no problem!?
      Not really sure how to get zlib1g-dev for armhf installed. Any pointers?



      EDIT:




      I traced the dependencies and it seems like the problem might be ligcc1.



      $ sudo apt install libgcc1:armhf 
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      libgcc1 : Breaks: libgcc1:armhf (!= 1:8.3.0-6ubuntu1~18.04.1) but 1:8-20180414-1ubuntu2 is to be installed
      libgcc1:armhf : Depends: gcc-8-base:armhf (= 8-20180414-1ubuntu2) but it is not going to be installed
      Breaks: libgcc1 (!= 1:8-20180414-1ubuntu2) but 1:8.3.0-6ubuntu1~18.04.1 is to be installed


      It seems to me like whatever the bionic-update was has broken libgcc1 for multiarch?










      share|improve this question

















      I need to install e.g. zlib1g-dev for cross-development.



      $ sudo apt install zlib1g-dev:armhf
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      zlib1g-dev:armhf : Depends: zlib1g:armhf (= 1:1.2.11.dfsg-0ubuntu2) but it is not going to be installed
      Depends: libc6-dev:armhf but it is not going to be installed or
      libc-dev:armhf
      E: Unable to correct problems, you have held broken packages.



      I enabled armhf for dpkg and added http://ports.ubuntu.com/ubuntu-ports to sources.list.



      $ apt-cache policy
      Package files:
      100 /var/lib/dpkg/status
      release a=now
      500 http://ports.ubuntu.com/ubuntu-ports bionic/restricted armhf Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=armhf
      origin ports.ubuntu.com
      500 http://ports.ubuntu.com/ubuntu-ports bionic/main armhf Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=armhf
      origin ports.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=multiverse,b=amd64
      origin security.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=universe,b=i386
      origin security.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=universe,b=amd64
      origin security.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/restricted i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=restricted,b=i386
      origin security.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=restricted,b=amd64
      origin security.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=main,b=i386
      origin security.ubuntu.com
      500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=main,b=amd64
      origin security.ubuntu.com
      500 http://archive.canonical.com/ubuntu bionic/partner armhf Packages
      release v=18.04,o=Canonical,a=bionic,n=bionic,l=Partner archive,c=partner,b=armhf
      origin archive.canonical.com
      500 http://archive.canonical.com/ubuntu bionic/partner i386 Packages
      release v=18.04,o=Canonical,a=bionic,n=bionic,l=Partner archive,c=partner,b=i386
      origin archive.canonical.com
      500 http://archive.canonical.com/ubuntu bionic/partner amd64 Packages
      release v=18.04,o=Canonical,a=bionic,n=bionic,l=Partner archive,c=partner,b=amd64
      origin archive.canonical.com
      100 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=universe,b=i386
      origin de.archive.ubuntu.com
      100 http://de.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=universe,b=amd64
      origin de.archive.ubuntu.com
      100 http://de.archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=main,b=i386
      origin de.archive.ubuntu.com
      100 http://de.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=main,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=multiverse,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=multiverse,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=universe,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=universe,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=restricted,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=restricted,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=main,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=main,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=multiverse,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=multiverse,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=universe,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=universe,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/restricted i386 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=amd64
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/main i386 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=i386
      origin de.archive.ubuntu.com
      500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
      release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=amd64
      origin de.archive.ubuntu.com
      Pinned packages:


      $ apt-cache show 'zlib1g.*:armhf'
      Package: zlib1g
      Architecture: armhf
      Version: 1:1.2.11.dfsg-0ubuntu2
      Multi-Arch: same
      Priority: required
      Section: libs
      Source: zlib
      Origin: Ubuntu
      Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
      Original-Maintainer: Mark Brown <broonie@debian.org>
      Bugs: https://bugs.launchpad.net/ubuntu/+filebug
      Installed-Size: 156
      Provides: libz1
      Depends: libc6 (>= 2.4)
      Conflicts: zlib1 (<= 1:1.0.4-7)
      Breaks: libxml2 (<< 2.7.6.dfsg-2), texlive-binaries (<< 2009-12)
      Filename: pool/main/z/zlib/zlib1g_1.2.11.dfsg-0ubuntu2_armhf.deb
      Size: 49596
      MD5sum: 4df60b34250eeb828389d21b548c0124
      SHA1: 93cc6a6b5d031b2e6e55865ecf4e8f1cacfdae0b
      SHA256: a9272baf0cd13d8347312722ad123b33dd571528f4657e8002aba3f6ec1a4a11
      Homepage: http://zlib.net/
      Description-en: compression library - runtime
      zlib is a library implementing the deflate compression method found
      in gzip and PKZIP. This package includes the shared library.
      Description-md5: 567f396aeeb2b2b63295099aed237057
      Task: minimal
      Supported: 5y

      Package: zlib1g-dev
      Architecture: armhf
      Version: 1:1.2.11.dfsg-0ubuntu2
      Multi-Arch: same
      Priority: optional
      Section: libdevel
      Source: zlib
      Origin: Ubuntu
      Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
      Original-Maintainer: Mark Brown <broonie@debian.org>
      Bugs: https://bugs.launchpad.net/ubuntu/+filebug
      Installed-Size: 412
      Provides: libz-dev
      Depends: zlib1g (= 1:1.2.11.dfsg-0ubuntu2), libc6-dev | libc-dev
      Conflicts: zlib1-dev
      Filename: pool/main/z/zlib/zlib1g-dev_1.2.11.dfsg-0ubuntu2_armhf.deb
      Size: 168242
      MD5sum: 4e1244dadec2f153b931442cbb78020e
      SHA1: 9263a0c35f4d3fab833206ac8cc765ca5cc7fbd2
      SHA256: 6314f78c76ba91de26af41e9352919346b7769955e2091e4c77864c7aa87c0cc
      Homepage: http://zlib.net/
      Description-en: compression library - development
      zlib is a library implementing the deflate compression method found
      in gzip and PKZIP. This package includes the development support
      files.
      Description-md5: d7f4e8a626131fc83c643c5d59096290
      Task: lubuntu-gtk-desktop, lubuntu-desktop, lubuntu-qt-desktop
      Supported: 5y

      Package: zlib1g-dbg
      Architecture: armhf
      Version: 1:1.2.11.dfsg-0ubuntu2
      Priority: extra
      Section: libdevel
      Source: zlib
      Origin: Ubuntu
      Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
      Original-Maintainer: Mark Brown <broonie@debian.org>
      Bugs: https://bugs.launchpad.net/ubuntu/+filebug
      Installed-Size: 140
      Provides: libz-dbg
      Depends: zlib1g (= 1:1.2.11.dfsg-0ubuntu2)
      Filename: pool/main/z/zlib/zlib1g-dbg_1.2.11.dfsg-0ubuntu2_armhf.deb
      Size: 85340
      MD5sum: b9f6ab60990204dfdc8729075c824940
      SHA1: 6a8f9577b3917d265664c5ceed3c90ad1fd6cfcd
      SHA256: ba769ebaaf5c5e969b227e016eaf75c1b02971f54ed5f373e0ff6e74ffd5f2a6
      Homepage: http://zlib.net/
      Description-en: compression library - development
      zlib is a library implementing the deflate compression method found
      in gzip and PKZIP. This package includes debugging symbols for use
      when debugging applications which use zlib.
      Description-md5: dddc7d60663fa5dc77c76a30127d83db
      Build-Ids: 581226ec1b03d29bf71c985908457c46a5d2d647
      Supported: 5y


      If I interpret apt-cache correctly, there should be no problem!?
      Not really sure how to get zlib1g-dev for armhf installed. Any pointers?



      EDIT:




      I traced the dependencies and it seems like the problem might be ligcc1.



      $ sudo apt install libgcc1:armhf 
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      libgcc1 : Breaks: libgcc1:armhf (!= 1:8.3.0-6ubuntu1~18.04.1) but 1:8-20180414-1ubuntu2 is to be installed
      libgcc1:armhf : Depends: gcc-8-base:armhf (= 8-20180414-1ubuntu2) but it is not going to be installed
      Breaks: libgcc1 (!= 1:8-20180414-1ubuntu2) but 1:8.3.0-6ubuntu1~18.04.1 is to be installed


      It seems to me like whatever the bionic-update was has broken libgcc1 for multiarch?







      apt 18.04 package-management software-installation dpkg






      share|improve this question
















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 7 at 20:39







      abergmeier

















      asked Jul 7 at 17:00









      abergmeierabergmeier

      4786 silver badges20 bronze badges




      4786 silver badges20 bronze badges























          1 Answer
          1






          active

          oldest

          votes


















          0


















          Had to add ppa:canonical-kernel-team/ppa to get the armhf packages in version sync with amd64 (bionic-security).
          Then zlib1g-dev installed fine.






          share|improve this answer





























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );














            draft saved

            draft discarded
















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1156570%2fhow-to-install-zlib1g-devarmhf%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown


























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0


















            Had to add ppa:canonical-kernel-team/ppa to get the armhf packages in version sync with amd64 (bionic-security).
            Then zlib1g-dev installed fine.






            share|improve this answer
































              0


















              Had to add ppa:canonical-kernel-team/ppa to get the armhf packages in version sync with amd64 (bionic-security).
              Then zlib1g-dev installed fine.






              share|improve this answer






























                0














                0










                0









                Had to add ppa:canonical-kernel-team/ppa to get the armhf packages in version sync with amd64 (bionic-security).
                Then zlib1g-dev installed fine.






                share|improve this answer
















                Had to add ppa:canonical-kernel-team/ppa to get the armhf packages in version sync with amd64 (bionic-security).
                Then zlib1g-dev installed fine.







                share|improve this answer















                share|improve this answer




                share|improve this answer








                edited Jul 9 at 20:04

























                answered Jul 8 at 16:14









                abergmeierabergmeier

                4786 silver badges20 bronze badges




                4786 silver badges20 bronze badges































                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1156570%2fhow-to-install-zlib1g-devarmhf%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown









                    Popular posts from this blog

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?