Can't install crossbuild-essential-armhf

Asked by Paul Manners

Hi,

crossbuild-essential-armhf on Saucy is not installable because libc6-dev:armhf does not seem to be available to install. This is exactly the same issue seen in Bug #1252728.

Any ideas on how this can be fixed?

Thanks
Paul

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu build-essential Edit question
Assignee:
No assignee Edit question
Solved by:
Paul Manners
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

What is the output of

uname -a
lsb_release -a
sudo apt-get update
sudo apt-get install crossbuild-essential-armhf

Revision history for this message
Paul Manners (paulmanners) said :
#2

paulm@sandstorm:~/src/chromearm⟫ uname -a
Linux sandstorm.home.org 3.11.0-24-generic #41-Ubuntu SMP Mon Jun 9 20:36:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
paulm@sandstorm:~/src/chromearm⟫ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
paulm@sandstorm:~/src/chromearm⟫ sudo apt-get update
[sudo] password for paulm:
Sorry, try again.
[sudo] password for paulm:
Ign http://security.ubuntu.com saucy-security InRelease
Ign http://dl.google.com stable InRelease
Ign http://ppa.launchpad.net saucy InRelease
Ign http://archive.canonical.com saucy InRelease
Ign http://archive.ubuntu.com saucy InRelease
Ign http://extras.ubuntu.com saucy InRelease
Ign http://linux.dropbox.com saucy InRelease
Get:1 http://extras.ubuntu.com saucy Release.gpg [72 B]
Hit http://archive.canonical.com saucy Release.gpg
Hit http://download.virtualbox.org saucy InRelease
Hit http://linux.dropbox.com saucy Release.gpg
Hit http://dl.google.com stable Release.gpg
Hit http://extras.ubuntu.com saucy Release
Hit http://archive.canonical.com saucy Release
Hit http://linux.dropbox.com saucy Release
Hit http://dl.google.com stable Release
Hit http://extras.ubuntu.com saucy/main amd64 Packages
Hit http://download.virtualbox.org saucy/contrib amd64 Packages
Hit http://archive.canonical.com saucy/partner amd64 Packages
Hit http://linux.dropbox.com saucy/main amd64 Packages
Hit http://extras.ubuntu.com saucy/main i386 Packages
Hit http://dl.google.com stable/main amd64 Packages
Hit http://download.virtualbox.org saucy/non-free amd64 Packages
Hit http://archive.canonical.com saucy/partner i386 Packages
Hit http://linux.dropbox.com saucy/main i386 Packages
Hit http://dl.google.com stable/main i386 Packages
Hit http://download.virtualbox.org saucy/contrib i386 Packages
Hit http://download.virtualbox.org saucy/non-free i386 Packages
Ign http://extras.ubuntu.com saucy/main Translation-en_ZA
Ign http://extras.ubuntu.com saucy/main Translation-en
Ign http://archive.canonical.com saucy/partner Translation-en_ZA
Ign http://linux.dropbox.com saucy/main Translation-en_ZA
Ign http://archive.canonical.com saucy/partner Translation-en
Ign http://linux.dropbox.com saucy/main Translation-en
Ign http://dl.google.com stable/main Translation-en_ZA
Ign http://dl.google.com stable/main Translation-en
Ign http://download.virtualbox.org saucy/contrib Translation-en_ZA
Ign http://download.virtualbox.org saucy/contrib Translation-en
Ign http://download.virtualbox.org saucy/non-free Translation-en_ZA
Ign http://download.virtualbox.org saucy/non-free Translation-en
Hit http://ppa.launchpad.net saucy Release.gpg
Hit http://security.ubuntu.com saucy-security Release.gpg
Ign http://archive.ubuntu.com saucy-updates InRelease
Hit http://ppa.launchpad.net saucy Release
Hit http://security.ubuntu.com saucy-security Release
Hit http://ppa.launchpad.net saucy/main amd64 Packages
Hit http://archive.ubuntu.com saucy Release.gpg
Hit http://security.ubuntu.com saucy-security/main amd64 Packages
Hit http://ppa.launchpad.net saucy/main i386 Packages
Hit http://archive.ubuntu.com saucy-updates Release.gpg
Hit http://security.ubuntu.com saucy-security/restricted amd64 Packages
Hit http://archive.ubuntu.com saucy Release
Hit http://security.ubuntu.com saucy-security/universe amd64 Packages
Hit http://archive.ubuntu.com saucy-updates Release
Hit http://security.ubuntu.com saucy-security/multiverse amd64 Packages
Hit http://security.ubuntu.com saucy-security/main i386 Packages
Hit http://archive.ubuntu.com saucy/main Sources
Hit http://security.ubuntu.com saucy-security/restricted i386 Packages
Hit http://archive.ubuntu.com saucy/restricted Sources
Hit http://security.ubuntu.com saucy-security/universe i386 Packages
Hit http://archive.ubuntu.com saucy/universe Sources
Hit http://security.ubuntu.com saucy-security/multiverse i386 Packages
Ign http://ppa.launchpad.net saucy/main Translation-en_ZA
Hit http://archive.ubuntu.com saucy/multiverse Sources
Ign http://ppa.launchpad.net saucy/main Translation-en
Hit http://security.ubuntu.com saucy-security/main Translation-en
Hit http://archive.ubuntu.com saucy/main amd64 Packages
Hit http://archive.ubuntu.com saucy/restricted amd64 Packages
Hit http://security.ubuntu.com saucy-security/multiverse Translation-en
Hit http://archive.ubuntu.com saucy/universe amd64 Packages
Hit http://security.ubuntu.com saucy-security/restricted Translation-en
Hit http://archive.ubuntu.com saucy/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy/main i386 Packages
Hit http://security.ubuntu.com saucy-security/universe Translation-en
Hit http://archive.ubuntu.com saucy/restricted i386 Packages
Hit http://archive.ubuntu.com saucy/universe i386 Packages
Hit http://archive.ubuntu.com saucy/multiverse i386 Packages
Hit http://archive.ubuntu.com saucy/main Translation-en
Hit http://archive.ubuntu.com saucy/multiverse Translation-en
Hit http://archive.ubuntu.com saucy/restricted Translation-en
Ign http://security.ubuntu.com saucy-security/main Translation-en_ZA
Ign http://security.ubuntu.com saucy-security/multiverse Translation-en_ZA
Ign http://security.ubuntu.com saucy-security/restricted Translation-en_ZA
Hit http://archive.ubuntu.com saucy/universe Translation-en
Ign http://security.ubuntu.com saucy-security/universe Translation-en_ZA
Hit http://archive.ubuntu.com saucy-updates/main Sources
Hit http://archive.ubuntu.com saucy-updates/restricted Sources
Hit http://archive.ubuntu.com saucy-updates/universe Sources
Hit http://archive.ubuntu.com saucy-updates/multiverse Sources
Hit http://archive.ubuntu.com saucy-updates/main amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/universe amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/main i386 Packages
Hit http://archive.ubuntu.com saucy-updates/restricted i386 Packages
Hit http://archive.ubuntu.com saucy-updates/universe i386 Packages
Hit http://archive.ubuntu.com saucy-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com saucy-updates/main Translation-en
Hit http://archive.ubuntu.com saucy-updates/multiverse Translation-en
Hit http://archive.ubuntu.com saucy-updates/restricted Translation-en
Hit http://archive.ubuntu.com saucy-updates/universe Translation-en
Ign http://archive.ubuntu.com saucy/main Translation-en_ZA
Ign http://archive.ubuntu.com saucy/multiverse Translation-en_ZA
Ign http://archive.ubuntu.com saucy/restricted Translation-en_ZA
Ign http://archive.ubuntu.com saucy/universe Translation-en_ZA
Ign http://archive.ubuntu.com saucy-updates/main Translation-en_ZA
Ign http://archive.ubuntu.com saucy-updates/multiverse Translation-en_ZA
Ign http://archive.ubuntu.com saucy-updates/restricted Translation-en_ZA
Ign http://archive.ubuntu.com saucy-updates/universe Translation-en_ZA
Fetched 72 B in 1min 58s (0 B/s)
^Cpaulm@sandstorm:~/src/chromearm⟫ dpkg --add-architecture armhf
dpkg: error: unable to create new file '/var/lib/dpkg/arch-new': Permission denied
paulm@sandstorm:~/src/chromearm⟫ sudo dpkg --add-architecture armhf
paulm@sandstorm:~/src/chromearm⟫ uname -a
Linux sandstorm.home.org 3.11.0-24-generic #41-Ubuntu SMP Mon Jun 9 20:36:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
paulm@sandstorm:~/src/chromearm⟫ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
paulm@sandstorm:~/src/chromearm⟫ sudo apt-get update
Ign http://ppa.launchpad.net saucy InRelease
Hit http://download.virtualbox.org saucy InRelease
Ign http://extras.ubuntu.com saucy InRelease
Ign http://dl.google.com stable InRelease
Ign http://archive.canonical.com saucy InRelease
Ign http://security.ubuntu.com saucy-security InRelease
Ign http://archive.ubuntu.com saucy InRelease
Ign http://linux.dropbox.com saucy InRelease
Ign http://archive.ubuntu.com saucy-updates InRelease
Hit http://archive.canonical.com saucy Release.gpg
Hit http://extras.ubuntu.com saucy Release.gpg
Hit http://ppa.launchpad.net saucy Release.gpg
Hit http://security.ubuntu.com saucy-security Release.gpg
Hit http://dl.google.com stable Release.gpg
Hit http://linux.dropbox.com saucy Release.gpg
Hit http://archive.ubuntu.com saucy Release.gpg
Hit http://archive.canonical.com saucy Release
Hit http://extras.ubuntu.com saucy Release
Hit http://ppa.launchpad.net saucy Release
Hit http://security.ubuntu.com saucy-security Release
Hit http://download.virtualbox.org saucy/contrib amd64 Packages
Hit http://linux.dropbox.com saucy Release
Hit http://dl.google.com stable Release
Hit http://archive.canonical.com saucy/partner amd64 Packages
Hit http://extras.ubuntu.com saucy/main amd64 Packages
Hit http://ppa.launchpad.net saucy/main amd64 Packages
Hit http://archive.ubuntu.com saucy-updates Release.gpg
Hit http://download.virtualbox.org saucy/non-free amd64 Packages
Hit http://security.ubuntu.com saucy-security/main amd64 Packages
Get:1 http://archive.canonical.com saucy/partner armhf Packages [14 B]
Hit http://linux.dropbox.com saucy/main amd64 Packages
Hit http://dl.google.com stable/main amd64 Packages
Get:2 http://ppa.launchpad.net saucy/main armhf Packages [1 538 B]
Hit http://extras.ubuntu.com saucy/main i386 Packages
Hit http://archive.canonical.com saucy/partner i386 Packages
Hit http://security.ubuntu.com saucy-security/restricted amd64 Packages
Hit http://ppa.launchpad.net saucy/main i386 Packages
Hit http://archive.ubuntu.com saucy Release
Hit http://security.ubuntu.com saucy-security/universe amd64 Packages
Hit http://security.ubuntu.com saucy-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy-updates Release
Hit http://archive.ubuntu.com saucy/main Sources
Hit http://archive.ubuntu.com saucy/restricted Sources
Err http://extras.ubuntu.com saucy/main armhf Packages
  404 Not Found
Hit http://security.ubuntu.com saucy-security/main i386 Packages
Hit http://archive.ubuntu.com saucy/universe Sources
Hit http://security.ubuntu.com saucy-security/restricted i386 Packages
Hit http://archive.ubuntu.com saucy/multiverse Sources
Ign http://archive.canonical.com saucy/partner Translation-en_ZA
Ign http://ppa.launchpad.net saucy/main Translation-en_ZA
Hit http://security.ubuntu.com saucy-security/universe i386 Packages
Hit http://archive.ubuntu.com saucy/main amd64 Packages
Ign http://archive.canonical.com saucy/partner Translation-en
Ign http://ppa.launchpad.net saucy/main Translation-en
Hit http://security.ubuntu.com saucy-security/multiverse i386 Packages
Ign http://extras.ubuntu.com saucy/main Translation-en_ZA
Hit http://archive.ubuntu.com saucy/restricted amd64 Packages
Ign http://extras.ubuntu.com saucy/main Translation-en
Hit http://security.ubuntu.com saucy-security/main Translation-en
Hit http://archive.ubuntu.com saucy/universe amd64 Packages
Hit http://archive.ubuntu.com saucy/multiverse amd64 Packages
Hit http://security.ubuntu.com saucy-security/multiverse Translation-en
Hit http://security.ubuntu.com saucy-security/restricted Translation-en
Hit http://security.ubuntu.com saucy-security/universe Translation-en
Hit http://archive.ubuntu.com saucy/main i386 Packages
Hit http://archive.ubuntu.com saucy/restricted i386 Packages
Hit http://archive.ubuntu.com saucy/universe i386 Packages
Hit http://archive.ubuntu.com saucy/multiverse i386 Packages
Err http://security.ubuntu.com saucy-security/main armhf Packages
  404 Not Found
Err http://security.ubuntu.com saucy-security/restricted armhf Packages
  404 Not Found
Hit http://archive.ubuntu.com saucy/main Translation-en
Err http://security.ubuntu.com saucy-security/universe armhf Packages
  404 Not Found
Err http://security.ubuntu.com saucy-security/multiverse armhf Packages
  404 Not Found
Hit http://archive.ubuntu.com saucy/multiverse Translation-en
Hit http://archive.ubuntu.com saucy/restricted Translation-en
Hit http://archive.ubuntu.com saucy/universe Translation-en
Hit http://archive.ubuntu.com saucy-updates/main Sources
Ign http://security.ubuntu.com saucy-security/main Translation-en_ZA
Hit http://archive.ubuntu.com saucy-updates/restricted Sources
Ign http://security.ubuntu.com saucy-security/multiverse Translation-en_ZA
Hit http://archive.ubuntu.com saucy-updates/universe Sources
Ign http://security.ubuntu.com saucy-security/restricted Translation-en_ZA
Ign http://security.ubuntu.com saucy-security/universe Translation-en_ZA
Hit http://archive.ubuntu.com saucy-updates/multiverse Sources
Hit http://archive.ubuntu.com saucy-updates/main amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/universe amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/main i386 Packages
Hit http://archive.ubuntu.com saucy-updates/restricted i386 Packages
Hit http://archive.ubuntu.com saucy-updates/universe i386 Packages
Hit http://archive.ubuntu.com saucy-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com saucy-updates/main Translation-en
Hit http://archive.ubuntu.com saucy-updates/multiverse Translation-en
Hit http://archive.ubuntu.com saucy-updates/restricted Translation-en
Hit http://archive.ubuntu.com saucy-updates/universe Translation-en
Err http://archive.ubuntu.com saucy/main armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy/restricted armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy/universe armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy/multiverse armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy-updates/main armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy-updates/restricted armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy-updates/universe armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy-updates/multiverse armhf Packages
  404 Not Found
Ign http://archive.ubuntu.com saucy/main Translation-en_ZA
Ign http://archive.ubuntu.com saucy/multiverse Translation-en_ZA
Ign http://archive.ubuntu.com saucy/restricted Translation-en_ZA
Ign http://archive.ubuntu.com saucy/universe Translation-en_ZA
Ign http://archive.ubuntu.com saucy-updates/main Translation-en_ZA
Ign http://archive.ubuntu.com saucy-updates/multiverse Translation-en_ZA
Ign http://archive.ubuntu.com saucy-updates/restricted Translation-en_ZA
Ign http://archive.ubuntu.com saucy-updates/universe Translation-en_ZA
Fetched 1 552 B in 1min 2s (24 B/s)
W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/saucy/InRelease Unable to find expected entry 'contrib/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://linux.dropbox.com/ubuntu/dists/saucy/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/saucy/main/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/main/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/restricted/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/universe/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/multiverse/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/main/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/restricted/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/universe/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/multiverse/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy-updates/main/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy-updates/restricted/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy-updates/universe/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy-updates/multiverse/binary-armhf/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
paulm@sandstorm:~/src/chromearm⟫ sudo apt-get install crossbuild-essential-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:
 crossbuild-essential-armhf : Depends: libc6-dev:armhf but it is not installable
E: Unable to correct problems, you have held broken packages.
paulm@sandstorm:~/src/chromearm⟫ dpkg --print-foreign-architectures
i386
armhf
paulm@sandstorm:~/src/chromearm⟫ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ saucy main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ saucy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ saucy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ saucy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ saucy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ saucy universe
deb-src http://archive.ubuntu.com/ubuntu/ saucy universe
deb http://archive.ubuntu.com/ubuntu/ saucy-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ saucy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ saucy multiverse
deb-src http://archive.ubuntu.com/ubuntu/ saucy multiverse
deb http://archive.ubuntu.com/ubuntu/ saucy-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ saucy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
# deb-src http://za.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu saucy-security main restricted
# deb-src http://security.ubuntu.com/ubuntu saucy-security main restricted
deb http://security.ubuntu.com/ubuntu saucy-security universe
# deb-src http://security.ubuntu.com/ubuntu saucy-security universe
deb http://security.ubuntu.com/ubuntu saucy-security multiverse
# deb-src http://security.ubuntu.com/ubuntu saucy-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu saucy partner
# #deb-src http://archive.canonical.com/ubuntu saucy partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu saucy main
# deb-src http://extras.ubuntu.com/ubuntu saucy main
#deb http://linux.dropbox.com/ubuntu saucy main
# deb-src http://linux.dropbox.com/ubuntu saucy main

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Maybe you need a line like

deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports saucy main restricted universe multiverse

in your sources.list

Revision history for this message
Paul Manners (paulmanners) said :
#4

Having added the above repo, I get:

paulm@sandstorm:~⟫ sudo apt-get install crossbuild-essential-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:
 crossbuild-essential-armhf : Depends: libc6-dev:armhf but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

If I do a dpkg --remove-architecture armhf, I get:

paulm@sandstorm:~⟫ sudo apt-get install crossbuild-essential-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:
 crossbuild-essential-armhf : Depends: libc6-dev:armhf but it is not going to be installed
 indicator-network : Depends: unity8 (>= 7.82) but it is not going to be installed
 kde-runtime : Depends: libkdesu5 (>= 4:4.3.4) but it is not going to be installed
               Depends: libkdewebkit5 (>= 4:4.4.0) but it is not going to be installed
               Depends: libkhtml5 (>= 4:4.3.4) but it is not going to be installed
               Depends: libopenexr6 (>= 1.6.1) but it is not going to be installed
               Depends: libplasma3 (>= 4:4.7.0) but it is not going to be installed
               Depends: libqtwebkit4 but it is not going to be installed
               Depends: libssh-4 (>= 0.3.91) but it is not going to be installed
               Depends: phonon but it is not going to be installed
               Depends: kdelibs5-plugins (>= 4:4.11.5) but it is not going to be installed
               Depends: plasma-scriptengine-javascript (= 4:4.11.5-0ubuntu0.1) but it is not going to be installed
               Recommends: virtuoso-minimal but it is not going to be installed
               Recommends: kubuntu-debug-installer but it is not going to be installed
               Recommends: libcanberra-pulse but it is not going to be installed
 ssh-askpass-gnome : Depends: openssh-client or
                              ssh (>= 1:1.2pre7-4) but it is not going to be installed or
                              ssh-krb5 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Not looking good. :(

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

I cannot see it in your output, but I assume you have done a "sudo apt-get update" command after changing sources.list or adding/removing additional architecture before trying to do "sudo apt-get install"?

What is the output of
dpkg -l | grep libc6-dev
apt-cache policy libc6-dev.*
dpkg -l | grep indicator-network
apt-cache policy indicator-network
dpkg -l | grep kde-runtime
apt-cache policy kde-runtime

Revision history for this message
Paul Manners (paulmanners) said :
#6

Yes, that is what I did.

Here is the output:

paulm@sandstorm:~⟫ dpkg -l | grep libc6-dev
ii libc6-dev:amd64 2.17-93ubuntu4 amd64 Embedded GNU C Library: Development Libraries and Header Files
ii libc6-dev-armel-armhf-cross 2.17-0ubuntu5cross1.102 all Dummy package to get libc6-dev:armel installed
ii libc6-dev-armel-cross 2.17-0ubuntu5cross1.102 all Embedded GNU C Library: Development Libraries and Header Files (for cross-compiling)
ii libc6-dev-armhf-cross 2.17-0ubuntu5cross1.102 all Embedded GNU C Library: Development Libraries and Header Files (for cross-compiling)
ii libc6-dev-i386 2.17-93ubuntu4 amd64 Embedded GNU C Library: 32-bit development libraries for AMD64
ii libc6-dev-x32 2.17-93ubuntu4 amd64 Embedded GNU C Library: X32 ABI Development Libraries for AMD64
paulm@sandstorm:~⟫ apt-cache policy libc6-dev.*
libc6-dev-armhf-armel-cross:
  Installed: (none)
  Candidate: 2.17-0ubuntu5cross1.102
  Version table:
     2.17-0ubuntu5cross1.102 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
libc6-dev-ppc64-powerpc-cross:
  Installed: (none)
  Candidate: 2.17-0ubuntu2cross0.9
  Version table:
     2.17-0ubuntu2cross0.9 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
libc6-dev-x32:
  Installed: 2.17-93ubuntu4
  Candidate: 2.17-93ubuntu4
  Version table:
 *** 2.17-93ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
libc6-dev-armhf-cross:
  Installed: 2.17-0ubuntu5cross1.102
  Candidate: 2.17-0ubuntu5cross1.102
  Version table:
 *** 2.17-0ubuntu5cross1.102 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status
libc6-dev-i386:
  Installed: 2.17-93ubuntu4
  Candidate: 2.17-93ubuntu4
  Version table:
 *** 2.17-93ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
libc6-dev-armel-armel-cross:
  Installed: (none)
  Candidate: (none)
  Version table:
libc6-dev-armhf-dcv1:
  Installed: (none)
  Candidate: (none)
  Version table:
libc6-dev-powerpc-dcv1:
  Installed: (none)
  Candidate: (none)
  Version table:
libc6-dev-armel-dcv1:
  Installed: (none)
  Candidate: (none)
  Version table:
libc6-dev-ppc64-powerpc-dcv1:
  Installed: (none)
  Candidate: (none)
  Version table:
libc6-dev-powerpc-cross:
  Installed: (none)
  Candidate: 2.17-0ubuntu2cross0.9
  Version table:
     2.17-0ubuntu2cross0.9 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
libc6-dev-armhf-armhf-cross:
  Installed: (none)
  Candidate: (none)
  Version table:
libc6-dev-armel-cross:
  Installed: 2.17-0ubuntu5cross1.102
  Candidate: 2.17-0ubuntu5cross1.102
  Version table:
 *** 2.17-0ubuntu5cross1.102 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status
libc6-dev-arm64-dcv1:
  Installed: (none)
  Candidate: (none)
  Version table:
libc6-dev-arm64-cross:
  Installed: (none)
  Candidate: 2.17-0ubuntu3cross0.6
  Version table:
     2.17-0ubuntu3cross0.6 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
libc6-dev-armel-armhf-cross:
  Installed: 2.17-0ubuntu5cross1.102
  Candidate: 2.17-0ubuntu5cross1.102
  Version table:
 *** 2.17-0ubuntu5cross1.102 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status
libc6-dev:
  Installed: 2.17-93ubuntu4
  Candidate: 2.17-93ubuntu4
  Version table:
 *** 2.17-93ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
paulm@sandstorm:~⟫ dpkg -l | grep indicator-network
paulm@sandstorm:~⟫ apt-cache policy indicator-network
indicator-network:
  Installed: (none)
  Candidate: 0.5.1+13.10.20131015.2-0ubuntu1
  Version table:
    0.5.1+13.10.20131015.2-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
paulm@sandstorm:~⟫ dpkg -l | grep kde-runtime
ii kde-runtime 4:4.11.5-0ubuntu0.1 amd64 runtime components from the official KDE release
ii kde-runtime-data 4:4.11.5-0ubuntu0.1 all shared data files for the KDE base runtime module
paulm@sandstorm:~⟫ apt-cache policy kde-runtime
kde-runtime:
  Installed: 4:4.11.5-0ubuntu0.1
  Candidate: 4:4.11.5-0ubuntu0.1
  Version table:
 *** 4:4.11.5-0ubuntu0.1 0
        500 http://archive.ubuntu.com/ubuntu/ saucy-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     4:4.11.2-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

What is the output of

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
dpkg dpkg --print-foreign-architectures
sudo dpkg --audit
sudo dpkg --configure -a

Revision history for this message
Paul Manners (paulmanners) said :
#8

paulm@sandstorm:~⟫ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/virtualbox.list

     1 # virtualbox
     2 deb http://download.virtualbox.org/virtualbox/debian saucy contrib non-free

/etc/apt/sources.list.d/google-talkplugin.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/talkplugin/deb/ stable main

/etc/apt/sources.list.d/ubuntu-wine-ppa-saucy.list

     1 deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu saucy main
     2 # deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu saucy main

/etc/apt/sources.list.d/ubuntu-toolchain-r-test-saucy.list

     1 # deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu saucy main
     2 # deb-src http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu saucy main

/etc/apt/sources.list.d/dropbox.list

     1 deb http://linux.dropbox.com/ubuntu saucy main

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ saucy main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://archive.ubuntu.com/ubuntu/ saucy main restricted
     6 deb-src http://archive.ubuntu.com/ubuntu/ saucy main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://archive.ubuntu.com/ubuntu/ saucy-updates main restricted
    11 deb-src http://archive.ubuntu.com/ubuntu/ saucy-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://archive.ubuntu.com/ubuntu/ saucy universe
    17 deb-src http://archive.ubuntu.com/ubuntu/ saucy universe
    18 deb http://archive.ubuntu.com/ubuntu/ saucy-updates universe
    19 deb-src http://archive.ubuntu.com/ubuntu/ saucy-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://archive.ubuntu.com/ubuntu/ saucy multiverse
    27 deb-src http://archive.ubuntu.com/ubuntu/ saucy multiverse
    28 deb http://archive.ubuntu.com/ubuntu/ saucy-updates multiverse
    29 deb-src http://archive.ubuntu.com/ubuntu/ saucy-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36 # deb http://archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
    37 # deb-src http://za.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
    38
    39 deb http://security.ubuntu.com/ubuntu saucy-security main restricted
    40 # deb-src http://security.ubuntu.com/ubuntu saucy-security main restricted
    41 deb http://security.ubuntu.com/ubuntu saucy-security universe
    42 # deb-src http://security.ubuntu.com/ubuntu saucy-security universe
    43 deb http://security.ubuntu.com/ubuntu saucy-security multiverse
    44 # deb-src http://security.ubuntu.com/ubuntu saucy-security multiverse
    45
    46 ## Uncomment the following two lines to add software from Canonical's
    47 ## 'partner' repository.
    48 ## This software is not part of Ubuntu, but is offered by Canonical and the
    49 ## respective vendors as a service to Ubuntu users.
    50 deb http://archive.canonical.com/ubuntu saucy partner
    51 # #deb-src http://archive.canonical.com/ubuntu saucy partner
    52
    53 ## This software is not part of Ubuntu, but is offered by third-party
    54 ## developers who want to ship their latest software.
    55 deb http://extras.ubuntu.com/ubuntu saucy main
    56 # deb-src http://extras.ubuntu.com/ubuntu saucy main
    57 #deb http://linux.dropbox.com/ubuntu saucy main
    58 # deb-src http://linux.dropbox.com/ubuntu saucy main
    59
    60 deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports saucy main restricted universe multiversepaulm@sandstorm:~⟫ dpkg --print-foreign-architectures
i386
armhf
paulm@sandstorm:~⟫ sudo dpkg --audit
paulm@sandstorm:~⟫ sudo dpkg --configure -a

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

The messages about dependency problems with indicator-network, kde-runtime and ssh-askpass-gnome have disappeared again.

Try editing /etc/apt/sources.list again add an empty line at the end
Then issue the commands

sudo apt-get update
sudo apt-get install crossbuild-essential-armhf

and report the outcome.

Revision history for this message
Paul Manners (paulmanners) said :
#10

Added empty line on sources.list.

paulm@sandstorm:~⟫ sudo apt-get update
Ign http://security.ubuntu.com saucy-security InRelease

Ign http://extras.ubuntu.com saucy InRelease

Ign http://archive.ubuntu.com saucy InRelease

Ign http://archive.canonical.com saucy InRelease

Ign http://ports.ubuntu.com saucy InRelease

Ign http://ppa.launchpad.net saucy InRelease

Ign http://dl.google.com stable InRelease

Ign http://linux.dropbox.com saucy InRelease

Hit http://ports.ubuntu.com saucy Release.gpg

Hit http://ppa.launchpad.net saucy Release.gpg

Hit http://download.virtualbox.org saucy InRelease

Hit http://linux.dropbox.com saucy Release.gpg

Hit http://dl.google.com stable Release.gpg

Hit http://ports.ubuntu.com saucy Release

Hit http://ppa.launchpad.net saucy Release

Hit http://download.virtualbox.org saucy/contrib amd64 Packages

Hit http://ppa.launchpad.net saucy/main amd64 Packages

Hit http://ports.ubuntu.com saucy/main armhf Packages

Hit http://linux.dropbox.com saucy Release

Hit http://dl.google.com stable Release

Hit http://download.virtualbox.org saucy/non-free amd64 Packages

Hit http://ports.ubuntu.com saucy/restricted armhf Packages

Hit http://ppa.launchpad.net saucy/main armhf Packages

Hit http://linux.dropbox.com saucy/main amd64 Packages

Hit http://dl.google.com stable/main amd64 Packages

Hit http://ppa.launchpad.net saucy/main i386 Packages

Hit http://ports.ubuntu.com saucy/universe armhf Packages

Hit http://ports.ubuntu.com saucy/multiverse armhf Packages

Hit http://ports.ubuntu.com saucy/main Translation-en

Hit http://ports.ubuntu.com saucy/multiverse Translation-en

Hit http://ports.ubuntu.com saucy/restricted Translation-en

Ign http://ppa.launchpad.net saucy/main Translation-en_ZA

Hit http://ports.ubuntu.com saucy/universe Translation-en

Ign http://ppa.launchpad.net saucy/main Translation-en

Ign http://ports.ubuntu.com saucy/main Translation-en_ZA

Ign http://ports.ubuntu.com saucy/multiverse Translation-en_ZA

Ign http://ports.ubuntu.com saucy/restricted Translation-en_ZA

Ign http://ports.ubuntu.com saucy/universe Translation-en_ZA

Hit http://archive.canonical.com saucy Release.gpg

Hit http://security.ubuntu.com saucy-security Release.gpg

Hit http://extras.ubuntu.com saucy Release.gpg
Ign http://archive.ubuntu.com saucy-updates InRelease
Hit http://archive.canonical.com saucy Release
Hit http://security.ubuntu.com saucy-security Release

Hit http://extras.ubuntu.com saucy Release

Hit http://archive.canonical.com saucy/partner amd64 Packages

Hit http://archive.ubuntu.com saucy Release.gpg
Hit http://extras.ubuntu.com saucy/main amd64 Packages
Hit http://security.ubuntu.com saucy-security/main amd64 Packages
Hit http://archive.canonical.com saucy/partner armhf Packages
Hit http://archive.ubuntu.com saucy-updates Release.gpg
Hit http://security.ubuntu.com saucy-security/restricted amd64 Packages
Hit http://archive.canonical.com saucy/partner i386 Packages

Hit http://extras.ubuntu.com saucy/main i386 Packages

Hit http://security.ubuntu.com saucy-security/universe amd64 Packages

Hit http://archive.ubuntu.com saucy Release
Hit http://security.ubuntu.com saucy-security/multiverse amd64 Packages

Hit http://archive.ubuntu.com saucy-updates Release

Hit http://archive.ubuntu.com saucy/main Sources

Hit http://archive.ubuntu.com saucy/restricted Sources

Hit http://archive.ubuntu.com saucy/universe Sources
Err http://extras.ubuntu.com saucy/main armhf Packages
  404 Not Found
Hit http://archive.ubuntu.com saucy/multiverse Sources
Hit http://archive.ubuntu.com saucy/main amd64 Packages
Hit http://security.ubuntu.com saucy-security/main i386 Packages
Ign http://archive.canonical.com saucy/partner Translation-en_ZA

Hit http://archive.ubuntu.com saucy/restricted amd64 Packages

Hit http://security.ubuntu.com saucy-security/restricted i386 Packages
Ign http://archive.canonical.com saucy/partner Translation-en
Hit http://archive.ubuntu.com saucy/universe amd64 Packages
Hit http://security.ubuntu.com saucy-security/universe i386 Packages
Hit http://archive.ubuntu.com saucy/multiverse amd64 Packages
Ign http://extras.ubuntu.com saucy/main Translation-en_ZA
Hit http://security.ubuntu.com saucy-security/multiverse i386 Packages
Ign http://extras.ubuntu.com saucy/main Translation-en
Hit http://security.ubuntu.com saucy-security/main Translation-en
Hit http://archive.ubuntu.com saucy/main i386 Packages
Hit http://security.ubuntu.com saucy-security/multiverse Translation-en
Hit http://archive.ubuntu.com saucy/restricted i386 Packages
Hit http://archive.ubuntu.com saucy/universe i386 Packages
Hit http://security.ubuntu.com saucy-security/restricted Translation-en
Hit http://archive.ubuntu.com saucy/multiverse i386 Packages
Hit http://archive.ubuntu.com saucy/main Translation-en
Hit http://security.ubuntu.com saucy-security/universe Translation-en
Hit http://archive.ubuntu.com saucy/multiverse Translation-en
Hit http://archive.ubuntu.com saucy/restricted Translation-en
Hit http://archive.ubuntu.com saucy/universe Translation-en
Hit http://archive.ubuntu.com saucy-updates/main Sources
Hit http://archive.ubuntu.com saucy-updates/restricted Sources
Hit http://archive.ubuntu.com saucy-updates/universe Sources
Hit http://archive.ubuntu.com saucy-updates/multiverse Sources
Err http://security.ubuntu.com saucy-security/main armhf Packages
  404 Not Found
Err http://security.ubuntu.com saucy-security/restricted armhf Packages
  404 Not Found
Hit http://archive.ubuntu.com saucy-updates/main amd64 Packages
Err http://security.ubuntu.com saucy-security/universe armhf Packages
  404 Not Found
Hit http://archive.ubuntu.com saucy-updates/restricted amd64 Packages
Err http://security.ubuntu.com saucy-security/multiverse armhf Packages
  404 Not Found
Hit http://archive.ubuntu.com saucy-updates/universe amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy-updates/main i386 Packages
Hit http://archive.ubuntu.com saucy-updates/restricted i386 Packages
Hit http://archive.ubuntu.com saucy-updates/universe i386 Packages
Ign http://security.ubuntu.com saucy-security/main Translation-en_ZA
Hit http://archive.ubuntu.com saucy-updates/multiverse i386 Packages
Ign http://security.ubuntu.com saucy-security/multiverse Translation-en_ZA
Hit http://archive.ubuntu.com saucy-updates/main Translation-en
Ign http://security.ubuntu.com saucy-security/restricted Translation-en_ZA
Ign http://security.ubuntu.com saucy-security/universe Translation-en_ZA
Hit http://archive.ubuntu.com saucy-updates/multiverse Translation-en
Hit http://archive.ubuntu.com saucy-updates/restricted Translation-en
Hit http://archive.ubuntu.com saucy-updates/universe Translation-en
Err http://archive.ubuntu.com saucy/main armhf Packages
  404 Not Found
Ign http://archive.ubuntu.com saucy-updates/universe Translation-en_ZA
W: Failed to fetch
http://download.virtualbox.org/virtualbox/debian/dists/saucy/InRelease
 Unable to find expected entry 'contrib/binary-armhf/Packages' in Release
file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://linux.dropbox.com/ubuntu/dists/saucy/Release
 Unable to find expected entry 'main/binary-armhf/Packages' in Release file
(Wrong sources.list entry or malformed file)

W: Failed to fetch
http://dl.google.com/linux/talkplugin/deb/dists/stable/Release Unable to
find expected entry 'main/binary-armhf/Packages' in Release file (Wrong
sources.list entry or malformed file)

W: Failed to fetch
http://security.ubuntu.com/ubuntu/dists/saucy-security/main/binary-armhf/Packages
 404 Not Found

W: Failed to fetch
http://security.ubuntu.com/ubuntu/dists/saucy-security/restricted/binary-armhf/Packages
 404 Not Found

W: Failed to fetch
http://security.ubuntu.com/ubuntu/dists/saucy-security/universe/binary-armhf/Packages
 404 Not Found

W: Failed to fetch
http://security.ubuntu.com/ubuntu/dists/saucy-security/multiverse/binary-armhf/Packages
 404 Not Found

W: Failed to fetch
http://extras.ubuntu.com/ubuntu/dists/saucy/main/binary-armhf/Packages 404
 Not Found

W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/saucy/main/binary-armhf/Packages
 404 Not Found

W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/saucy/restricted/binary-armhf/Packages
 404 Not Found

W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/saucy/universe/binary-armhf/Packages
 404 Not Found

W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/saucy/multiverse/binary-armhf/Packages
 404 Not Found

W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/saucy-updates/main/binary-armhf/Packages
 404 Not Found

W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/saucy-updates/restricted/binary-armhf/Packages
 404 Not Found

W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/saucy-updates/universe/binary-armhf/Packages
 404 Not Found

W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/saucy-updates/multiverse/binary-armhf/Packages
 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones
used instead.
paulm@sandstorm:~⟫ sudo apt-get install crossbuild-essential-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:
 crossbuild-essential-armhf : Depends: libc6-dev:armhf but it is not going
to be installed
E: Unable to correct problems, you have held broken packages.

On 30 June 2014 14:32, Manfred Hampl <email address hidden>
wrote:

> Your question #250970 on build-essential in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/build-essential/+question/250970
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> The messages about dependency problems with indicator-network, kde-
> runtime and ssh-askpass-gnome have disappeared again.
>
> Try editing /etc/apt/sources.list again add an empty line at the end
> Then issue the commands
>
> sudo apt-get update
> sudo apt-get install crossbuild-essential-armhf
>
> and report the outcome.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https://answers.launchpad.net/ubuntu/+source/build-essential/+question/250970
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

Ok, your output shows "Hit http://ports.ubuntu.com saucy/main armhf Packages" so apparently that source is now used.

The command "sudo apt-get install crossbuild-essential-armhf" failed with a dependency on libc6-dev:armhf

What is now the output of
sudo apt-get install libc6-dev:armhf

Revision history for this message
Paul Manners (paulmanners) said :
#12

paulm@sandstorm:~⟫ sudo apt-get install libc6-dev:armhf
[sudo] password for paulm:
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:
 libc6-dev:armhf : Depends: libc6:armhf (= 2.17-93ubuntu4) but it is not
going to be installed
                   Depends: linux-libc-dev:armhf but it is not going to be
installed
                   Recommends: gcc:armhf but it is not going to be
installed or
                               c-compiler:armhf
E: Unable to correct problems, you have held broken packages.

Revision history for this message
Manfred Hampl (m-hampl) said :
#13

ok, now proceed further to check where the core of the problem is:

sudo apt-get --simulate install --no-recommends libc6:armhf
sudo apt-get --simulate install --no-recommends linux-libc-dev:armhf

Revision history for this message
Paul Manners (paulmanners) said :
#14

Think you meant --no-install-recommends?

paulm@sandstorm:~⟫ sudo apt-get --simulate install --no-install-recommends
libc6: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:
 libc6:armhf : Depends: libgcc1:armhf but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
paulm@sandstorm:~⟫ sudo apt-get --simulate install --no-install-recommends
linux-libc-dev:armhf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  adequate autopkgtest autopoint binutils-mingw-w64-i686 bzr bzr-builddeb
cdbs cowbuilder debian-archive-keyring debian-policy debsums
  developers-reference dh-translations distro-info docbook-to-man
gcc-mingw-w64-base gcc-mingw-w64-i686 gir1.2-gconf-2.0 gir1.2-gtk-2.0
  git-buildpackage gnome-pkg-tools hdf5-helpers icu-tools intltool
libavahi-client-dev libavahi-common-dev libcairo-script-interpreter2
  libdbus-1-dev libfile-fnmatch-perl libgconf2-doc libharfbuzz-dev
libindicate-gtk3 libindicate5 liblcms1-dev libmirclient3 libmirprotobuf0
  libpcrecpp0 libpixman-1-dev libpqxx-3.1 libprotobuf-lite7 libsctp1
libsp1c2 libxcb-render0-dev libxcb-shm0-dev libxcomposite-dev
  libxcursor-dev libxdelta2 libxinerama-dev libxrandr-dev libxrender-dev
lksctp-tools lptools lsb-security mingw-w64-i686-dev mircommon-dev pax
  pbzip2 piuparts piuparts-common pkg-kde-tools pristine-tar
python-chameleon python-dateutil python-debianbts python-distro-info
python-dns
  python-fpconst python-indicate python-reportbug python-scour
python-soappy quilt reportbug sp ubuntu-dev-tools ubuntu-packaging-guide
  x11proto-composite-dev x11proto-randr-dev x11proto-render-dev
x11proto-xinerama-dev xdelta
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  build-essential comerr-dev dh-autoreconf dh-buildinfo g++ g++-4.6 g++-4.8
g++-4.8-multilib g++-mingw-w64-i686 g++-multilib gcc-4.8-multilib
  gcc-multilib gfortran gfortran-4.8 googleearth krb5-multidev
lib32stdc++-4.8-dev lib32z1-dev libatk1.0-dev libbluetooth-dev
  libboost-filesystem-dev libboost-filesystem1.53-dev
libboost-system1.53-dev libboost1.53-dev libbz2-dev libc6-dev libc6-dev-i386
  libc6-dev-x32 libcairo2-dev libcups2-dev libcurl4-gnutls-dev
libdc1394-22-dev libegl1-mesa-dev libexif-dev libexpat1-dev
libfontconfig1-dev
  libfreetype6-dev libftdi-dev libgconf2-dev libgcrypt11-dev
libgdk-pixbuf2.0-dev libgles2-mesa-dev libglib2.0-dev libgnome-keyring-dev
  libjpeg8-dev libkrb5-dev libmhash-dev libmirclient-dev libmirprotobuf-dev
libmng-dev libmysqlclient-dev libpam0g-dev libpango1.0-dev
  libpci-dev libpcre3-dev libpng12-dev libpq-dev libpqxx3-dev
libprotobuf-dev libpulse-dev libpython-dev libpython2.7-dev librtmp-dev
  libsctp-dev libsqlite3-dev libssl-dev libstdc++-4.8-dev
libstdc++6-4.6-dev libstdc++6-4.7-dev libtool libusb-dev
libx32stdc++-4.8-dev
  libxft-dev linux-libc-dev lsb-core packaging-dev python-dev python2.7-dev
xdeb zlib1g-dev
The following NEW packages will be installed:
  linux-libc-dev:armhf
0 upgraded, 1 newly installed, 88 to remove and 0 not upgraded.
Remv xdeb [0.6.6]
Remv packaging-dev [0.7]
Remv build-essential [11.6ubuntu5] [dh-buildinfo:amd64 ]
Remv libpqxx3-dev [3.1-1.1] [dh-buildinfo:amd64 ]
Remv libpq-dev [9.1.13-0ubuntu0.13.10] [dh-buildinfo:amd64 ]
Remv libcurl4-gnutls-dev [7.32.0-1ubuntu1.4] [dh-buildinfo:amd64 ]
Remv libkrb5-dev [1.10.1+dfsg-6.1ubuntu1] [libcups2-dev:amd64
dh-buildinfo:amd64 ]
Remv krb5-multidev [1.10.1+dfsg-6.1ubuntu1] [libcups2-dev:amd64
dh-buildinfo:amd64 ]
Remv comerr-dev [2.1-1.42.8-1ubuntu1] [libcups2-dev:amd64
dh-buildinfo:amd64 ]
Remv dh-autoreconf [9] [libcups2-dev:amd64 dh-buildinfo:amd64 ]
Remv dh-buildinfo [0.9+nmu1ubuntu1] [libcups2-dev:amd64 ]
Remv g++-multilib [4:4.8.1-2ubuntu3] [libcups2-dev:amd64 ]
Remv g++ [4:4.8.1-2ubuntu3] [libcups2-dev:amd64 ]
Remv g++-mingw-w64-i686 [4.6.3-13ubuntu1+8] [libcups2-dev:amd64 ]
Remv libboost-filesystem-dev [1.53.0.0ubuntu2] [libcups2-dev:amd64 ]
Remv libboost-filesystem1.53-dev [1.53.0-6+exp3ubuntu8] [libcups2-dev:amd64
]
Remv libboost-system1.53-dev [1.53.0-6+exp3ubuntu8] [libcups2-dev:amd64 ]
Remv libboost1.53-dev [1.53.0-6+exp3ubuntu8] [libcups2-dev:amd64 ]
Remv g++-4.6 [4.6.4-3ubuntu1] [libcups2-dev:amd64 libstdc++6-4.6-dev:amd64 ]
Remv libstdc++6-4.6-dev [4.6.4-3ubuntu1] [libcups2-dev:amd64 ]
Remv g++-4.8-multilib [4.8.1-10ubuntu9] [libcups2-dev:amd64 ]
Remv g++-4.8 [4.8.1-10ubuntu9] [libcups2-dev:amd64 ]
Remv gcc-multilib [4:4.8.1-2ubuntu3] [libcups2-dev:amd64 ]
Remv gcc-4.8-multilib [4.8.1-10ubuntu9] [libcups2-dev:amd64 ]
Remv gfortran [4:4.8.1-2ubuntu3] [libcups2-dev:amd64 ]
Remv gfortran-4.8 [4.8.1-10ubuntu9] [libcups2-dev:amd64 ]
Remv googleearth [6.0.3.2197+0.7.0-1] [libcups2-dev:amd64 ]
Remv lib32stdc++-4.8-dev [4.8.1-10ubuntu9] [libcups2-dev:amd64 ]
Remv lib32z1-dev [1:1.2.8.dfsg-1ubuntu1] [libcups2-dev:amd64 ]
Remv libgtk2.0-dev [2.24.20-1ubuntu1] [libcups2-dev:amd64 ]
Remv libatk1.0-dev [2.10.0-2] [libcups2-dev:amd64 ]
Remv libbluetooth-dev [4.101-0ubuntu8b1] [libcups2-dev:amd64 ]
Remv libbz2-dev [1.0.6-4] [libcups2-dev:amd64 ]
Remv libx32stdc++-4.8-dev [4.8.1-10ubuntu9] [libcups2-dev:amd64 ]
Remv libstdc++-4.8-dev [4.8.1-10ubuntu9] [libcups2-dev:amd64 ]
Remv libhdf5-dev [1.8.11-3ubuntu1] [libcups2-dev:amd64 ]
Remv libmng-dev [1.0.10-3build1] [libcups2-dev:amd64 ]
Remv libjpeg-dev [8c-2ubuntu8] [libcups2-dev:amd64 ]
Remv libjpeg8-dev [8c-2ubuntu8] [libcups2-dev:amd64 ]
Remv libjpeg-turbo8-dev [1.3.0-0ubuntu1.1] [libcups2-dev:amd64 ]
Remv libcups2-dev [1.7.0~rc1-0ubuntu5.3]
Remv libgnutls-dev [2.12.23-1ubuntu4.3] [librtmp-dev:amd64 ]
Remv libpango1.0-dev [1.32.5-5ubuntu1] [librtmp-dev:amd64 ]
Remv libxft-dev [2.3.1-1] [librtmp-dev:amd64 ]
Remv libfreetype6-dev [2.4.12-0ubuntu1.1] [librtmp-dev:amd64
libcairo2-dev:amd64 libfontconfig1-dev:amd64 ]
Remv libc6-dev [2.17-93ubuntu4] [libmhash-dev:amd64 libpam0g-dev:amd64
libsqlite3-dev:amd64 libc6-dev-x32:amd64 libusb-dev:amd64
libgstreamer0.10-dev:amd64 zlib1g-dev:amd64 libexif-dev:amd64
libsctp-dev:amd64 libdc1394-22-dev:amd64 libc6-dev-i386:amd64
librtmp-dev:amd64 libexpat1-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libcairo2-dev:amd64
libtool:amd64 libgcrypt11-dev:amd64 libfontconfig1-dev:amd64 ]
Remv libc6-dev-x32 [2.17-93ubuntu4] [libmhash-dev:amd64 libpam0g-dev:amd64
libsqlite3-dev:amd64 libusb-dev:amd64 libgstreamer0.10-dev:amd64
zlib1g-dev:amd64 libexif-dev:amd64 libsctp-dev:amd64 libdc1394-22-dev:amd64
libc6-dev-i386:amd64 librtmp-dev:amd64 libexpat1-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libcairo2-dev:amd64
libtool:amd64 libgcrypt11-dev:amd64 libfontconfig1-dev:amd64 ]
Remv libc6-dev-i386 [2.17-93ubuntu4] [libmhash-dev:amd64 libpam0g-dev:amd64
libsqlite3-dev:amd64 libusb-dev:amd64 libgstreamer0.10-dev:amd64
zlib1g-dev:amd64 libexif-dev:amd64 libsctp-dev:amd64 libdc1394-22-dev:amd64
librtmp-dev:amd64 libexpat1-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libcairo2-dev:amd64
libtool:amd64 libgcrypt11-dev:amd64 libfontconfig1-dev:amd64 ]
Remv libcairo2-dev [1.12.16-0ubuntu2] [libmhash-dev:amd64
libpam0g-dev:amd64 libsqlite3-dev:amd64 libusb-dev:amd64
libgstreamer0.10-dev:amd64 zlib1g-dev:amd64 libexif-dev:amd64
libsctp-dev:amd64 libdc1394-22-dev:amd64 librtmp-dev:amd64
libexpat1-dev:amd64 libgstreamer-plugins-base0.10-dev:amd64
libstdc++6-4.7-dev:amd64 libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64
libtool:amd64 libgcrypt11-dev:amd64 libfontconfig1-dev:amd64 ]
Remv libdc1394-22-dev [2.2.1-1ubuntu1] [libmhash-dev:amd64
libpam0g-dev:amd64 libsqlite3-dev:amd64 libusb-dev:amd64
libgstreamer0.10-dev:amd64 zlib1g-dev:amd64 libexif-dev:amd64
libsctp-dev:amd64 librtmp-dev:amd64 libexpat1-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64
libgcrypt11-dev:amd64 libfontconfig1-dev:amd64 ]
Remv libgles2-mesa-dev [9.2.1-1ubuntu3] [libmhash-dev:amd64
libpam0g-dev:amd64 libsqlite3-dev:amd64 libusb-dev:amd64
libgstreamer0.10-dev:amd64 zlib1g-dev:amd64 libexif-dev:amd64
libsctp-dev:amd64 librtmp-dev:amd64 libexpat1-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64
libgcrypt11-dev:amd64 libfontconfig1-dev:amd64 ]
Remv libegl1-mesa-dev [9.2.1-1ubuntu3] [libmhash-dev:amd64
libpam0g-dev:amd64 libsqlite3-dev:amd64 libusb-dev:amd64
libgstreamer0.10-dev:amd64 zlib1g-dev:amd64 libexif-dev:amd64
libsctp-dev:amd64 librtmp-dev:amd64 libexpat1-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64
libgcrypt11-dev:amd64 libfontconfig1-dev:amd64 ]
Remv libexif-dev [0.6.21-1] [libmhash-dev:amd64 libpam0g-dev:amd64
libsqlite3-dev:amd64 libusb-dev:amd64 libgstreamer0.10-dev:amd64
zlib1g-dev:amd64 libsctp-dev:amd64 librtmp-dev:amd64 libexpat1-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64
libgcrypt11-dev:amd64 libfontconfig1-dev:amd64 ]
Remv python-dev [2.7.5-5ubuntu1] [libmhash-dev:amd64 libpam0g-dev:amd64
libsqlite3-dev:amd64 libusb-dev:amd64 libgstreamer0.10-dev:amd64
zlib1g-dev:amd64 libsctp-dev:amd64 librtmp-dev:amd64 libexpat1-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64
libgcrypt11-dev:amd64 libfontconfig1-dev:amd64 ]
Remv python2.7-dev [2.7.5-8ubuntu3.1] [libmhash-dev:amd64
libpam0g-dev:amd64 libsqlite3-dev:amd64 libusb-dev:amd64
libgstreamer0.10-dev:amd64 zlib1g-dev:amd64 libsctp-dev:amd64
librtmp-dev:amd64 libexpat1-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64
libgcrypt11-dev:amd64 libfontconfig1-dev:amd64 ]
Remv libpython-dev [2.7.5-5ubuntu1] [libmhash-dev:amd64 libpam0g-dev:amd64
libsqlite3-dev:amd64 libusb-dev:amd64 libgstreamer0.10-dev:amd64
zlib1g-dev:amd64 libsctp-dev:amd64 librtmp-dev:amd64 libexpat1-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64
libgcrypt11-dev:amd64 libfontconfig1-dev:amd64 ]
Remv libpython2.7-dev [2.7.5-8ubuntu3.1] [libmhash-dev:amd64
libpam0g-dev:amd64 libsqlite3-dev:amd64 libusb-dev:amd64
libgstreamer0.10-dev:amd64 zlib1g-dev:amd64 libsctp-dev:amd64
librtmp-dev:amd64 libexpat1-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64
libgcrypt11-dev:amd64 libfontconfig1-dev:amd64 ]
Remv libexpat1-dev [2.1.0-4] [libmhash-dev:amd64 libpam0g-dev:amd64
libsqlite3-dev:amd64 libusb-dev:amd64 libgstreamer0.10-dev:amd64
zlib1g-dev:amd64 libsctp-dev:amd64 librtmp-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64
libgcrypt11-dev:amd64 libfontconfig1-dev:amd64 ]
Remv libfontconfig1-dev [2.10.93-0ubuntu1] [libmhash-dev:amd64
libpam0g-dev:amd64 libsqlite3-dev:amd64 libusb-dev:amd64
libgstreamer0.10-dev:amd64 zlib1g-dev:amd64 libsctp-dev:amd64
librtmp-dev:amd64 libgstreamer-plugins-base0.10-dev:amd64
libstdc++6-4.7-dev:amd64 libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64
libtool:amd64 libgcrypt11-dev:amd64 ]
Remv libftdi-dev [0.20-1] [libmhash-dev:amd64 libpam0g-dev:amd64
libsqlite3-dev:amd64 libusb-dev:amd64 libgstreamer0.10-dev:amd64
zlib1g-dev:amd64 libsctp-dev:amd64 librtmp-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64
libgcrypt11-dev:amd64 ]
Remv libgconf2-dev [3.2.6-0ubuntu1] [libmhash-dev:amd64 libpam0g-dev:amd64
libsqlite3-dev:amd64 libusb-dev:amd64 libgstreamer0.10-dev:amd64
zlib1g-dev:amd64 libsctp-dev:amd64 librtmp-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64
libgcrypt11-dev:amd64 ]
Remv librtmp-dev [2.4+20121230.gitdf6c518-1] [libmhash-dev:amd64
libpam0g-dev:amd64 libsqlite3-dev:amd64 libusb-dev:amd64
libgstreamer0.10-dev:amd64 zlib1g-dev:amd64 libsctp-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64
libgcrypt11-dev:amd64 ]
Remv libgcrypt11-dev [1.5.0-3ubuntu3] [libmhash-dev:amd64
libpam0g-dev:amd64 libsqlite3-dev:amd64 libusb-dev:amd64
libgstreamer0.10-dev:amd64 zlib1g-dev:amd64 libsctp-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64 ]
Remv libgdk-pixbuf2.0-dev [2.28.1-1ubuntu2] [libmhash-dev:amd64
libpam0g-dev:amd64 libsqlite3-dev:amd64 libusb-dev:amd64
libgstreamer0.10-dev:amd64 zlib1g-dev:amd64 libsctp-dev:amd64
libgstreamer-plugins-base0.10-dev:amd64 libstdc++6-4.7-dev:amd64
libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64 ]
Remv libpulse-dev [1:4.0-0ubuntu6] [libmhash-dev:amd64 libpam0g-dev:amd64
libsqlite3-dev:amd64 libusb-dev:amd64 libgstreamer0.10-dev:amd64
zlib1g-dev:amd64 libsctp-dev:amd64 libgstreamer-plugins-base0.10-dev:amd64
libstdc++6-4.7-dev:amd64 libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64
libtool:amd64 ]
Remv libgstreamer-plugins-base0.10-dev [0.10.36-1.1ubuntu1]
[libmhash-dev:amd64 libpam0g-dev:amd64 libsqlite3-dev:amd64
libusb-dev:amd64 libgstreamer0.10-dev:amd64 zlib1g-dev:amd64
libsctp-dev:amd64 libstdc++6-4.7-dev:amd64 libicu-dev:amd64 lsb-core:amd64
libpcre3-dev:amd64 libtool:amd64 ]
Remv libgstreamer0.10-dev [0.10.36-1.2ubuntu1] [libmhash-dev:amd64
libpam0g-dev:amd64 libsqlite3-dev:amd64 libusb-dev:amd64 zlib1g-dev:amd64
libsctp-dev:amd64 libstdc++6-4.7-dev:amd64 libicu-dev:amd64 lsb-core:amd64
libpcre3-dev:amd64 libtool:amd64 ]
Remv libglib2.0-dev [2.38.1-0ubuntu1] [libmhash-dev:amd64
libpam0g-dev:amd64 libsqlite3-dev:amd64 libusb-dev:amd64 zlib1g-dev:amd64
libsctp-dev:amd64 libstdc++6-4.7-dev:amd64 libicu-dev:amd64 lsb-core:amd64
libpcre3-dev:amd64 libtool:amd64 libgnome-keyring-dev:amd64 ]
Remv libgnome-keyring-dev [3.8.0-2] [libmhash-dev:amd64 libpam0g-dev:amd64
libsqlite3-dev:amd64 libusb-dev:amd64 zlib1g-dev:amd64 libsctp-dev:amd64
libstdc++6-4.7-dev:amd64 libicu-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64
libtool:amd64 ]
Remv libicu-dev [4.8.1.1-12ubuntu2] [libmhash-dev:amd64 libpam0g-dev:amd64
libsqlite3-dev:amd64 libusb-dev:amd64 zlib1g-dev:amd64 libsctp-dev:amd64
libstdc++6-4.7-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64 ]
Remv libmhash-dev [0.9.9.9-2] [libpam0g-dev:amd64 libsqlite3-dev:amd64
libusb-dev:amd64 zlib1g-dev:amd64 libsctp-dev:amd64
libstdc++6-4.7-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64 ]
Remv libmirclient-dev [0.0.15+13.10.20131014-0ubuntu1] [libpam0g-dev:amd64
libsqlite3-dev:amd64 libusb-dev:amd64 zlib1g-dev:amd64 libsctp-dev:amd64
libstdc++6-4.7-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64 ]
Remv libmirprotobuf-dev [0.0.15+13.10.20131014-0ubuntu1]
[libpam0g-dev:amd64 libsqlite3-dev:amd64 libusb-dev:amd64 zlib1g-dev:amd64
libsctp-dev:amd64 libstdc++6-4.7-dev:amd64 lsb-core:amd64
libpcre3-dev:amd64 libtool:amd64 ]
Remv libmysqlclient-dev [5.5.37-0ubuntu0.13.10.1] [libpam0g-dev:amd64
libsqlite3-dev:amd64 libusb-dev:amd64 zlib1g-dev:amd64 libsctp-dev:amd64
libstdc++6-4.7-dev:amd64 lsb-core:amd64 libpcre3-dev:amd64 libtool:amd64 ]
Remv libpam0g-dev [1.1.3-8ubuntu3] [libsqlite3-dev:amd64 libusb-dev:amd64
zlib1g-dev:amd64 libsctp-dev:amd64 libstdc++6-4.7-dev:amd64 lsb-core:amd64
libpcre3-dev:amd64 libtool:amd64 ]
Remv libpci-dev [1:3.1.9-6ubuntu9] [libsqlite3-dev:amd64 libusb-dev:amd64
zlib1g-dev:amd64 libsctp-dev:amd64 libstdc++6-4.7-dev:amd64 lsb-core:amd64
libpcre3-dev:amd64 libtool:amd64 ]
Remv libpcre3-dev [1:8.31-2] [libsqlite3-dev:amd64 libusb-dev:amd64
zlib1g-dev:amd64 libsctp-dev:amd64 libstdc++6-4.7-dev:amd64 lsb-core:amd64
libtool:amd64 ]
Remv libpng12-dev [1.2.49-4ubuntu1] [libsqlite3-dev:amd64 libusb-dev:amd64
zlib1g-dev:amd64 libsctp-dev:amd64 libstdc++6-4.7-dev:amd64 lsb-core:amd64
libtool:amd64 ]
Remv libprotobuf-dev [2.4.1-3ubuntu2] [libsqlite3-dev:amd64
libusb-dev:amd64 zlib1g-dev:amd64 libsctp-dev:amd64
libstdc++6-4.7-dev:amd64 lsb-core:amd64 libtool:amd64 ]
Remv libsctp-dev [1.0.15+dfsg-1] [libsqlite3-dev:amd64 libusb-dev:amd64
zlib1g-dev:amd64 libstdc++6-4.7-dev:amd64 lsb-core:amd64 libtool:amd64 ]
Remv libsqlite3-dev [3.7.17-1ubuntu1] [libusb-dev:amd64 zlib1g-dev:amd64
libstdc++6-4.7-dev:amd64 lsb-core:amd64 libtool:amd64 ]
Remv libssl-dev [1.0.1e-3ubuntu1.6] [libusb-dev:amd64 zlib1g-dev:amd64
libstdc++6-4.7-dev:amd64 lsb-core:amd64 libtool:amd64 ]
Remv libstdc++6-4.7-dev [4.7.3-7ubuntu3] [libusb-dev:amd64 zlib1g-dev:amd64
lsb-core:amd64 libtool:amd64 ]
Remv libtool [2.4.2-1.3ubuntu1] [libusb-dev:amd64 zlib1g-dev:amd64
lsb-core:amd64 ]
Remv libusb-dev [2:0.1.12-23.2ubuntu1] [zlib1g-dev:amd64 lsb-core:amd64 ]
Remv linux-libc-dev [3.11.0-24.41] [zlib1g-dev:amd64 lsb-core:amd64 ]
Remv lsb-core [4.1+Debian11ubuntu4] [zlib1g-dev:amd64 ]
Remv zlib1g-dev [1:1.2.8.dfsg-1ubuntu1]
Inst linux-libc-dev:armhf (3.11.0-12.19 Ubuntu:13.10/saucy [armhf])
Conf linux-libc-dev:armhf (3.11.0-12.19 Ubuntu:13.10/saucy [armhf])

On 30 June 2014 15:46, Manfred Hampl <email address hidden>
wrote:

> Your question #250970 on build-essential in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/build-essential/+question/250970
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> ok, now proceed further to check where the core of the problem is:
>
> sudo apt-get --simulate install --no-recommends libc6:armhf
> sudo apt-get --simulate install --no-recommends linux-libc-dev:armhf
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https://answers.launchpad.net/ubuntu/+source/build-essential/+question/250970
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

Thanks for correcting my error.
It is not clear for me why there is a list of amd64 packages that would be removed, but for the time being let's go further in checking the dependency tree:

What is the output of

sudo apt-get --simulate install --no-install-recommends libgcc1:armhf

Revision history for this message
Paul Manners (paulmanners) said :
#16

paulm@sandstorm:~⟫ sudo apt-get --simulate install --no-install-recommends
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:
 g++-4.6 : Depends: gcc-4.6 (= 4.6.4-3ubuntu1) but it is not going to be
installed
 libcanberra-pulse : Depends: pulseaudio but it is not going to be installed
 libgcc1 : Breaks: libgcc1:armhf (!= 1:4.8.1-10ubuntu9) but
1:4.8.1-10ubuntu8 is to be installed
 libgcc1:armhf : Depends: gcc-4.8-base:armhf (= 4.8.1-10ubuntu8) but it is
not going to be installed
                 Breaks: libgcc1 (!= 1:4.8.1-10ubuntu8) but
1:4.8.1-10ubuntu9 is to be installed
 libpcre3-dev : Depends: libpcrecpp0 (= 1:8.31-2) but it is not going to be
installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused
by held packages.

On 30 June 2014 16:47, Manfred Hampl <email address hidden>
wrote:

> Your question #250970 on build-essential in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/build-essential/+question/250970
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Thanks for correcting my error.
> It is not clear for me why there is a list of amd64 packages that would be
> removed, but for the time being let's go further in checking the dependency
> tree:
>
> What is the output of
>
> sudo apt-get --simulate install --no-install-recommends libgcc1:armhf
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https://answers.launchpad.net/ubuntu/+source/build-essential/+question/250970
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

And another problem in a dependency of a dependency...

What is the output of

sudo apt-get --simulate install --no-install-recommends gcc-4.8-base:armhf
apt-cache policy libgcc1.*

Revision history for this message
Paul Manners (paulmanners) said :
#18

paulm@sandstorm:~⟫ sudo apt-get --simulate install --no-install-recommends gcc-4.8-base:armhf
[sudo] password for paulm:
Sorry, try again.
[sudo] password for paulm:
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:
 libc6 : Depends: libgcc1 but it is not going to be installed
 openjdk-6-jre : Depends: openjdk-6-jre-headless (>= 6b31-1.13.3-1ubuntu1~0.13.10.1) but it is not going to be installed
 openjdk-6-jre-lib : Depends: openjdk-6-jre-headless (>= 6b27) but it is not going to be installed
 openjdk-7-jre-headless : Depends: libgcc1 (>= 1:4.1.1) but it is not going to be installed
                          Depends: libstdc++6 (>= 4.1.1) but it is not going to be installed
 system-image-common : Depends: ubuntu-download-manager but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
paulm@sandstorm:~⟫ apt-cache policy libgcc1.*
libgcc1-dbg-armel-cross:
  Installed: (none)
  Candidate: 1:4.7.3-1ubuntu1cross1.81
  Version table:
     1:4.7.3-1ubuntu1cross1.81 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
libgcc1-dbg-powerpc-cross:
  Installed: (none)
  Candidate: 1:4.8.1-10ubuntu7cross0.9
  Version table:
     1:4.8.1-10ubuntu7cross0.9 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
     1:4.7.3-1ubuntu1cross0.7 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
libgcc1-armel-cross:
  Installed: (none)
  Candidate: 1:4.7.3-1ubuntu1cross1.81
  Version table:
     1:4.7.3-1ubuntu1cross1.81 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
libgcc1-dbg-arm64-cross:
  Installed: (none)
  Candidate: 1:4.8.1-10ubuntu7cross0.9
  Version table:
     1:4.8.1-10ubuntu7cross0.9 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
     1:4.7.3-1ubuntu1cross0.6 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
libgcc1-armhf-dcv1:
  Installed: (none)
  Candidate: (none)
  Version table:
libgcc1-arm64-cross:
  Installed: (none)
  Candidate: 1:4.8.1-10ubuntu7cross0.9
  Version table:
     1:4.8.1-10ubuntu7cross0.9 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
     1:4.7.3-1ubuntu1cross0.6 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
libgcc1-powerpc-cross:
  Installed: (none)
  Candidate: 1:4.8.1-10ubuntu7cross0.9
  Version table:
     1:4.8.1-10ubuntu7cross0.9 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
     1:4.7.3-1ubuntu1cross0.7 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
libgcc1-armel-dcv1:
  Installed: (none)
  Candidate: (none)
  Version table:
libgcc1-dbg:
  Installed: (none)
  Candidate: 1:4.8.1-10ubuntu9
  Version table:
     1:4.8.1-10ubuntu9 0
        500 http://archive.ubuntu.com/ubuntu/ saucy-updates/main amd64 Packages
     1:4.8.1-10ubuntu8 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
libgcc1:
  Installed: 1:4.8.1-10ubuntu9
  Candidate: 1:4.8.1-10ubuntu9
  Version table:
 *** 1:4.8.1-10ubuntu9 0
        500 http://archive.ubuntu.com/ubuntu/ saucy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:4.8.1-10ubuntu8 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
libgcc1-armel:
  Installed: (none)
  Candidate: (none)
  Version table:
libgcc1-arm64-dcv1:
  Installed: (none)
  Candidate: (none)
  Version table:
libgcc1-dbg-armhf-cross:
  Installed: (none)
  Candidate: 1:4.8.1-10ubuntu7cross0.10
  Version table:
     1:4.8.1-10ubuntu7cross0.10 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
libgcc1-powerpc-dcv1:
  Installed: (none)
  Candidate: (none)
  Version table:
libgcc1-armhf-cross:
  Installed: 1:4.8.1-10ubuntu7cross0.10
  Candidate: 1:4.8.1-10ubuntu7cross0.10
  Version table:
 *** 1:4.8.1-10ubuntu7cross0.10 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status
libgcc1-dbg-armel:
  Installed: (none)
  Candidate: (none)
  Version table:

Revision history for this message
Manfred Hampl (m-hampl) said :
#19

Your output looks somewhat unexpected. Out of a sudden some dependency problems with openjdk pop up that were not shows in previous output.

In any case, I might have identified that my first recommendation might have been incomplete.

Edit your sources.list and add two more lines:

deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports saucy-updates main restricted universe multiverse
deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports saucy-security main restricted universe multiverse

and then do
sudo apt-get update
sudo apt-get install --no-install-recommends crossbuild-essential-armhf
again and paste all output.

Revision history for this message
Paul Manners (paulmanners) said :
#20

Success!

So should I be putting:

deb [arch=amd64] http://extras.ubuntu.com/ubuntu saucy main

on all the 404 not founds?

paulm@sandstorm:~⟫ sudo apt-get update
Ign http://ports.ubuntu.com saucy InRelease
Hit http://download.virtualbox.org saucy InRelease
Ign http://ppa.launchpad.net saucy InRelease
Ign http://archive.ubuntu.com saucy InRelease
Ign http://extras.ubuntu.com saucy InRelease
Ign http://dl.google.com stable InRelease
Ign http://security.ubuntu.com saucy-security InRelease
Ign http://linux.dropbox.com saucy InRelease
Get:1 http://extras.ubuntu.com saucy Release.gpg [72 B]
Ign http://archive.canonical.com saucy InRelease
Ign http://ports.ubuntu.com saucy-updates InRelease
Ign http://archive.ubuntu.com saucy-updates InRelease
Hit http://security.ubuntu.com saucy-security Release.gpg
Hit http://download.virtualbox.org saucy/contrib amd64 Packages
Hit http://linux.dropbox.com saucy Release.gpg
Hit http://dl.google.com stable Release.gpg
Hit http://extras.ubuntu.com saucy Release
Ign http://ports.ubuntu.com saucy-security InRelease
Hit http://archive.canonical.com saucy Release.gpg
Hit http://archive.ubuntu.com saucy Release.gpg
Hit http://security.ubuntu.com saucy-security Release
Hit http://download.virtualbox.org saucy/non-free amd64 Packages
Hit http://extras.ubuntu.com saucy/main amd64 Packages
Hit http://linux.dropbox.com saucy Release
Hit http://dl.google.com stable Release
Hit http://archive.canonical.com saucy Release
Hit http://ports.ubuntu.com saucy Release.gpg
Get:2 http://archive.ubuntu.com saucy-updates Release.gpg [933 B]
Hit http://security.ubuntu.com saucy-security/main amd64 Packages
Hit http://dl.google.com stable/main amd64 Packages
Get:3 http://ports.ubuntu.com saucy-updates Release.gpg [933 B]
Hit http://archive.canonical.com saucy/partner amd64 Packages
Hit http://archive.ubuntu.com saucy Release
Hit http://extras.ubuntu.com saucy/main i386 Packages
Hit http://linux.dropbox.com saucy/main amd64 Packages
Get:4 http://ports.ubuntu.com saucy-security Release.gpg [933 B]
Hit http://security.ubuntu.com saucy-security/restricted amd64 Packages
Get:5 http://archive.ubuntu.com saucy-updates Release [49,6 kB]
Hit http://archive.canonical.com saucy/partner armhf Packages
Hit http://security.ubuntu.com saucy-security/universe amd64 Packages
Hit http://ports.ubuntu.com saucy Release
Hit http://archive.canonical.com saucy/partner i386 Packages
Get:6 http://ports.ubuntu.com saucy-updates Release [49,6 kB]
Hit http://security.ubuntu.com saucy-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com saucy/main Sources
Hit http://archive.ubuntu.com saucy/restricted Sources
Get:7 http://ports.ubuntu.com saucy-security Release [49,6 kB]
Hit http://archive.ubuntu.com saucy/universe Sources
Hit http://archive.ubuntu.com saucy/multiverse Sources
Hit http://ports.ubuntu.com saucy/main armhf Packages
Err http://extras.ubuntu.com saucy/main armhf Packages
  404 Not Found
Hit http://ports.ubuntu.com saucy/restricted armhf Packages
Hit http://archive.ubuntu.com saucy/main amd64 Packages
Hit http://ports.ubuntu.com saucy/universe armhf Packages
Hit http://archive.ubuntu.com saucy/restricted amd64 Packages
Hit http://security.ubuntu.com saucy-security/main i386 Packages
Hit http://archive.ubuntu.com saucy/universe amd64 Packages
Hit http://security.ubuntu.com saucy-security/restricted i386 Packages
Hit http://ports.ubuntu.com saucy/multiverse armhf Packages
Hit http://security.ubuntu.com saucy-security/universe i386 Packages
Hit http://archive.ubuntu.com saucy/multiverse amd64 Packages
Hit http://security.ubuntu.com saucy-security/multiverse i386 Packages
Hit http://ports.ubuntu.com saucy/main Translation-en
Ign http://archive.canonical.com saucy/partner Translation-en_ZA
Ign http://extras.ubuntu.com saucy/main Translation-en_ZA
Ign http://extras.ubuntu.com saucy/main Translation-en
Ign http://archive.canonical.com saucy/partner Translation-en
Hit http://ports.ubuntu.com saucy/multiverse Translation-en
Hit http://security.ubuntu.com saucy-security/main Translation-en
Hit http://archive.ubuntu.com saucy/main i386 Packages
Hit http://archive.ubuntu.com saucy/restricted i386 Packages
Hit http://security.ubuntu.com saucy-security/multiverse Translation-en
Hit http://ports.ubuntu.com saucy/restricted Translation-en
Hit http://archive.ubuntu.com saucy/universe i386 Packages
Hit http://security.ubuntu.com saucy-security/restricted Translation-en
Hit http://archive.ubuntu.com saucy/multiverse i386 Packages
Hit http://ports.ubuntu.com saucy/universe Translation-en
Get:8 http://ports.ubuntu.com saucy-updates/main armhf Packages [242 kB]
Hit http://archive.ubuntu.com saucy/main Translation-en
Hit http://security.ubuntu.com saucy-security/universe Translation-en
Hit http://archive.ubuntu.com saucy/multiverse Translation-en
Hit http://archive.ubuntu.com saucy/restricted Translation-en
Get:9 http://ports.ubuntu.com saucy-updates/restricted armhf Packages [14 B]
Get:10 http://ports.ubuntu.com saucy-updates/universe armhf Packages [156 kB]
Hit http://archive.ubuntu.com saucy/universe Translation-en
Get:11 http://archive.ubuntu.com saucy-updates/main Sources [91,1 kB]
Err http://security.ubuntu.com saucy-security/main armhf Packages
  404 Not Found
Err http://security.ubuntu.com saucy-security/restricted armhf Packages
  404 Not Found
Get:12 http://archive.ubuntu.com saucy-updates/restricted Sources [14 B]
Err http://security.ubuntu.com saucy-security/universe armhf Packages
  404 Not Found
Get:13 http://archive.ubuntu.com saucy-updates/universe Sources [69,9 kB]
Err http://security.ubuntu.com saucy-security/multiverse armhf Packages
  404 Not Found
Get:14 http://ports.ubuntu.com saucy-updates/multiverse armhf Packages [1 316 B]
Get:15 http://archive.ubuntu.com saucy-updates/multiverse Sources [2 348 B]
Get:16 http://ports.ubuntu.com saucy-updates/main Translation-en [118 kB]
Get:17 http://archive.ubuntu.com saucy-updates/main amd64 Packages [247 kB]
Ign http://security.ubuntu.com saucy-security/main Translation-en_ZA
Ign http://security.ubuntu.com saucy-security/multiverse Translation-en_ZA
Get:18 http://ports.ubuntu.com saucy-updates/multiverse Translation-en [1 688 B]
Ign http://security.ubuntu.com saucy-security/restricted Translation-en_ZA
Ign http://security.ubuntu.com saucy-security/universe Translation-en_ZA
Get:19 http://ports.ubuntu.com saucy-updates/restricted Translation-en [14 B]
Get:20 http://archive.ubuntu.com saucy-updates/restricted amd64 Packages [14 B]
Get:21 http://ports.ubuntu.com saucy-updates/universe Translation-en [85,5 kB]
Get:22 http://archive.ubuntu.com saucy-updates/universe amd64 Packages [167 kB]
Get:23 http://ports.ubuntu.com saucy-security/main armhf Packages [148 kB]
Get:24 http://archive.ubuntu.com saucy-updates/multiverse amd64 Packages [3 730 B]
Get:25 http://archive.ubuntu.com saucy-updates/main i386 Packages [245 kB]
Get:26 http://ports.ubuntu.com saucy-security/restricted armhf Packages [14 B]
Get:27 http://ports.ubuntu.com saucy-security/universe armhf Packages [42,7 kB]
Get:28 http://ports.ubuntu.com saucy-security/multiverse armhf Packages [1 316 B]
Get:29 http://archive.ubuntu.com saucy-updates/restricted i386 Packages [14 B]
Get:30 http://ports.ubuntu.com saucy-security/main Translation-en [78,0 kB]
Get:31 http://archive.ubuntu.com saucy-updates/universe i386 Packages [167 kB]
Get:32 http://ports.ubuntu.com saucy-security/multiverse Translation-en [1 566 B]
Get:33 http://archive.ubuntu.com saucy-updates/multiverse i386 Packages [3 884 B]
Get:34 http://ports.ubuntu.com saucy-security/restricted Translation-en [14 B]
Get:35 http://ports.ubuntu.com saucy-security/universe Translation-en [29,3 kB]
Hit http://archive.ubuntu.com saucy-updates/main Translation-en
Hit http://archive.ubuntu.com saucy-updates/multiverse Translation-en
Hit http://archive.ubuntu.com saucy-updates/restricted Translation-en
Hit http://archive.ubuntu.com saucy-updates/universe Translation-en
Err http://archive.ubuntu.com saucy/main armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy/restricted armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy/universe armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy/multiverse armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy-updates/main armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy-updates/restricted armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy-updates/universe armhf Packages
  404 Not Found
Err http://archive.ubuntu.com saucy-updates/multiverse armhf Packages
  404 Not Found
Ign http://ports.ubuntu.com saucy/main Translation-en_ZA
Ign http://ports.ubuntu.com saucy/multiverse Translation-en_ZA
Ign http://ports.ubuntu.com saucy/restricted Translation-en_ZA
Ign http://ports.ubuntu.com saucy/universe Translation-en_ZA
Ign http://ports.ubuntu.com saucy-updates/main Translation-en_ZA
Ign http://ports.ubuntu.com saucy-updates/multiverse Translation-en_ZA
Ign http://ports.ubuntu.com saucy-updates/restricted Translation-en_ZA
Ign http://ports.ubuntu.com saucy-updates/universe Translation-en_ZA
Ign http://archive.ubuntu.com saucy/main Translation-en_ZA
Ign http://ports.ubuntu.com saucy-security/main Translation-en_ZA
Ign http://archive.ubuntu.com saucy/multiverse Translation-en_ZA
Ign http://ports.ubuntu.com saucy-security/multiverse Translation-en_ZA
Ign http://archive.ubuntu.com saucy/restricted Translation-en_ZA
Ign http://ports.ubuntu.com saucy-security/restricted Translation-en_ZA
Ign http://archive.ubuntu.com saucy/universe Translation-en_ZA
Ign http://ports.ubuntu.com saucy-security/universe Translation-en_ZA
Ign http://archive.ubuntu.com saucy-updates/main Translation-en_ZA
Hit http://ppa.launchpad.net saucy Release.gpg
Ign http://archive.ubuntu.com saucy-updates/multiverse Translation-en_ZA
Hit http://ppa.launchpad.net saucy Release
Ign http://archive.ubuntu.com saucy-updates/restricted Translation-en_ZA
Hit http://ppa.launchpad.net saucy/main amd64 Packages
Ign http://archive.ubuntu.com saucy-updates/universe Translation-en_ZA
Hit http://ppa.launchpad.net saucy/main armhf Packages
Hit http://ppa.launchpad.net saucy/main i386 Packages
Ign http://ppa.launchpad.net saucy/main Translation-en_ZA
Ign http://ppa.launchpad.net saucy/main Translation-en
Fetched 2 053 kB in 1min 15s (27,2 kB/s)
W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/saucy/InRelease Unable to find expected entry 'contrib/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://linux.dropbox.com/ubuntu/dists/saucy/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/saucy/main/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/main/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/restricted/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/universe/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/saucy-security/multiverse/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/main/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/restricted/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/universe/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/multiverse/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy-updates/main/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy-updates/restricted/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy-updates/universe/binary-armhf/Packages 404 Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy-updates/multiverse/binary-armhf/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
paulm@sandstorm:~⟫ sudo apt-get install --no-install-recommends crossbuild-essential-armhf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  gcc-4.8-base:armhf libc6:armhf libc6-dev:armhf libgcc1:armhf linux-libc-dev:armhf pkg-config-arm-linux-gnueabihf
Suggested packages:
  glibc-doc:armhf locales:armhf manpages-dev:armhf
Recommended packages:
  gcc:armhf c-compiler:armhf
The following NEW packages will be installed:
  crossbuild-essential-armhf gcc-4.8-base:armhf libc6:armhf libc6-dev:armhf libgcc1:armhf linux-libc-dev:armhf pkg-config-arm-linux-gnueabihf
0 upgraded, 7 newly installed, 0 to remove and 9 not upgraded.
Need to get 7 115 kB of archives.
After this operation, 20,3 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://archive.ubuntu.com/ubuntu/ saucy/universe pkg-config-arm-linux-gnueabihf amd64 4:4.8.1-1 [984 B]
Get:2 http://ports.ubuntu.com/ubuntu-ports/ saucy-updates/main gcc-4.8-base armhf 4.8.1-10ubuntu9 [16,8 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ saucy/universe crossbuild-essential-armhf all 11.6ubuntu5 [5 202 B]
Get:4 http://ports.ubuntu.com/ubuntu-ports/ saucy/main libc6 armhf 2.17-93ubuntu4 [3 885 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports/ saucy-updates/main libgcc1 armhf 1:4.8.1-10ubuntu9 [49,0 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports/ saucy-updates/main linux-libc-dev armhf 3.11.0-24.41 [940 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports/ saucy/main libc6-dev armhf 2.17-93ubuntu4 [2 218 kB]
Fetched 7 115 kB in 1min 51s (63,9 kB/s)
Preconfiguring packages ...
Selecting previously unselected package gcc-4.8-base:armhf.
(Reading database ... 332772 files and directories currently installed.)
Unpacking gcc-4.8-base:armhf (from .../gcc-4.8-base_4.8.1-10ubuntu9_armhf.deb) ...
Selecting previously unselected package libc6:armhf.
Unpacking libc6:armhf (from .../libc6_2.17-93ubuntu4_armhf.deb) ...
Selecting previously unselected package libgcc1:armhf.
Unpacking libgcc1:armhf (from .../libgcc1_1%3a4.8.1-10ubuntu9_armhf.deb) ...
Selecting previously unselected package linux-libc-dev:armhf.
Unpacking linux-libc-dev:armhf (from .../linux-libc-dev_3.11.0-24.41_armhf.deb) ...
Selecting previously unselected package libc6-dev:armhf.
Unpacking libc6-dev:armhf (from .../libc6-dev_2.17-93ubuntu4_armhf.deb) ...
Selecting previously unselected package pkg-config-arm-linux-gnueabihf.
Unpacking pkg-config-arm-linux-gnueabihf (from .../pkg-config-arm-linux-gnueabihf_4%3a4.8.1-1_amd64.deb) ...
Selecting previously unselected package crossbuild-essential-armhf.
Unpacking crossbuild-essential-armhf (from .../crossbuild-essential-armhf_11.6ubuntu5_all.deb) ...
Setting up gcc-4.8-base:armhf (4.8.1-10ubuntu9) ...
Setting up linux-libc-dev:armhf (3.11.0-24.41) ...
Setting up pkg-config-arm-linux-gnueabihf (4:4.8.1-1) ...
Setting up libc6:armhf (2.17-93ubuntu4) ...
Setting up libgcc1:armhf (1:4.8.1-10ubuntu9) ...
Setting up libc6-dev:armhf (2.17-93ubuntu4) ...
Setting up crossbuild-essential-armhf (11.6ubuntu5) ...
Processing triggers for libc-bin ...

Revision history for this message
Manfred Hampl (m-hampl) said :
#21

Happy to see that installing finally worked.

If you want to prevent the 404 error on archive.ubuntu.com for armhf, you would have to change the sources.list entries to
deb [arch=amd64,i386] http://archive.ubuntu.com/ubuntu/ etc. etc.

see also https://wiki.debian.org/Multiarch/HOWTO#line-72

Revision history for this message
Paul Manners (paulmanners) said :
#22

Thanks for your help Manfred.

On 30 June 2014 20:56, Manfred Hampl <email address hidden>
wrote:

> Your question #250970 on build-essential in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/build-essential/+question/250970
>
> Manfred Hampl posted a new comment:
> Happy to see that installing finally worked.
>
> If you want to prevent the 404 error on archive.ubuntu.com for armhf, you
> would have to change the sources.list entries to
> deb [arch=amd64,i386] http://archive.ubuntu.com/ubuntu/ etc. etc.
>
> see also https://wiki.debian.org/Multiarch/HOWTO#line-72
>
> --
> You received this question notification because you asked the question.
>