recipe for building my own kernel for 10.04?

sktsee sktsee at tulsaconnect.com
Tue May 11 15:00:39 UTC 2010


On Tue, 11 May 2010 10:21:54 -0400, Tom H wrote:

> On Tue, May 11, 2010 at 10:12 AM, sktsee <sktsee at tulsaconnect.com>
> wrote:
>> On Tue, 11 May 2010 06:58:12 -0400, Robert P. J. Day wrote:
>>
>>> On Tue, 11 May 2010, Tom H wrote:
>>>
>>>> On Tue, May 11, 2010 at 6:42 AM, Robert P. J. Day
>>>> <rpjday at crashcourse.ca> wrote:
>>>> > On Mon, 10 May 2010, Tom H wrote:
>>>> >
>>>> >> https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
>>>> >
>>>> > huh, that looks fairly straightforward. except for the occasional
>>>> > typo -- there is no ncurses-dev package as suggested on that page,
>>>> > it's actually libncurses5-dev, but i can get a launchpad account
>>>> > and fix that.
>>>>
>>>> The wiki.ubuntu.com pages tend to be "funky".
>>>>
>>>> It is definitely libncurses5-dev...
>>>
>>>   i've already fixed that on that page.
>>>
>> You should probably fix it back.
>>
>> $ aptitude search ~v~nncurses
>> v  libncurses-dev
>> v  ncurses-dev
>> v  ncurses-runtime
>>
>> Ncurses-dev is a virtual package.
> 
> But libncurses5-dev is the one that you need so it's OK.

Yeah, except Debian policy says it isn't ok:
http://www.debian.org/doc/debian-policy/ch-binary.html
3.6 Virtual packages
"Sometimes, there are several packages which offer more-or-less the same 
functionality. In this case, it's useful to define a virtual package 
whose name describes that common functionality. (The virtual packages 
only exist logically, not physically; that's why they are called 
virtual.) The packages with this particular function will then provide 
the virtual package. *Thus, any other package requiring that function can 
simply depend on the virtual package without having to specify all 
possible packages individually. *

Correcting something which wasn't wrong to begin with is not good 
practice (Ain't broke, don'f fix). If, or when libncurse6-dev comes out, 
the wiki page will have to be updated again. Or, it could just be 
reverted to specify ncurses-dev and will always be correct. 

$ aptitude search ~Pncurses-dev
p libncurses5-dev- developer's libraries and docs for ncurses

$ sudo apt-get -s install ncurses-dev
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Note, selecting libncurses5-dev instead of ncurses-dev
The following NEW packages will be installed:
  libncurses5-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst libncurses5-dev (5.7+20090803-2ubuntu2 Ubuntu:9.10/karmic)
Conf libncurses5-dev (5.7+20090803-2ubuntu2 Ubuntu:9.10/karmic)

-- 
sktsee





More information about the ubuntu-users mailing list