Andy Whitcroft wrote:
> That is unexpected as the headers are generated from the same source as
> the kernel in theory, and both should have been built from the same
> version of utsrelease.h and thus have the same value.
>
> Checking the flavour specific headers those are (as expected) flavour
> specific headers. They appear to have the correct version of the header
> file matching the version number:
>
> ==>
> ./headers-amd64/usr/src/linux-headers-2.6.27-10-server/include/linux/utsrelease.h
> <==
> #define UTS_RELEASE "2.6.27-10-server"
>
> ==>
> ./headers-i386/usr/src/linux-headers-2.6.27-10-server/include/linux/utsrelease.h
> <==
> #define UTS_RELEASE "2.6.27-10-server"
>
> I would therefore expect this to have been correct without manual
> intervention. Can we confirm that your installed header package is
> identicle to the one I have. You can find the installed package file in
> /var/cache/apt, something like this:
>
> md5sum /var/cache/apt/archives/linux-headers-2.6.27-10-server_*.deb
>
> I am expecting the following:
>
> a...@dm$ sum -r linux-headers-2.6.27-10*
> 47256 630 linux-headers-2.6.27-10-server_2.6.27-10.20_amd64.deb
> 00922 614 linux-headers-2.6.27-10-server_2.6.27-10.20_i386.deb
> a...@dm$
>
> Also could you have a look at the installation logs from apt for when it
> installed the package and see what if anything it said. These are in
> /var/log/apt/term.log and its predecessors, searching for the package
> name should find it.
>
> ** Changed in: linux (Ubuntu)
> Assignee: (unassigned) => Andy Whitcroft (apw)
>Status: Triaged => In Progress
>
> ** Summary changed:
>
> - utsrelease.h states that version is 2.6.27-7
> + utsrelease.h states that version is 2.6.27-7 following install of
> 2.6.27-10-server
>
> ** Changed in: linux (Ubuntu)
>Status: In Progress => Incomplete
>
>
Well, I don't have the 2.6.27-10 headers package in /var/cache/apt/archives:
r...@jmitchel-desktop:/home/jmitchel# md5sum
/var/cache/apt/archives/linux-headers-2.6.27-10*
md5sum: /var/cache/apt/archives/linux-headers-2.6.27-10*: No such file
or directory
And here's the log where they were replaced:
Selecting previously deselected package linux-headers-2.6.27-11-server.
Unpacking linux-headers-2.6.27-11-server (from
.../linux-headers-2.6.27-11-server_2.6.27-11.22_i
386.deb) ...
Preparing to replace linux-headers-generic 2.6.27.10.13 (using
.../linux-headers-generic_2.6.27.
11.14_i386.deb) ...
Unpacking replacement linux-headers-generic ...
Preparing to replace linux-headers-server 2.6.27.10.13 (using
.../linux-headers-server_2.6.27.11
.14_i386.deb) ...
Unpacking replacement linux-headers-server ...
And there's no other mention of 2.6.27-10
r...@jmitchel-desktop:/var/log/apt# gzcat term.*.gz | grep
linux-headers-server
Preparing to replace linux-headers-server 2.6.22.15.22 (using
.../linux-headers-server_2.6.24.22.24_i386.deb) ...
Unpacking replacement linux-headers-server ...
Preparing to replace linux-headers-server 2.6.27.10.13 (using
.../linux-headers-server_2.6.27.11.14_i386.deb) ...
Unpacking replacement linux-headers-server ...
Setting up linux-headers-server (2.6.27.11.14) ...
Here's the dates on the directories in /usr/src:
r...@jmitchel-desktop:/usr/src# ls -alt | more
total 547724
drwxrwsr-x 28 root src 4096 2009-01-18 19:47 .
drwxr-xr-x 7 root root 4096 2009-01-18 19:47
linux-headers-2.6.27-11-server
drwxr-xr-x 7 root root 4096 2009-01-18 19:47
linux-headers-2.6.27-11-generic
drwxr-xr-x 22 root root 4096 2009-01-18 19:47 linux-headers-2.6.27-11
drwxr-xr-x 26 root root 4096 2009-01-16 00:21 linux-source-2.6.27
lrwxrwxrwx 1 root src 19 2009-01-15 23:31 linux ->
linux-source-2.6.27
-rw-r--r-- 1 root root 52018876 2009-01-15 07:30
linux-source-2.6.27.tar.bz2
drwxr-xr-x 7 root root 4096 2008-12-21 06:18
linux-headers-2.6.27-10-server
drwxr-xr-x 3 root root 4096 2008-12-08 17:25 nvidia-173.14.12
drwxr-xr-x 14 root root 4096 2008-12-06 06:34 ..
drwxr-xr-x 7 root root 4096 2008-12-06 06:34
linux-headers-2.6.27-10-generic
drwxr-xr-x 22 root root 4096 2008-12-06 06:33 linux-headers-2.6.27-10
md5sum: /var/cache/apt/archives/linux-headers-2.6.27-10*: No such file
or directory
r...@jmitchel-desktop:/var/lib/dpkg/info# apt-get --reinstall install
linux-headers-2.6.27-10-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not
upgraded.
Need to get 628kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com intrepid-proposed/main
linux-headers-2.6.27-10-server 2.6.27-10.20 [628kB]
Fetched 628kB in 1s (616kB/s)
(Reading database ... 284890 files and directories currently installed.)
Preparing to replace linux-headers-2.6.27-10-server 2.6.2