• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Why does apt-get not have access to all packages?

I can't get my nVidia video drivers to install, so it's been suggested that I don't have the source and header files for my kernel.

I downloaded the source for my kernel (2.4.25)

I can't download the header files though. The Debian package site lists the package as "kernel-headers-2.4.25-1-386", but when I use apt-get, it says the package isn't there.

Force:/usr/src# apt-get install kernel-headers-2.4.25-1-386
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package kernel-headers-2.4.25-1-386

This is so fscking frustrating! All I want is to not be stuck in 800x600 resolution but I have to go through all this crap to get the drivers working!

I've been going at this for 4 days now!

I hate being such a noob to linux.
 
apt-cache search kernel-headers | grep 2.4

On my box, this is the output.

itrmac:/home/matchr# apt-cache search kernel-headers | grep 2.4
kernel-headers-2.4.25 - header files related to a specific Linux kernel
kernel-headers-2.4.25-apus - Linux/APUS kernel headers.
kernel-headers-2.4.17-apus - Linux/APUS kernel headers.
kernel-headers-2.4.18 - Header files related to a specific Linux kernel.
itrmac:/home/matchr#
 
I got the headers downloaded.

I had to add some servers to my /etc/apt/sources.list file...

So now the kernel compiles but says it wont work properly because some rivafb is compiled as a loadable kernel module.

I check my modules with lsmod and it isnt even loaded!
 
Even if it isn't loaded, it might be compiled as a module. Now you might have to dig into some kernel configuration. This can be confusing for the first time...but once you get the hang of it it's not that bad.

One thing you can do is manually edit your kernel config file /path/to/source/.config and make sure that
the option for
CONFIG_FB_RIVA
looks like this
# CONFIG_FB_RIVA is not set


or once you are in your kernel directory you can do a make menuconfig
and go through the menus and uncheck the rivafb.
 
Back
Top