Daniel Baumann wrote: > Didier Raboud wrote: >> Hi, > > Hi, > >> It fails in losetup in "configuring syslinux" as attached. > > your build got 'out of order', do rebuild the whole thing: > > lh_clean --purge ; lh_build >
Hi. Sorry… I did exactly this : $ sudo -s (…) # LANG=C lh_clean --purge ; lh_build (…) Happened again. As attached. Any idea ? OdyX -- Swisslinux.org − Le carrefour GNU/Linux en Suisse − http://www.swisslinux.org
P: Cleaning chroot rmdir: failed to remove `scripts': No such file or directory P: Setting up cleanup function P: Begin caching bootstrap stage... P: Begin bootstrapping system... W: skipping bootstrap P: Begin caching bootstrap stage... P: Begin unmounting filesystems... P: Setting up cleanup function P: Begin caching chroot stage... P: Begin mounting /dev/pts... P: Begin mounting /proc... P: Begin mounting /sys... P: Configuring file /etc/debian_chroot P: Configuring file /sbin/start-stop-daemon P: Configuring file /usr/sbin/policy-rc.d P: Configuring file /etc/hosts P: Configuring file /etc/resolv.conf P: Configuring file /etc/hostname P: Configuring file /bin/hostname P: Configuring file /etc/apt/apt.conf P: Configuring file /etc/apt/sources.list Writing extended state information... Done Get:1 ftp://mirror.switch.ch lenny Release.gpg [189B] Get:2 ftp://mirror.switch.ch lenny/updates Release.gpg [189B] Get:3 ftp://mirror.switch.ch lenny Release [74.5kB] Get:4 ftp://mirror.switch.ch lenny/updates Release [40.8kB] Get:5 ftp://mirror.switch.ch lenny/main Packages [6898kB] Get:6 ftp://mirror.switch.ch lenny/updates/main Packages [17.2kB] Fetched 7031kB in 7s (972kB/s) Reading package lists... Done Current status: 22124 new [+22124]. W: The "upgrade" command is deprecated; use "safe-upgrade" instead. Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done P: Configuring file /etc/kernel-img.conf P: Begin executing preseed... P: Begin executing local preseeds... P: Begin installing tasks... P: Begin queueing installation of packages lists... P: Begin queueing installation of packages... P: Begin queueing installation of local packages... P: Begin installing packages... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following NEW packages will be installed: aufs-modules-2.6-amd64 aufs-modules-2.6.26-1-amd64{a} busybox{a} console-common console-data{a} eject file initramfs-tools{a} kbd klibc-utils{a} libklibc{a} libmagic1{a} libvolume-id0{a} linux-image-2.6-amd64 linux-image-2.6.26-1-amd64{a} live-initramfs locales loop-aes-utils sharutils{a} squashfs-modules-2.6-amd64 squashfs-modules-2.6.26-1-amd64{a} sudo udev{a} user-setup{a} uuid-runtime{a} 0 packages upgraded, 25 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/29.4MB of archives. After unpacking 109MB will be used. Writing extended state information... Done Preconfiguring packages ... Selecting previously deselected package console-data. (Reading database ... 7935 files and directories currently installed.) Unpacking console-data (from .../console-data_2%3a1.07-11_all.deb) ... Selecting previously deselected package kbd. Unpacking kbd (from .../kbd_1.14.1-4_amd64.deb) ... Selecting previously deselected package console-common. Unpacking console-common (from .../console-common_0.7.80_all.deb) ... Selecting previously deselected package libklibc. Unpacking libklibc (from .../libklibc_1.5.12-2_amd64.deb) ... Selecting previously deselected package klibc-utils. Unpacking klibc-utils (from .../klibc-utils_1.5.12-2_amd64.deb) ... Selecting previously deselected package libvolume-id0. Unpacking libvolume-id0 (from .../libvolume-id0_0.125-7_amd64.deb) ... Selecting previously deselected package udev. Unpacking udev (from .../udev_0.125-7_amd64.deb) ... Selecting previously deselected package initramfs-tools. Unpacking initramfs-tools (from .../initramfs-tools_0.92j_all.deb) ... /dev/mapper/Tamino-swap_1: error opening volume Selecting previously deselected package linux-image-2.6.26-1-amd64. Unpacking linux-image-2.6.26-1-amd64 (from .../linux-image-2.6.26-1-amd64_2.6.26-10_amd64.deb) ... Done. Selecting previously deselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_4.26-1_amd64.deb) ... Selecting previously deselected package file. Unpacking file (from .../archives/file_4.26-1_amd64.deb) ... Selecting previously deselected package locales. Unpacking locales (from .../locales_2.7-16_all.deb) ... Selecting previously deselected package sharutils. Unpacking sharutils (from .../sharutils_1%3a4.6.3-1_amd64.deb) ... Selecting previously deselected package aufs-modules-2.6.26-1-amd64. Unpacking aufs-modules-2.6.26-1-amd64 (from .../aufs-modules-2.6.26-1-amd64_2.6.26+0+20080719-4_amd64.deb) ... Selecting previously deselected package linux-image-2.6-amd64. Unpacking linux-image-2.6-amd64 (from .../linux-image-2.6-amd64_2.6.26+16_amd64.deb) ... Selecting previously deselected package aufs-modules-2.6-amd64. Unpacking aufs-modules-2.6-amd64 (from .../aufs-modules-2.6-amd64_2%3a2.6.26-4_amd64.deb) ... Selecting previously deselected package busybox. Unpacking busybox (from .../busybox_1%3a1.10.2-2_amd64.deb) ... Selecting previously deselected package eject. Unpacking eject (from .../eject_2.1.5+deb1-4_amd64.deb) ... Selecting previously deselected package sudo. Unpacking sudo (from .../sudo_1.6.9p17-1_amd64.deb) ... Selecting previously deselected package user-setup. Unpacking user-setup (from .../user-setup_1.23_all.deb) ... Selecting previously deselected package live-initramfs. Unpacking live-initramfs (from .../live-initramfs_1.139.1-3_all.deb) ... Selecting previously deselected package loop-aes-utils. Unpacking loop-aes-utils (from .../loop-aes-utils_2.13.1-4_amd64.deb) ... Adding `diversion of /bin/mount to /bin/mount.orig by loop-aes-utils' Adding `diversion of /bin/umount to /bin/umount.orig by loop-aes-utils' Adding `diversion of /sbin/losetup to /sbin/losetup.orig by loop-aes-utils' Adding `diversion of /sbin/swapon to /sbin/swapon.orig by loop-aes-utils' Adding `diversion of /usr/share/man/man5/fstab.5.gz to /usr/share/man/man5/fstab-orig.5.gz by loop-aes-utils' Adding `diversion of /usr/share/man/man8/losetup.8.gz to /usr/share/man/man8/losetup-orig.8.gz by loop-aes-utils' Adding `diversion of /usr/share/man/man8/mount.8.gz to /usr/share/man/man8/mount-orig.8.gz by loop-aes-utils' Adding `diversion of /usr/share/man/man8/umount.8.gz to /usr/share/man/man8/umount-orig.8.gz by loop-aes-utils' Adding `diversion of /usr/share/man/man8/swapon.8.gz to /usr/share/man/man8/swapon-orig.8.gz by loop-aes-utils' Adding `diversion of /usr/share/man/man8/swapoff.8.gz to /usr/share/man/man8/swapoff-orig.8.gz by loop-aes-utils' Selecting previously deselected package squashfs-modules-2.6.26-1-amd64. Unpacking squashfs-modules-2.6.26-1-amd64 (from .../squashfs-modules-2.6.26-1-amd64_2.6.26+3.3-4_amd64.deb) ... Selecting previously deselected package squashfs-modules-2.6-amd64. Unpacking squashfs-modules-2.6-amd64 (from .../squashfs-modules-2.6-amd64_2%3a2.6.26-4_amd64.deb) ... Selecting previously deselected package uuid-runtime. Unpacking uuid-runtime (from .../uuid-runtime_1.41.3-1_amd64.deb) ... Processing triggers for man-db ... Setting up console-data (2:1.07-11) ... Looking for keymap to install: NONE Setting up libklibc (1.5.12-2) ... Setting up klibc-utils (1.5.12-2) ... Setting up libvolume-id0 (0.125-7) ... Setting up udev (0.125-7) ... A chroot environment has been detected, udev not started. Setting up initramfs-tools (0.92j) ... update-initramfs: deferring update (trigger activated) Setting up linux-image-2.6.26-1-amd64 (2.6.26-10) ... Running depmod. Running mkinitramfs-kpkg. WARNING: (loop-aes) Could not determine root device. Skipping. Setting up libmagic1 (4.26-1) ... Setting up file (4.26-1) ... Setting up locales (2.7-16) ... Generating locales (this might take a while)... Generation complete. Setting up sharutils (1:4.6.3-1) ... Setting up aufs-modules-2.6.26-1-amd64 (2.6.26+0+20080719-4) ... Setting up linux-image-2.6-amd64 (2.6.26+16) ... Setting up aufs-modules-2.6-amd64 (2:2.6.26-4) ... Setting up busybox (1:1.10.2-2) ... Setting up eject (2.1.5+deb1-4) ... Setting up sudo (1.6.9p17-1) ... No /etc/sudoers found... creating one for you. Setting up user-setup (1.23) ... Setting up live-initramfs (1.139.1-3) ... update-initramfs: deferring update (trigger activated) Setting up loop-aes-utils (2.13.1-4) ... Setting up squashfs-modules-2.6.26-1-amd64 (2.6.26+3.3-4) ... Setting up squashfs-modules-2.6-amd64 (2:2.6.26-4) ... Setting up uuid-runtime (1.41.3-1) ... Setting up kbd (1.14.1-4) ... Setting up console-common (0.7.80) ... Looking for keymap to install: NONE Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.26-1-amd64 WARNING: (loop-aes) Could not determine root device. Skipping. Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done Reading package lists... Done Building dependency tree Reading state information... Done P: Begin installing localization packages... Reading package lists... Done Building dependency tree Reading state information... Done P: Begin copying chroot local includes... P: Begin applying chroot local patches... P: Configuring package sysvinit P: Begin executing local hooks... P: Begin executing hooks... P: Begin executing hacks... P: Deconfiguring file /etc/kernel-img.conf P: Deconfiguring file /etc/apt/sources.list P: Deconfiguring file /etc/apt/apt.conf P: Deconfiguring file /etc/hostname P: Deconfiguring file /bin/hostname P: Deconfiguring file /etc/resolv.conf P: Deconfiguring file /etc/hosts P: Deconfiguring file /usr/sbin/policy-rc.d P: Deconfiguring file /sbin/start-stop-daemon P: Deconfiguring file /etc/debian_chroot P: Begin unmounting /sys... P: Begin unmounting /selinux... P: Begin unmounting /proc... P: Begin unmounting /dev/pts... P: Begin caching chroot stage... P: Begin unmounting filesystems... P: Setting up cleanup function P: Begin copying chroot... P: This may take a while. P: Begin mounting /dev/pts... P: Begin mounting /proc... P: Begin mounting /sys... P: Configuring file /etc/hosts P: Configuring file /etc/resolv.conf P: Configuring file /etc/hostname P: Configuring file /bin/hostname P: Configuring file /etc/apt/apt.conf P: Configuring file /etc/apt/sources.list Hit ftp://mirror.switch.ch lenny Release.gpg Hit ftp://mirror.switch.ch lenny/updates Release.gpg Hit ftp://mirror.switch.ch lenny Release Hit ftp://mirror.switch.ch lenny/updates Release Get:1 ftp://mirror.switch.ch lenny/main Packages/DiffIndex [2038B] Get:2 ftp://mirror.switch.ch lenny/updates/main Packages/DiffIndex Ign ftp://mirror.switch.ch lenny/updates/main Packages/DiffIndex Hit ftp://mirror.switch.ch lenny/updates/main Packages Fetched 2038B in 1s (1642B/s) Reading package lists... Done W: The "upgrade" command is deprecated; use "safe-upgrade" instead. Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done P: Begin building root filesystem image... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following NEW packages will be installed: squashfs-tools 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/96.8kB of archives. After unpacking 242kB will be used. Writing extended state information... Done Selecting previously deselected package squashfs-tools. (Reading database ... 12108 files and directories currently installed.) Unpacking squashfs-tools (from .../squashfs-tools_1%3a3.3-7_amd64.deb) ... Processing triggers for man-db ... Setting up squashfs-tools (1:3.3-7) ... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done Parallel mksquashfs: Using 2 processors Creating little endian 3.1 filesystem on filesystem.squashfs, block size 131072. [==============================================================================] 11937/11937 100% Exportable Little endian filesystem, data block size 131072, compressed data, compressed metadata, compressed fragments, duplicates are removed Filesystem size 94046.92 Kbytes (91.84 Mbytes) 34.33% of uncompressed filesystem size (273954.31 Kbytes) Inode table size 135021 bytes (131.86 Kbytes) 32.30% of uncompressed inode table size (417982 bytes) Directory table size 122493 bytes (119.62 Kbytes) 56.20% of uncompressed directory table size (217972 bytes) Number of duplicate files found 773 Number of inodes 12932 Number of files 10851 Number of fragments 1103 Number of symbolic links 635 Number of device nodes 80 Number of fifo nodes 2 Number of socket nodes 0 Number of directories 1364 Number of uids 3 root (0) libuuid (100) man (6) Number of gids 14 video (44) audio (29) tty (5) kmem (15) disk (6) adm (4) shadow (42) crontab (102) staff (50) libuuid (101) src (40) root (0) utmp (43) mail (8) Reading package lists... Done Building dependency tree Reading state information... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following packages will be REMOVED: squashfs-tools{p} 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 242kB will be freed. Writing extended state information... Done (Reading database ... 12118 files and directories currently installed.) Removing squashfs-tools ... Processing triggers for man-db ... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done P: Begin creating manifest... P: Begin installing local packages lists... P: Begin install linux-image... P: Begin installing debian-installer... Reading package lists... Done Building dependency tree Reading state information... Done P: Begin installing memtest... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following NEW packages will be installed: memtest86+ 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/72.3kB of archives. After unpacking 254kB will be used. Writing extended state information... Done Selecting previously deselected package memtest86+. (Reading database ... 12108 files and directories currently installed.) Unpacking memtest86+ (from .../memtest86+_2.01-1.1_amd64.deb) ... Processing triggers for man-db ... Setting up memtest86+ (2.01-1.1) ... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following packages will be REMOVED: memtest86+{p} 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 254kB will be freed. Writing extended state information... Done (Reading database ... 12123 files and directories currently installed.) Removing memtest86+ ... Purging configuration files for memtest86+ ... Processing triggers for man-db ... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done P: Begin installing syslinux... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following NEW packages will be installed: dosfstools{a} mtools{a} syslinux syslinux-common{a} 0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/809kB of archives. After unpacking 1778kB will be used. Writing extended state information... Done Selecting previously deselected package mtools. (Reading database ... 12108 files and directories currently installed.) Unpacking mtools (from .../mtools_3.9.11-1_amd64.deb) ... Selecting previously deselected package dosfstools. Unpacking dosfstools (from .../dosfstools_2.11-6_amd64.deb) ... Selecting previously deselected package syslinux-common. Unpacking syslinux-common (from .../syslinux-common_2%3a3.71+dfsg-5_all.deb) ... Selecting previously deselected package syslinux. Unpacking syslinux (from .../syslinux_2%3a3.71+dfsg-5_amd64.deb) ... Processing triggers for man-db ... Setting up mtools (3.9.11-1) ... Setting up dosfstools (2.11-6) ... Setting up syslinux-common (2:3.71+dfsg-5) ... Setting up syslinux (2:3.71+dfsg-5) ... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following packages will be REMOVED: dosfstools{u} mtools{u} syslinux{p} syslinux-common{u} 0 packages upgraded, 0 newly installed, 4 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 1778kB will be freed. Writing extended state information... Done (Reading database ... 12273 files and directories currently installed.) Removing syslinux ... Processing triggers for man-db ... (Reading database ... 12265 files and directories currently installed.) Removing dosfstools ... Removing mtools ... Removing syslinux-common ... Processing triggers for man-db ... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done P: Begin installing disk information... P: Begin copying binary includes... W: win32-loader inclusion is enabled but not found, ignoring. P: Begin copying binary local includes... P: Begin executing local hooks... P: Begin creating binary md5sum.txt... P: Begin building binary usb-hdd image... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done The following NEW packages will be installed: dosfstools libparted1.8-10{a} mtools parted syslinux syslinux-common{a} 0 packages upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 262kB/1071kB of archives. After unpacking 2425kB will be used. Writing extended state information... Done Get:1 ftp://mirror.switch.ch lenny/main libparted1.8-10 1.8.8.git.2008.03.24-11 [192kB] Get:2 ftp://mirror.switch.ch lenny/main parted 1.8.8.git.2008.03.24-11 [70.3kB] Fetched 262kB in 0s (288kB/s) Selecting previously deselected package mtools. (Reading database ... 12109 files and directories currently installed.) Unpacking mtools (from .../mtools_3.9.11-1_amd64.deb) ... Selecting previously deselected package dosfstools. Unpacking dosfstools (from .../dosfstools_2.11-6_amd64.deb) ... Selecting previously deselected package libparted1.8-10. Unpacking libparted1.8-10 (from .../libparted1.8-10_1.8.8.git.2008.03.24-11_amd64.deb) ... Selecting previously deselected package parted. Unpacking parted (from .../parted_1.8.8.git.2008.03.24-11_amd64.deb) ... Selecting previously deselected package syslinux-common. Unpacking syslinux-common (from .../syslinux-common_2%3a3.71+dfsg-5_all.deb) ... Selecting previously deselected package syslinux. Unpacking syslinux (from .../syslinux_2%3a3.71+dfsg-5_amd64.deb) ... Processing triggers for man-db ... Setting up mtools (3.9.11-1) ... Setting up dosfstools (2.11-6) ... Setting up libparted1.8-10 (1.8.8.git.2008.03.24-11) ... Setting up parted (1.8.8.git.2008.03.24-11) ... Setting up syslinux-common (2:3.71+dfsg-5) ... Setting up syslinux (2:3.71+dfsg-5) ... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done 0+0 enregistrements lus 0+0 enregistrements écrits 0 bytes (0 B) copied, 1.0337e-05 s, 0.0 kB/s Usage: losetup loop_device give info losetup -a | --all list all used losetup -d | --detach <loopdev> delete losetup -f | --find find unused losetup -j | --associated <file> [-o <num>] list all associated with <file> losetup [ options ] {-f|--find|loopdev} <file> setup Options: -e | --encryption <type> enable data encryption with specified <name/num> -h | --help this help -o | --offset <num> start at offset <num> into file --sizelimit <num> loop limited to only <num> bytes of the file -p | --pass-fd <num> read passphrase from file descriptor <num> -r | --read-only setup read-only loop device --show print device name (with -f <file>) -N | --nohashpass Do not hash the given password (Debian hashes) -k | --keybits <num> specify number of bits in the hashed key given to the cipher. Some ciphers support several key sizes and might be more efficient with a smaller key size. Key sizes < 128 are generally not recommended -v | --verbose verbose mode P: Begin unmounting filesystems...