#17 closed defect (fixed)
build-debirf-kernel fails on testing ("lenny")
| Reported by: | jrollins | Owned by: | dkg |
|---|---|---|---|
| Priority: | critical | Component: | debirf |
| Keywords: | Cc: | jrollins | |
| Sensitive: |
Description
build-debirf-kernel fails when run on lenny:
servo:1:~/src> build-debirf-kernel No packages found matching linux-source-2.6.18. Not continuing until you have the right packages installed. servo:1:~/src>
i'm not sure exactly what's going on, but it appears that linux-source-2.6.18 actually pulls a different version:
servo:0:~/src> apt-get source linux-source-2.6.18 Reading package lists... Done Building dependency tree... Done Skipping already downloaded file 'linux-2.6_2.6.20-1.dsc' Skipping already downloaded file 'linux-2.6_2.6.20.orig.tar.gz' Skipping already downloaded file 'linux-2.6_2.6.20-1.diff.gz' Need to get 0B of source archives. Skipping unpack of already unpacked source in linux-2.6-2.6.20 servo:0:~/src>
i don't understand this. anyway, build-debirf-kernel is failing. where does it look for the kernel source package?
Change History (5)
comment:1 Changed 6 years ago by dkg
comment:2 Changed 6 years ago by dkg
hrm looks like 2.6.20 isn't actually in lenny yet. what's in yer /etc/apt/sources.list?
comment:3 Changed 6 years ago by jrollins
there are lots of things in my sources.list, including some unstable sources, but more to the point:
servo:0:~> apt-cache policy linux-source-2.6.18
linux-source-2.6.18:
Installed: (none)
Candidate: 2.6.18.dfsg.1-12
Version table:
2.6.18.dfsg.1-12 0
700 http://debian.lcs.mit.edu testing/main Packages
600 http://debian.lcs.mit.edu unstable/main Packages
servo:0:~>
comment:4 Changed 6 years ago by dkg
- Resolution set to fixed
- Status changed from new to closed
Sorry. I should have figured this out much sooner.
You simply needed to do (as the superuser):
apt-get install linux-source-2.6.18
The initial error message:
No packages found matching linux-source-2.6.18. Not continuing until you have the right packages installed.
should probably be amended to say "no packages found on the local system matching..."
comment:5 Changed 6 years ago by dkg
Actually, that error message appears to be emitted by dpkg -l itself, so i can't amend the error report easily.


build-debirf-kernel tries to build a kernel to match the one you're running.
If you've switched to lenny, but haven't rebooted into the lenny kernel, it won't be able to find sources for the running kernel.