* Re: jailhouse-images: isar error: packages not found
[not found] <73eb5f8e-8a7c-495a-a5c7-493a3cd5d95b@googlegroups.com>
@ 2018-09-24 5:34 ` Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2018-09-24 5:34 UTC (permalink / raw)
To: christopher.goldsworthy, Jailhouse; +Cc: isar-users
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
^ permalink raw reply [flat|nested] only message in thread