On Sunday 05 August 2001 17:00, Paul Scott wrote: > Brett Parker wrote: > > On Sun, Aug 05, 2001 at 03:34:44PM -0700, Paul Scott wrote: > > have you got the kernel-headers-2.2.19pre17 package installed? if > > not, that's what you are missing. > How do I determine whether that package is installed? With dpkg or > apt-get? Where should the headers be?
Use 'dpkg -l package_name'. If you have the package installed, it will print out version info like this (my system, shiznit, has a 2.2.18 kernel): shiznit[3]% dpkg -l kernel-headers-2.2.18pre21 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-================== ii kernel-headers 2.2.18pre21-1 Header files related to Linux kernel The last line shows that I have the 2.2.18pre21 package installed. If you query a package that is not installed it will say it's not found: shiznit[4]% dpkg -l kernel-headers-2.2.19pre17 No packages found matching kernel-headers-2.2.19pre17. (That means "No INSTALLED packages found matching kernel-headers-2.2.19pre17.") afaik there's no "/usr/bin/is_this_pkg_installed" command - the above is closest. Clear? Aaron