public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: "christopher.goldsworthy" <christopher.goldsworthy@outlook.com>,
	Jailhouse <jailhouse-dev@googlegroups.com>
Cc: isar-users <isar-users@googlegroups.com>
Subject: Re: jailhouse-images: isar error: packages not found
Date: Mon, 24 Sep 2018 07:34:09 +0200	[thread overview]
Message-ID: <18eed1a1-950f-c923-4362-18c3f7a3ec1d@siemens.com> (raw)
In-Reply-To: <73eb5f8e-8a7c-495a-a5c7-493a3cd5d95b@googlegroups.com>

On 24.09.18 03:24, christopher.goldsworthy wrote:
> I'm encountering the following error when building the QEMU / KVM image,
> when using what's pointed to by jailhouse-images/master:
> 
> DEBUG: Executing shell function do_build
> Get:1 file:/isar-apt isar InRelease
> Ign:1 file:/isar-apt isar InRelease
> Get:2 file:/isar-apt isar Release [3569 B]
> Get:2 file:/isar-apt isar Release [3569 B]
> Get:3 file:/isar-apt isar Release.gpg
> Ign:3 file:/isar-apt isar Release.gpg
> Get:4 file:/isar-apt isar/main amd64 Packages [1642 B]
> Reading package lists...
> Reading package lists...
> Building dependency tree...
> Reading state information...
> Starting pkgProblemResolver with broken count: 0
> Starting 2 pkgProblemResolver with broken count: 0
> Done
> apt is already the newest version (1.4.8).
> dpkg is already the newest version (1.18.24).
> libc6 is already the newest version (2.24-11+deb9u3).
> The following additional packages will be installed:
>    autoconf autopoint binutils bsdmainutils bzip2 cpp cpp-6 dh-autoreconf
>    dh-python dh-strip-nondeterminism docbook dpkg-dev fakeroot file gcc gcc-6
>    gettext gettext-base groff-base intltool-debian libarchive-zip-perl libasan3
>    libatomic1 libbsd0 libc-dev-bin libc-l10n libc6-dev libcc1-0 libcilkrts5
>    libcroco3 libdpkg-perl libexpat1 libfakeroot libffi6 libfile-homedir-perl
>    libfile-stripnondeterminism-perl libfile-which-perl libgcc-6-dev libgdbm3
>    libglib2.0-0 libgmp10 libgomp1 libicu57 libisl15 libitm1 liblsan0
>    libmagic-mgc libmagic1 libmpc3 libmpdec2 libmpfr4 libmpx2 libncurses5
>    libosp5 libperl5.24 libpipeline1 libpython3-stdlib libpython3.5-minimal
>    libpython3.5-stdlib libquadmath0 libreadline7 libsigsegv2 libsqlite3-0
>    libssl1.1 libtimedate-perl libtool libtsan0 libubsan0 libunistring0 libxml2
>    linux-libc-dev m4 man-db mime-support opensp patch perl perl-modules-5.24
>    po-debconf python3 python3-minimal python3.5 python3.5-minimal
>    readline-common sgml-base sgml-data xml-core xz-utils
> Suggested packages:
>    autoconf-archive gnu-standards autoconf-doc binutils-doc wamerican
>    | wordlist whois vacation bzip2-doc cpp-doc gcc-6-locales dh-make adequate
>    autopkgtest bls-standalone bsd-mailx | mailx build-essential
>    check-all-the-things cvs-buildpackage devscripts-el diffoscope disorderfs
>    dose-extra duck faketime gnuplot how-can-i-help libauthen-sasl-perl
>    libfile-desktopentry-perl libnet-smtps-perl libterm-size-perl
>    libyaml-syck-perl mozilla-devscripts mutt piuparts ratt reprotest ssh-client
>    svn-buildpackage w3m docbook-defguide docbook-dsssl docbook-xml psgml
>    debian-keyring gcc-multilib manpages-dev flex bison gdb gcc-doc
>    gcc-6-multilib gcc-6-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg
>    libasan3-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg
>    libmpx2-dbg libquadmath0-dbg gettext-doc libasprintf-dev libgettextpo-dev
>    groff glibc-doc gnupg | gnupg2 libtool-doc gfortran | fortran95-compiler
>    gcj-jdk m4-doc make-doc less www-browser doc-base ed diffutils-doc perl-doc
>    libterm-readline-gnu-perl | libterm-readline-perl-perl libmail-box-perl
>    python3-doc python3-tk python3-venv python3.5-venv python3.5-doc
>    binfmt-support readline-doc sgml-base-doc perlsgml w3-recs libxml2-utils
> Recommended packages:
>    at dctrl-tools dput | dupload gnupg | gnupg2 libdistro-info-perl
>    libencode-locale-perl libgit-wrapper-perl liblist-compare-perl liburi-perl
>    libwww-perl licensecheck lintian patchutils python3-debian python3-magic
>    strace unzip wdiff wget | curl debian-keyring liblwp-protocol-https-perl
>    libsoap-lite-perl build-essential libalgorithm-merge-perl curl | wget
>    | lynx-cur manpages manpages-dev libfile-fcntllock-perl
>    liblocale-gettext-perl libglib2.0-data shared-mime-info xdg-user-dirs
>    libgpm2 libltdl-dev netbase rename libmail-sendmail-perl
> The following NEW packages will be installed:
>    autoconf automake autopoint autotools-dev binutils bsdmainutils bzip2 cpp
>    cpp-6 debhelper devscripts dh-autoreconf dh-python dh-strip-nondeterminism
>    docbook docbook-to-man dpkg-dev equivs fakeroot file gcc gcc-6 gettext
>    gettext-base groff-base intltool-debian libarchive-zip-perl libasan3
>    libatomic1 libbsd0 libc-dev-bin libc-l10n libc6-dev libcc1-0 libcilkrts5
>    libcroco3 libdpkg-perl libexpat1 libfakeroot libffi6 libfile-homedir-perl
>    libfile-stripnondeterminism-perl libfile-which-perl libgcc-6-dev libgdbm3
>    libglib2.0-0 libgmp10 libgomp1 libicu57 libisl15 libitm1 liblsan0
>    libmagic-mgc libmagic1 libmpc3 libmpdec2 libmpfr4 libmpx2 libncurses5
>    libosp5 libperl5.24 libpipeline1 libpython3-stdlib libpython3.5-minimal
>    libpython3.5-stdlib libquadmath0 libreadline7 libsigsegv2 libsqlite3-0
>    libssl1.1 libtimedate-perl libtool libtsan0 libubsan0 libunistring0 libxml2
>    linux-libc-dev locales m4 make man-db mime-support opensp patch perl
>    perl-modules-5.24 po-debconf python3 python3-minimal python3.5
>    python3.5-minimal readline-common sgml-base sgml-data xml-core xz-utils
> 0 upgraded, 96 newly installed, 0 to remove and 0 not upgraded.
> Need to get 69.2 MB/70.1 MB of archives.
> After this operation, 285 MB of additional disk space will be used.
> Get:1 file:/isar-apt isar/main amd64 linux-libc-dev amd64 4.14.39-1 [960 kB]
> Get:2 http://security.debian.org stretch/updates/main amd64 perl-modules-5.24 all 5.24.1-3+deb9u4 [2724 kB]
> 
> ...
> 
> Err:70 http://ftp.de.debian.org/debian stretch/main amd64 libdpkg-perl all 1.18.24
>    404  Not Found
> Err:71 http://ftp.de.debian.org/debian stretch/main amd64 patch amd64 2.7.5-1+b2
>    404  Not Found
> Get:72 http://ftp.de.debian.org/debian stretch/main amd64 make amd64 4.1-9.1 [302 kB]
> Err:73 http://ftp.de.debian.org/debian stretch/main amd64 dpkg-dev all 1.18.24
>    404  Not Found
> 
> ...
> 
> Err:84 http://ftp.de.debian.org/debian stretch/main amd64 devscripts amd64 2.17.6+deb9u1
>    404  Not Found
> 
> ...
> 
> E: Failed to fetch http://ftp.de.debian.org/debian/pool/main/d/dpkg/libdpkg-perl_1.18.24_all.deb  404  Not Found
> E: Failed to fetch http://ftp.de.debian.org/debian/pool/main/p/patch/patch_2.7.5-1+b2_amd64.deb  404  Not Found
> E: Failed to fetch http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg-dev_1.18.24_all.deb  404  Not Found
> E: Failed to fetch http://ftp.de.debian.org/debian/pool/main/d/devscripts/devscripts_2.17.6+deb9u1_amd64.deb  404  Not Found
> E: Some files failed to download
> WARNING: exit code 100 from a shell command.
> ERROR: Function failed: do_build (log file is located at /out/build/tmp/work/debian-stretch-amd64/buildchroot-host/temp/log.do_build.120)
> 
> 
> I'm aware that that this a problem with ISAR, but I've been unable to find
> anything on how packages are selected, so I'm guessing this is just a
> configuration issue on our end (i.e. some of the selected packages no
> longer exist).  Any pointers would be appreciated.

This is a race between fetching the package index and Debian doing a package 
update in the background, removing older packages. Retry a clean build now, and 
it will work. I've seen that before as well. I think there is nothing we can do 
about that, it should happen during regular Debian installations as well.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

           reply	other threads:[~2018-09-24  5:34 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <73eb5f8e-8a7c-495a-a5c7-493a3cd5d95b@googlegroups.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18eed1a1-950f-c923-4362-18c3f7a3ec1d@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=christopher.goldsworthy@outlook.com \
    --cc=isar-users@googlegroups.com \
    --cc=jailhouse-dev@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox