kernel not found during installation

Rudy Gevaert Rudy.Gevaert at UGent.be
Mon May 7 15:29:46 CEST 2007


Thomas Lange wrote:
>>>>>> On Mon, 07 May 2007 12:24:05 +0200, Rudy Gevaert <Rudy.Gevaert at UGent.be> said:
> 
>     > wopr:/srv/fai/config/package_config# cat X4100
>     > PACKAGES install
>     > kernel-image-2.6.16.20-pure-amd64
> 
> 
>     > But, after the installation, when I chroot into /tmp/target I can do:
> Your FAI configuration may copy another sources.list at the end
> of the installation (have a look at the log files) . Check if the
> /tmp/target/etc/apt/sources.list file is the same _during_ installation.
> 

I long thought it was that, but after adding a updatebase.LAST hook that 
cats the sources.list in the chroot I see:

Calling hook: updatebase.LAST
sources.list:
--------------------
# These lines should work for many sites
# A more comprehensive example can be found in 
/usr/share/doc/fai/examples/etc

deb http://ftp.be.debian.org/debian etch main contrib non-free
#deb http://ftp.be.debian.org/debian etch-proposed-updates \
main contrib non-free

deb http://security.debian.org/debian-security etch/updates \
main contrib non-free
deb http://debs.ugent.be/debian etch main
--------------------

(I've done the formatting)


I have other packages in that repository and those are getting installed:


Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

   bigsister-agent netbackup debian-updates bigsister

*** WARNING ***   Ignoring these trust violations because
                   aptitude::CmdLine::Ignore-Trust-Violations is 'true'!
Writing extended state information...
Get:1 http://debs.ugent.be etch/main bigsister 1.02-4 [904kB]
Get:2 http://ftp.be.debian.org etch/main console-data 2:1.01-7 [1097kB]
Get:3 http://debs.ugent.be etch/main bigsister-agent 1.02-4 [63.4kB]
Get:4 http://debs.ugent.be etch/main debian-updates 1.6.2-1 [10.7kB]
Get:5 http://debs.ugent.be etch/main netbackup 5.1-2 [51.8MB]


This is part of the repository:

wopr:/ugdisk/debs/dists/etch/main# find .
.
./source
./source/Sources.gz
./binary-i386
./binary-i386/netbackup_5.1-3_i386.deb
./binary-i386/Packages
./binary-i386/Packages.gz
./binary-i386/ugldap-opt-bin_4.2-2_i386.deb
./binary-i386/ugldap-opt-control_4.2-2_i386.deb
./binary-i386/ugldap-opt-lib_4.2-2_i386.deb
./binary-i386/ugldap-opt-man_4.2-2_i386.deb
./binary-i386/ugldap-opt-server_4.2-2_i386.deb
./binary-i386/ugldap-opt_4.2-2_i386.deb
./binary-amd64
./binary-amd64/Packages
./binary-amd64/Packages.gz
./binary-amd64/kernel-image-2.6.16.20-pure-amd64_2_amd64.deb
./binary-amd64/Release
./binary-amd64/netbackup_5.1-3_amd64.deb
./binary-amd64/ugldap_2.8-1_amd64.deb
./binary-amd64/mpt-status_1.2.0-1~sarge.1_amd64.deb
./binary-all
./binary-all/bigsister-agent_1.02-4_all.deb
./binary-all/bigsister_1.02-4_all.deb
./binary-all/debian-updates_1.6.2-1_all.deb
./binary-all/Packages

Part of my Packages.gz file:


Package: kernel-image-2.6.16.20-pure-amd64
Source: kernel-source-2.6.16.20-pure-amd64
Version: 2
Priority: optional
Section: base
Maintainer: Unknown Kernel Package Maintainer 
<unknown at unconfigured.in.etc.kernel-pkg.conf>
Depends: coreutils | fileutils (>= 4.0)
Suggests: lilo (>= 19.1) | grub, fdutils, 
kernel-doc-2.6.16.20-pure-amd64 | kernel-source-2.6.16.20-pure-amd64
Provides: kernel-image, kernel-image-2.6
Architecture: amd64
Filename: 
dists/etch/main/binary-amd64/kernel-image-2.6.16.20-pure-amd64_2_amd64.deb
Size: 7469740
Installed-Size: 21332
MD5sum: 6ee92296753263394170a9b12eccf53f
Description: Linux kernel binary image for version 2.6.16.20-pure-amd64.
  This package contains the Linux kernel image for version 
2.6.16.20-pure-amd64,
  the corresponding System.map file, and the modules built by the
  packager.  It also contains scripts that try to ensure that the
  system is not left in a unbootable state after an update.
  .
  If you wish to update a bootdisk, or to use a bootloader to make
  installing and using the image easier, we suggest you install the latest
  fdutils (for formatting a floppy to be used as boot disk), and LILO, for a
  powerful bootloader. Of course, both these are optional.
  .
  Kernel image packages are generally produced using kernel-package,
  and it is suggested that you install that package if you wish to
  create a custom kernel from the sources. Please look at 
kernel-img.conf(5),
  and /usr/share/doc/kernel-package/README.gz  from the package 
kernel-package
  for details on how to tailor the  installation of this or any other kernel
  image package

Package: netbackup
Version: 5.1-2
Priority: extra
Section: alien
Maintainer: UGent DICT <systemen at ugent.be>
Depends: xinetd
Architecture: amd64
Filename: dists/etch/main/binary-amd64/netbackup_5.1-3_amd64.deb
Size: 51796672
Installed-Size: 91888
MD5sum: 2af87d0a229b674646a41c7ef15848ae
Description: VERITAS NetBackup client software
  VERITAS NetBackup client software
  .
  (Converted from a rpm package by alien version 8.51.)




Do you have any other ideas?

Thanks in advance,



-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert at UGent.be          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep Systemen                    Systems group
Universiteit Gent                 Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



More information about the linux-fai mailing list