My yum.conf : exactarch=0 usecachedb=1 rpmdb-fedora is installed. $ rpm -q kernel kernel-2.6.5-1.358 $ rpm -q kernel-source package kernel-source is not installed (normal) $ yum info kernel-source Gathering header information file(s) from server(s) [...] Looking in Available Packages: Name : kernel-source <= from updates/testing/2/i386 Arch : noarch <= arch change Version: 2.6.6 Release: 1.383 [...] Name : kernel-source <= from FC2 Arch : i386 Version: 2.6.5 Release: 1.358 [...] $ yum install kernel-source Gathering header information file(s) from server(s) [...] Finding updated packages Downloading needed headers Resolving dependencies Dependencies resolved I will do the following: Is this ok [y/N]: y Downloading Packages Running test transaction: /etc/security/selinux/file_contexts: No such file or directory Test transaction complete, Success! /etc/security/selinux/file_contexts: No such file or directory Transaction(s) Complete Nothing happened ! $ rpm -q kernel-source package kernel-source is not installed More "strange". $ rpm -q --requires -p kernel-source-2.6.6-1.383.noarch.rpm [...] qt-devel [...] $ rpm -e qt-devel $ yum install kernel-source Gathering header information file(s) from server(s) [...] Finding updated packages Downloading needed headers Resolving dependencies Dependencies resolved I will do the following: Is this ok [y/N]: y Downloading Packages Running test transaction: /etc/security/selinux/file_contexts: No such file or directory Test transaction complete, Success! /etc/security/selinux/file_contexts: No such file or directory Transaction(s) Complete Manually add the "old" kernel-source $ rpm -i qt-devel-3.3.2-2.i386.rpm kernel-source-2.6.5-1.358.i386.rpm $ yum install kernel-source Gathering header information file(s) from server(s) [...] Finding updated packages Downloading needed headers kernel-source is installed and is the latest version. $ yum update kernel-source Gathering header information file(s) from server(s) [...] Finding updated packages Downloading needed headers Resolving dependencies Dependencies resolved I will do the following: [install: kernel-source 2.6.6-1.383.noarch] Is this ok [y/N]: y Downloading Packages Getting kernel-source-2.6.6-1.383.noarch.rpm Running test transaction: /etc/security/selinux/file_contexts: No such file or directory Test transaction complete, Success! /etc/security/selinux/file_contexts: No such file or directory kernel-source 100 % done 1/1 Installed: kernel-source 2.6.6-1.383.noarch Transaction(s) Complete This work :-) $ rpm -q kernel-source kernel-source-2.6.5-1.358 kernel-source-2.6.6-1.383 (fine) $ yum info kernel-source Gathering header information file(s) from server(s) [...] Looking in Installed Packages: Name : kernel-source Arch : i386 Version: 2.6.5 Release: 1.358 [...] Name : kernel-source Arch : i386 Version: 2.6.5 Release: 1.358 [...] No 2.6.6-1.383. Perhaps it's because kernel-source change its arch from "i386" to "noarch". Please note that the default yum.conf use "exactarch=1". I don't think it's a good idea to change kernel-source arch during FC2 . I think we should push this change for FC3.
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=