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

Re: Kernel source packages..



On Mon, Apr 14, 2008 at 12:52:41AM +0000, Digby Tarvin wrote:
> Can anyone shed any light on the differences between the
> various kernel source packages in the repository,

kernel-source-* are for sarge and below
linux-source-* are for etch and beyond
Then do 
apt-cache show $PACKAGE
and read the Description:
(for example, difference between linux-source-2.6.18 and linux-tree-2.6.18)

> and which is
> the best choice for just being able to reproduce the running kernel?

  apt-cache show linux-image-$(uname -r)|grep ^Source:

Possibly it will return that the source package for your running kernel is

linux-2.6

then (if you use deb-src lines in sources.list)

 grep -A1 "^Package: linux-2.6" /var/lib/apt/lists/*_Sources|less

will show all binary packages produced by the linux-2.6 source package.

Chose the linux-source-* or linux-tree-* or whatever you prefer (possibly 
linux-source-2.6.18 or linux-source-2.6.24).

If you want to recompile, also
apt-cache show kernel-package
might be useful

-- 
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


Reply to: