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

Fixing multistrap dependency issue with -dev packages?



I'm trying to do a multistrap config that pulls in some -dev packages, but I'm having problems with the dependency resolution.  I imagine the -dev packages aren't in the Grip repository, and so are being picked up from the standard Debian repository, but the dependency checking is choking on the em1 suffix on the Grip package.  I have tried explicitly specifying a problem package in the packages= line for the Debian stanza, but this doesn't seem to help.  Also, some of the dependencies for the -dev packages don't seem to be automatically resolved if they depend on other -dev packages.  I'm not sure what I'm doing wrong.

Thanks,

-Jim Heck

Here are more details:

For example, I'm trying to pull in libc6-dev, which depends on libc6.  I get the following error

The following packages have unmet dependencies:
  libc6-dev: Depends: libc6 (= 2.11.2-2) but 2.11.2-2em1 is to be installed
  libcap-dev: Depends: libcap2 (= 1:2.19-3) but 1:2.19-3em1 is to be installed
  libfuse-dev: Depends: libfuse2 (= 2.8.1-1.2) but 2.8.1-1.2em1 is to be installed
               Depends: libselinux1-dev but it is not going to be installed or
                        libselinux-dev
  libncurses5-dev: Depends: libncurses5 (= 5.7+20100313-2) but 5.7+20100313-2em1 is to be installed
                   Depends: ncurses-bin (= 5.7+20100313-2) but 5.7+20100313-2em1 is to be installed
  libpam0g-dev: Depends: libpam0g (= 1.1.1-4) but 1.1.1-4em1 is to be installed
  libssl-dev: Depends: libssl0.9.8 (= 0.9.8o-2) but 0.9.8o-2em1 is to be installed
              Depends: zlib1g-dev but it is not going to be installed
  libxml2-dev: Depends: libxml2 (= 2.7.7.dfsg-4) but 2.7.7.dfsg-4em1 is to be installed
E: Broken packages
apt download failed. Exit value: 100


Here is the contents of my multistrap config file:

[General]
arch=armel
directory=/opt/multistrap/squeeze-ilom-grip
# same as --tidy-up option if set to true
cleanup=true
# same as --no-auth option if set to true
# keyring packages listed in each bootstrap will
# still be installed.
noauth=false
# extract all downloaded archives (default is true)
unpack=true
# whether to add the /suite to be explicit about where apt
# needs to look for packages. Default is false.
explicitsuite=false
# aptsources is a list of sections to be used
# the /etc/apt/sources.list.d/multistrap.sources.list
# of the target. Order is not important
aptsources=Debian
# the bootstrap option determines which repository
# is used to calculate the list of Priority: required packages
# and which packages go into the rootfs.
# The order of sections is not important.
bootstrap=Grip Debian

[Debian]
packages= libc6 libc6-dev
source=http://ftp.debian.org/debian
keyring=debian-archive-keyring
suite=squeeze

[Grip]
packages= libncurses5-dev libpam-ldap libpam0g-dev libpam-radius-auth libcap-dev gawk portmap sysklogd klogd iptables logrotate libssl-dev psmisc ssh tftp-hpa less nvi mtd-tools libnss-ldap pciutils libxml2 libxml2-dev ifplugd libfuse-dev fuse-utils gettext gettext-base radiusclient1 libradius1 libradius1-dev libesmtp5 libesmtp-dev tcpdump traceroute strace zile file lsof tcl8.4 sysstat binutils bc netcat libdmalloc5 libdmalloc-dev
source=http://www.emdebian.org/grip
keyring=emdebian-archive-keyring
suite=squeeze




Reply to: