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

Re: Patches included - Re: live-build3 a3 "--binary-pool true" error



Due to the syslog of the installation with "DEBCONF_DEBUG=developer" there is a missing file on the image
(see below)

base-installer: Failed to fetch file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not found

Another issue is that if I make an offline installation all the "deb http://.... " entries in the source-file should be commented out during the installation to avoid an error message (or at least the resulting errors ignored).

Any hints?

regards
Mark

# ---

Sep 29 18:47:39 debconf: -->  PROGRESS INFO base-installer/section/configure_apt_preferences
Sep 29 18:47:39 debconf:<-- 10 base-installer/section/configure_apt_preferences does not exist
Sep 29 18:47:39 debconf: -->  GET debian-installer/allow_unauthenticated
Sep 29 18:47:39 debconf:<-- 0 false
Sep 29 18:47:39 debconf: -->  PROGRESS SET 104
Sep 29 18:47:39 debconf:<-- 0 OK
Sep 29 18:47:39 debconf: -->  PROGRESS INFO base-installer/section/configure_apt
Sep 29 18:47:39 debconf:<-- 0 OK
Sep 29 18:47:39 base-installer: Using CD-ROM mount point /media/cdrom/
Sep 29 18:47:39 base-installer: Identifying..
Sep 29 18:47:39 base-installer: [4de406d970f7dda5c2aa21fdeb9c3954-2]
Sep 29 18:47:39 base-installer: Scanning disc for index files..
Sep 29 18:47:39 base-installer: Found 1 package indexes, 0 source indexes, 0 translation indexes and 0 signatures
Sep 29 18:47:39 base-installer: Found label 'Debian GNU/Linux unstable _Sid_ - Official Snapshot i386 LIVE/INSTALL Binary 20100928-20:58'
Sep 29 18:47:39 base-installer: This disc is called:
Sep 29 18:47:39 base-installer: 'Debian GNU/Linux unstable _Sid_ - Official Snapshot i386 LIVE/INSTALL Binary 20100928-20:58'
Sep 29 18:47:39 base-installer: Copying package lists...
Sep 29 18:47:39 base-installer: ^MReading Package Indexes... 0%^M
Sep 29 18:47:39 base-installer: ^MReading Package Indexes... 1%^M
Sep 29 18:47:39 base-installer: ^MReading Package Indexes... Done^M
Sep 29 18:47:39 base-installer:
Sep 29 18:47:39 base-installer: Writing new source list
Sep 29 18:47:39 base-installer: Source list entries for this disc are:
Sep 29 18:47:39 base-installer: deb cdrom:[Debian GNU/Linux unstable _Sid_ - Official Snapshot i386 LIVE/INSTALL Binary 20100928-20:58]/ sid main
Sep 29 18:47:39 base-installer: Repeat this process for the rest of the CDs in your set.
Sep 29 18:47:39 debconf: -->  PROGRESS SET 105
Sep 29 18:47:39 debconf:<-- 0 OK
Sep 29 18:47:39 debconf: -->  PROGRESS INFO base-installer/section/apt_update
Sep 29 18:47:39 debconf:<-- 0 OK
Sep 29 18:47:40 base-installer: Ign file: sid Release.gpg
Sep 29 18:47:40 base-installer: Ign file:/live/image/debian/ sid/main Translation-en
Sep 29 18:47:40 base-installer: Ign file: sid Release
Sep 29 18:47:40 base-installer: Ign cdrom://[Debian GNU/Linux unstable _Sid_ - Official Snapshot i386 LIVE/INSTALL Binary 20100928-20:58] sid Release.gpg
Sep 29 18:47:40 base-installer: Ign file: sid/main i386 Packages
Sep 29 18:47:40 base-installer: Ign file: sid/main i386 Packages
Sep 29 18:47:40 base-installer: Err file: sid/main i386 Packages
Sep 29 18:47:40 base-installer:   File not found
Sep 29 18:47:40 base-installer: Ign cdrom://[Debian GNU/Linux unstable _Sid_ - Official Snapshot i386 LIVE/INSTALL Binary 20100928-20:58]/ sid/main Translation-en
Sep 29 18:47:40 base-installer: Ign cdrom://[Debian GNU/Linux unstable _Sid_ - Official Snapshot i386 LIVE/INSTALL Binary 20100928-20:58] sid Release
Sep 29 18:47:40 base-installer: Ign cdrom://[Debian GNU/Linux unstable _Sid_ - Official Snapshot i386 LIVE/INSTALL Binary 20100928-20:58] sid/main i386 Packages/DiffIndex
Sep 29 18:47:40 base-installer: Get:1 http://live.debian.net sid-snapshots Release.gpg [489B]
Sep 29 18:47:40 base-installer: Ign http://live.debian.net/ sid-snapshots/main Translation-en
Sep 29 18:47:40 base-installer: Get:2 http://live.debian.net sid-snapshots Release [50.2kB]
Sep 29 18:47:40 base-installer: Get:3 http://live.debian.net sid-snapshots/main Sources [2456B]
Sep 29 18:47:41 base-installer: Get:4 http://live.debian.net sid-snapshots/main i386 Packages [3345B]
Sep 29 18:47:41 base-installer: Fetched 56.5kB in 0s (57.9kB/s)
Sep 29 18:47:41 base-installer: W
Sep 29 18:47:41 base-installer: :
Sep 29 18:47:41 base-installer: Failed to fetch file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not found
Sep 29 18:47:41 base-installer:
Sep 29 18:47:41 base-installer: E
Sep 29 18:47:41 base-installer: :
Sep 29 18:47:41 base-installer: Some index files failed to download, they have been ignored, or old ones used instead.
Sep 29 18:47:41 base-installer:
Sep 29 18:47:41 base-installer: warning: apt update failed: 100
Sep 29 18:47:41 debconf: -->  PROGRESS SET 108
# ---




On 28.09.2010 01:07, Mark Schneider wrote:
There is new error message in the install syslog (to HDD) so please hold on and *don't apply patch-lb3-binary-pool_lb_binary_rootfs.diff* until I check it again! - thanks for your understanding.

The error indicates that the content of "/etc/apt/sources.list.d/live-media.list" on the live image is correct for installing *offline* some additional packages from live mode to live mode
*but not* when installing from live mode to HDD (my interpretation yet).

Please correct me if I am wrong - thank you in advance for any hints.

regards,
Mark

PS. full syslog install content: http://paste.debian.net/92131

# ---

base-installer: Failed to fetch file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz File not found

# ---


On 27.09.2010 23:56, Mark Schneider wrote:
Hi,

please check, test it yourself and apply these simple patches
until there is no better solution for the issue described below.
Please feel free to modify it if you prefer another coding style
or whatever - I don't mind if it still works.

patch-lb3-binary-pool_lb_binary_rootfs.diff
patch-lb3-binary-pool_lb_chroot_sources.diff

Thanks/regards
Mark

On 26.09.2010 23:06, Mark Schneider wrote:
Hi,

thank you for this option (s. subject).

"lb build" stopped however with the following error message:

W: Failed to fetch file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz File not found

3 ---

D: Executing: apt-key add -
OK
D: Executing: apt-get --yes update
Ign file: sid Release.gpg
Ign file:/live/image/debian/ sid/main Translation-en
Ign file:/root/local-packages/ ./ Translation-en
Get:1 file: ./ Release.gpg [316B]
Ign file: sid Release
Ign file: sid/main i386 Packages
Ign file: sid/main i386 Packages
Err file: sid/main i386 Packages
  File not found
Get:2 file: ./ Release [754B]
Ign file: ./ Packages
Ign file: ./ Packages
Get:3 http://live.debian.net sid-snapshots Release.gpg [489B]
Ign http://live.debian.net/ sid-snapshots/main Translation-en
Get:4 http://ftp.de.debian.org sid Release.gpg [835B]
Ign http://ftp.de.debian.org/debian/ sid/main Translation-en
Get:5 http://live.debian.net sid-snapshots Release [50.2kB]
Get:6 http://ftp.de.debian.org sid Release [104kB]
Get:7 http://live.debian.net sid-snapshots/main Sources [2456B]
Get:8 http://live.debian.net sid-snapshots/main i386 Packages [3345B]
Get:9 http://ftp.de.debian.org sid/main i386 Packages [6838kB]
Fetched 7000kB in 13s (529kB/s)
W: Failed to fetch file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz File not found

E: Some index files failed to download, they have been ignored, or old ones used instead.
LH='1'
P: Begin unmounting filesystems...
# ---

I didn't check the lb3 code yet.

regards,

Mark







--
IT-Infrastrukturen.ORG

ms@it-infrastrukturen.org
http://www.it-infrastrukturen.org

+++ Free infrastructure software for all. +++


Reply to: