Problems rebuilding binary image
Hi, I'm new to the mailing list, sorry if I'm not using the correct format.
System: Ubuntu 8.04
live-helper: 2.0~a8-1from sid repo
Arch: x86
I (somewhat)successfully built my first live image but needed to go back
and change some settings (i.e. runlevel, etc). I first did a 'sudo lh
clean --binary' then changed the settings in the chroot directory and
ran 'sudo lh binary'. Judging from the terminal output, I thought
everything went ok but after completion, I discovered 'lh binary' only
created binary/live/filesystem.squashfs and no iso image. I have
repeated the process again and got the same result. From my
understanding, this is not correct so if anyone could tell me what I am
doing wrong it would be greatly appreciated.
Here is the output:
user@user-laptop:~/debian-live$ sudo lh clean --binary
[sudo] password for user:
user@user-laptop:~/debian-live$ sudo lh binary
P: Setting up cleanup function
P: Begin copying chroot...
P: This may take a while.
P: Begin mounting /dev/pts...
W: skipping chroot_devpts
P: Begin mounting /proc...
W: skipping chroot_proc
P: Begin mounting /sys...
W: skipping chroot_sysfs
P: Configuring file /etc/hosts
W: skipping chroot_hosts
P: Configuring file /etc/resolv.conf
W: skipping chroot_resolv
P: Configuring file /etc/hostname
W: skipping chroot_hostname
P: Configuring file /usr/sbin/policy-rc.d
W: skipping chroot_sysv-rc
P: Configuring file /etc/apt/apt.conf
W: skipping chroot_apt
P: Configuring file /etc/apt/sources.list
Get:1 http://security.debian.org lenny/updates Release.gpg
[835B]
Get:2 http://security.debian.org lenny/updates Release
[40.8kB]
Get:3 http://ftp.de.debian.org lenny Release.gpg [1033B]
Hit http://ftp.de.debian.org lenny Release
Ign http://ftp.de.debian.org lenny/main Packages/DiffIndex
Get:4 http://security.debian.org lenny/updates/main Packages [359kB]
Ign http://ftp.de.debian.org lenny/non-free Packages/DiffIndex
Hit http://ftp.de.debian.org lenny/main Packages
Hit http://ftp.de.debian.org lenny/non-free Packages
Get:5 http://security.debian.org lenny/updates/non-free Packages
[20B]
Fetched 402kB in 7s
(54.0kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 4555kB of archives.
After this operation, 0B of additional disk space will be used.
Get:1 http://security.debian.org lenny/updates/main libc6 2.7-18lenny2
[4555kB]
Fetched 4555kB in 1min3s
(71.3kB/s)
Preconfiguring packages ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 7944 files and directories currently installed.)
Preparing to replace libc6 2.7-18lenny1 (using
.../libc6_2.7-18lenny2_i386.deb) ...
Unpacking replacement libc6 ...
Processing triggers for man-db ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libc6 (2.7-18lenny2) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
debian-archive-keyring is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit http://security.debian.org lenny/updates
Release.gpg
Hit http://ftp.de.debian.org lenny
Release.gpg
Hit http://security.debian.org lenny/updates Release
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Hit http://ftp.de.debian.org lenny Release
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/main Packages/DiffIndex
Hit http://security.debian.org lenny/updates/main Packages
Hit http://security.debian.org lenny/updates/non-free Packages
Ign http://ftp.de.debian.org lenny/non-free Packages/DiffIndex
Hit http://ftp.de.debian.org lenny/main Packages
Hit http://ftp.de.debian.org lenny/non-free Packages
Reading package lists... Done
P: Begin building root filesystem image...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
squashfs-source
The following NEW packages will be installed:
squashfs-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 92.9kB of archives.
After this operation, 238kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org lenny/main squashfs-tools 1:3.3-7 [92.9kB]
Fetched 92.9kB in 4s (23.1kB/s)
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package squashfs-tools.
(Reading database ... 7944 files and directories currently installed.)
Unpacking squashfs-tools (from .../squashfs-tools_1%3a3.3-7_i386.deb) ...
Processing triggers for man-db ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up squashfs-tools (1:3.3-7) ...
P: Preparing squashfs image...
P: This may take a while.
Parallel mksquashfs: Using 1 processor
Creating little endian 3.1 filesystem on filesystem.squashfs, block size
131072.
Exportable Little endian filesystem, data block size 131072, compressed
data, compressed metadata, compressed fragments, duplicates are removed
Filesystem size 58594.43 Kbytes (57.22 Mbytes)
39.53% of uncompressed filesystem size (148210.22 Kbytes)
Inode table size 91207 bytes (89.07 Kbytes)
32.78% of uncompressed inode table size (278226 bytes)
Directory table size 78481 bytes (76.64 Kbytes)
55.52% of uncompressed directory table size (141346 bytes)
Number of duplicate files found 724
Number of inodes 8535
Number of files 7069
Number of fragments 472
Number of symbolic links 595
Number of device nodes 0
Number of fifo nodes 2
Number of socket nodes 0
Number of directories 869
Number of uids 2
unknown (1000)
root (0)
Number of gids 1
adm (4)
P: Deconfiguring file /etc/kernel-img.conf
P: Deconfiguring file /etc/apt/sources.list
Get:1 http://security.debian.org lenny/updates Release.gpg
[835B]
Get:2 http://security.debian.org lenny/updates Release
[40.8kB]
Get:3 http://cdn.debian.net lenny Release.gpg [1033B]
Get:4 http://cdn.debian.net lenny Release [73.8kB]
Get:5 http://security.debian.org lenny/updates/main Packages [359kB]
Get:6 http://cdn.debian.net lenny/main Packages [6725kB]
Get:7 http://security.debian.org lenny/updates/non-free Packages
[20B]
Get:8 http://cdn.debian.net lenny/non-free Packages
[122kB]
Fetched 7323kB in 2min28s
(49.4kB/s)
Reading package lists... Done
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 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
Get:1 http://security.debian.org lenny/updates Release.gpg [835B]
Hit http://security.debian.org lenny/updates Release
Err http://security.debian.org lenny/updates Release
Get:2 http://ftp.de.debian.org lenny Release.gpg [1033B]
Get:3 http://security.debian.org lenny/updates Release [40.8kB]
Hit http://ftp.de.debian.org lenny Release
Err http://ftp.de.debian.org lenny Release
Get:4 http://ftp.de.debian.org lenny Release [73.8kB]
Ign http://security.debian.org lenny/updates Release
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex
Hit http://security.debian.org lenny/updates/main Packages
Hit http://security.debian.org lenny/updates/non-free Packages
Ign http://ftp.de.debian.org lenny Release
Ign http://ftp.de.debian.org lenny/main Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/non-free Packages/DiffIndex
Hit http://ftp.de.debian.org lenny/main Packages
Hit http://ftp.de.debian.org lenny/non-free Packages
Fetched 116kB in 4s (24.7kB/s)
Reading package lists... Done
W: GPG error: http://security.debian.org lenny/updates Release: Couldn't
access keyring: 'No such file or directory'
W: GPG error: http://ftp.de.debian.org lenny Release: Couldn't access
keyring: 'No such file or directory'
W: You may want to run apt-get update to correct these problems
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 4555kB of archives.
After this operation, 0B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libc6
E: There are problems and -y was used without --force-yes
P: Begin unmounting filesystems...
Reply to: