kernel not found during installation

Rudy Gevaert Rudy.Gevaert at UGent.be
Mon May 7 12:24:05 CEST 2007


Hi,

I'm still have problems installing my AMD64 bit machines.  I fixed my 
10-base-classes script so it outputs AMD64 when I boot my AMD64 machines.

* classes seem ok:

spring:/# echo $classes
DEFAULT LINUX AMD64 FAIBASE UGENT GRUB X4100 spring LAST

* package config seems ok to:

wopr:/srv/fai/config/package_config# cat X4100
PACKAGES install
kernel-image-2.6.16.20-pure-amd64

* during install I get:
software.log:WARNING: These unknown packages are removed from the 
installation list: kernel-image-2.6.16.20-pure-amd64

So he wants to install it, but can't find it.

* but my sources.list in my chroot seems ok (see last line):

spring:/# cat etc/apt/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 have several hooks that create my sources.list.  My fai.log shows no 
errors:

Calling hook: updatebase.DEFAULT
fcopy: no matching file for any class for etc/apt/sources.list defined.
updatebase.DEFAULT   OK.
Calling hook: updatebase.UGENT
ainsl: appending to /tmp/target/etc/apt/sources.list: deb 
http://debs.ugent.be/debian etch main
updatebase.UGENT     OK.
Calling task_updatebase
Updating base
Ign http://debs.ugent.be etch Release.gpg
Ign http://debs.ugent.be etch Release
Get:1 http://ftp.be.debian.org etch Release.gpg [378B]
Get:2 http://debs.ugent.be etch/main Packages [1854B]
Hit http://ftp.be.debian.org etch Release
Ign http://ftp.be.debian.org etch/main Packages/DiffIndex
Get:3 http://ftp.be.debian.org etch/contrib Packages [60.2kB]
Get:4 http://ftp.be.debian.org etch/non-free Packages [76.9kB]
Hit http://ftp.be.debian.org etch/main Packages
Get:5 http://security.debian.org etch/updates Release.gpg [189B]
Get:6 http://security.debian.org etch/updates Release [22.5kB]
Get:7 http://security.debian.org etch/updates/main Packages [58.3kB]
Get:8 http://security.debian.org etch/updates/contrib Packages [20B]
Get:9 http://security.debian.org etch/updates/non-free Packages [20B]
Fetched 220kB in 1s (162kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading package lists...
Building dependency tree...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Replacing available packages info, using /tmp/tmp.fhTETK1577.
Information about 18171 package(s) was updated.
Calling hook: instsoft.FAIBASE
fcopy: copied /var/lib/fai/config/files/etc/kernel-img.conf/DEFAULT to 
/tmp/target/etc/kernel-img.conf
instsoft.FAIBASE     OK.
Calling task_instsoft
Installing software may take a while
install_packages: read config file 
/var/lib/fai/config/package_config/DEFAULT
install_packages: read config file 
/var/lib/fai/config/package_config/FAIBASE
install_packages: read config file /var/lib/fai/config/package_config/UGENT
install_packages: read config file /var/lib/fai/config/package_config/X4100

But, after the installation, when I chroot into /tmp/target I can do:

spring:/# apt-cache policy kernel-image-2.6.16.20-pure-amd64
kernel-image-2.6.16.20-pure-amd64:
   Installed: (none)
   Candidate: 2
   Version table:
      2 0
         500 http://debs.ugent.be etch/main Packages

So that kernel is indeed in my local repository.

I can even install that kernel:

spring:/# apt-get install kernel-image-2.6.16.20-pure-amd64
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
   fdutils kernel-doc-2.6.16.20-pure-amd64 
kernel-source-2.6.16.20-pure-amd64
The following NEW packages will be installed:
   kernel-image-2.6.16.20-pure-amd64
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 7470kB of archives.
After unpacking 21.8MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
   kernel-image-2.6.16.20-pure-amd64
Install these packages without verification [y/N]? y
Get:1 http://debs.ugent.be etch/main kernel-image-2.6.16.20-pure-amd64 2 
[7470kB]
Fetched 7470kB in 0s (11.6MB/s)
Selecting previously deselected package kernel-image-2.6.16.20-pure-amd64.
(Reading database ... 24819 files and directories currently installed.)
Unpacking kernel-image-2.6.16.20-pure-amd64 (from 
.../kernel-image-2.6.16.20-pure-amd64_2_amd64.deb) ...
Setting up kernel-image-2.6.16.20-pure-amd64 (2) ...
...

Any further tips or trouble shooting tips would be very helpful.

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