Debian :: Automatic Removal Of Kernel Headers Package When Kernel Packages Are Removed

Dec 28, 2008

As a follow-on to something Telemachos said in another post:

Quote:

Originally Posted by Telemachos

You can see what kernels you have installed - to check if you have a virtual kernel and to clean up - by running this command:

Code:

If you've been installing kernel-headers along with the kernels (say to build modules for graphics or wireless), you should remove those when you remove the corresponding kernel. The command to search for those is parallel:

Code:

I would have thought that removing a given kernel package would trigger the removal of the older kernel headers. Can someone confirm that is, or is not, the behavior? I ask this because it seemed to me that the older kernel header packages were indeed removed when I removed some older kernel packages.

For example, the linux kernels I have installed are:

Code:

Also, the linux-headers packages I have installed are:

Code:

So, when I get around to removing the linux-image-2.6.25-2-amd64 package like this:

Code:

I would expect apt-get to automatically also remove linux-headers-2.6.25-2-amd64 and linux-headers-2.6.25-2-common. Is that what will happen, or do I need to explicitly state all three packages on the apt-get remove command?

View 3 Replies


ADVERTISEMENT

General :: Get The Matching Kernel Headers Automatic On A Regular Kernel Update Via The Ubuntu Packed Manager?

Nov 26, 2010

Is there a way to get the matching Linux kernel headers automatic on a regular kernel update via the Ubuntu packed manager? Every time I get a new kernel I must do an aptitude install linux-headers-`uname -r`

View 1 Replies View Related

Ubuntu Installation :: Removed The Kernel Packages - How To Re-install Them

Apr 26, 2011

I removed the linux-image-2.6.32-31-generic package (and all the older ones) from my 64-bit Lucid Lynx machine. When I boot up, the grub menu only has memtest as a choice.

I am able to boot the machine with the LiveCD and can mount the drive. (look like it's read only mode right now.) But now, how do I reinstall the linux-image-2.6.32-31-generic package(or any package for that matter) onto the disk partition that represents the machine?

View 2 Replies View Related

OpenSUSE :: Virtualbox Problems (Error Kernel Headers For Kernel 2.6.34-12-desktop Cannot Be Found At)?

Jan 2, 2011

I'm just installed OpenSuse 11.3 (64) on a 30gb SSD, hoping to get virtualbox 4.0 running to virtualize an instance of Windows 7.I went through some pain with my Nvidia video card and actually getting vb to install, but through lots of searching and tinkering got here.I created a vm in the vb control panel, but when I go to start it I get:

Code:
Failed to open a session for the virtual machine Win7Main.
The virtual machine 'Win7Main' has terminated unexpectedly during startup with exit code 1.

[code]....

View 9 Replies View Related

Red Hat :: Install Ethernet Adapter Driver - Not Finding Kernel-devel Or Kernel-headers

Aug 30, 2010

I'm attempting to install the driver for my atheros AR8131 PCI-E Gigabit Ethernet adapter (in my Lenovo laptop) on my newly installed RHEL5 system (it's not currently being recognized).

I tried using: 'make install' but hit an error "Makefile:61: *** Linux kernel source not found."

After this, I tried: 'sudo yum install kernel-devel kernel-headers'

To rectify this, but hit this error "No package kernel-devel available" (and the same for the headers). What should I do?

View 5 Replies View Related

Ubuntu Installation :: Kernel Headers For Target Kernel Version Could Not Be Found

Oct 20, 2010

I get the following error message trying to install dazuko on xubuntu 10.04: "headers for target kernel version could not be found" But when I run sudo apt-get install linux-headers-$(uname -r), I get the message that I already installed the headers. My current kernel is 2.6.34-020634-generic

How can I install dazuko withouth having this problem??

View 1 Replies View Related

OpenSUSE :: Recent Kernel Update Seems To Have Misplaced The Kernel Headers

Mar 24, 2010

A recent kernel update seems to have misplaced the Kernel Headers. VMWare needs these headers and cannot find them. Attempting to run VMWARE gets the message: Kernel headers for version 2.6.31.12-0.2-desktop were not found.

View 4 Replies View Related

Fedora :: Install Kernel Headers - Current Kernel Only

Feb 22, 2010

What's the command for installing kernel headers for the currently installed kernel?

View 2 Replies View Related

Debian Configuration :: Installing Kernel 2.6.28.9 Headers?

Feb 3, 2010

I'm trying to install vmware server 2 on my lenny and first I must install the kernel headers but I'm having troubels with it.

apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-headers-2.6.28.9

I have even tried with apt-get install linux-headers-2.6.28.9 but same thing Searching apt-cache search linux-headers-2.6.28.9 shows nothing.

View 7 Replies View Related

Debian :: Finding Kernel Headers Files Difference?

Jul 3, 2009

I usually custom compile my kernel and generate the header files with the following command:

Code:

fakeroot make-kpkg --initrd --append-to-version=generic-ide kenrel_image kernel_headers

However, I noticed that there are some difference in the headers files that get generated with the above command as compared to the header files that are available from Debian repo. For example, the header files for 2.6.24 kernel have files like:

Code:

debian:/usr/src/linux-headers-2.6.24-etchnhalf.1-686/arch/x86# ls Kconfig Kconfig.cpu Kconfig.debug kernel Makefile Makefile_32 Makefile_32.cpu Makefile_64 However, if I custom compile the above kernel from Debian sources (2.6.24), the headers files does not have the above files:

Code:

debain:/usr/src/linux-headers-2.6.24-generic-ide/arch/x86# ls
boot ia32 Kconfig.cpu kernel lib mach-es7000 mach-visws Makefile mm pci vdso xen
crypto Kconfig Kconfig.debug lguest mach-default mach-generic mach-voyager math-emu oprofile power video

As you can see from above output, files like Makefile_32, Makefile_32.cpu are not present, if I generate kernel headers files using the make-kpkg command as mentioned in the beginning of the post. I happened to notice the above issue, while I was trying to compile a out-of-tree kernel module and the "make" command for those sources (some graphics card drm module) worked with the default header files (linux-headers-2.6.24-etchnhalf.1-686) but did not work with (linux-headers-2.6.24-generic-ide) because it did not find the Makefile_32. Although I was able to fix the problem by copying the Makefile_32 from linux-headers-2.6.24-etchnhalf.1-686 but I would like to know why there is a difference. This is bit of a concern because it unnecessarily breaks the out-of-tree module compilation process because of trivial reasons.

View 4 Replies View Related

Debian Configuration :: New Kernel And Headers Not Allowing NVidia Driver To Install

May 19, 2010

I've built a new kernel (2.6.34) on our workstation at work. It boots and runs beautifully, but there is one minor problem. I created the kernel as a Debian package along with the kernel headers. Upon installing both and attempting to build the nVidia driver for said kernel, the installer tells me that it cannot determine the version and quits. This happens even if I manually specify the path to the headers. What's going on here, did I miss something during my compilation of the new kernel?

View 14 Replies View Related

Debian Configuration :: Module Assistant Can't Find Kernel Headers / Work Around This?

Jul 25, 2010

I'm trying to use module-assistant to add the vboxdrv using instructions also found here in the debian forum. However, m-a can't find the linux-headers because it looks for the package linux-headers-2.6.32-5-trunk-686. I attempted to specify were the headers were by using:
m-a prepare --kernel-dir /usr/src/linux-headers-2.6.32-5-686/
but also doesn't work. Instead, I get the error:
Bad kernel version specification at /usr/bin/m-a line 566.
Anyone knows how to work around this?
By the way, the reason I am doing this is because when I installed virtualbox (following the instructions in debian wiki) there's no vboxdrv. When I try to modprobe it, I get:
FATAL: Module vboxdrv not found.

View 2 Replies View Related

Debian Configuration :: No Automatic Update Of The Kernel?

Nov 1, 2010

I've just installed debian sid and see that I've the kernel 2.6.32. I was a bit surprise as on ubuntu I had the 2.6.35 and debian sid is supposed to be more up to date that ubuntu (maybe I'm wrong).So I checked what were the packages available :

mart@mart-laptop:~$ uname -a
Linux mart-laptop 2.6.32-5-686-bigmem #1 SMP Sat Oct 30 23:25:58 UTC 2010 i686 GNU/Linux
mart@mart-laptop:~$ sudo aptitude search ^linux-image

[code]...

View 2 Replies View Related

Debian Configuration :: Automatic .config Generator For Kernel 2.6.33.4?

May 16, 2010

I'm recompiling my kernel on a dell latitude c600 running lenny as I type, and it's taking forever, so far upward of 4 hours.I think I'm getting drivers for ever piece of computing hardware since the univac So I googled "a kernel conf creator" and got [URL]... Its a nice, clean method for finding what hardware your using... you just run lspci cpuinfo make xconfig and put in all the info yourself. So I was thinking: this is exactly the kind of dull, repetitive behavior that computers were made for. Is there a program that can find my hardware info, and make the.config itself, with very little user input?Or should I reinstall debian on another partition and steal the .config from it? Or should I man it up and do it myself?

View 14 Replies View Related

Debian Configuration :: Save To Install Kernel 2.6.35.2 On Debian Lenny 5.0.5 Or Stick With Automatic Updates

Aug 20, 2010

is it save to install linux kernel 2.6.35.2 on Debian Lenny 5.0.5 or stick with automatic updates...

View 14 Replies View Related

General :: Apt-get Remove Ssh And Debian Returned "package Ssh Is Not Installed - 0 Packages Removed"

Jan 29, 2010

I've been reading up on ssh and I don't want anyone to connect to my computer. I am not interested in remote connectivity at all. Should I uninstall ssh? I ran Code: apt-get remove ssh and debian returned "package ssh is not installed. 0 packages removed."

I also looked online and found out about /etc/ssh/ssh_conf but all of the lines on my computer were #'d out. I also added "PermitRootLogin no" at the end. Am I safe from ssh attacks if I don't have ssh? Might be a stupid question but I don't want to fall victim. edit: it seems as though I -do- have openssh-client and openssh-server installed. Should I just leave my ssh config with PermitRootLogin no or apt-get remove openssh-client openssh-server.

View 9 Replies View Related

Debian :: Compiling Kernel - 2.6.26 Version Of Kernel Doesn't Longer Exist In Kernel.org Website

Sep 16, 2010

i'm using this guide videos - howto: debian linux kernel compilation, part 1 and the author says i need kernel 2.6.26 this version of kernel doesnt longer exist in kernel.org website and the only 2.6.26 i found is a patch here. should i use the patch? or download another version of kernel?

View 2 Replies View Related

Debian :: Installing I386 Packages Prompts Removal Of Amd64 Packages

Apr 8, 2015

I am working on a project which targets both 32 and 64 bit architectures at the moment. My system is amd64. I added i386 architecture using this guide. However, my problem is

Code: Select allapt-get install package-name:i386

prompts the removal of currently installed packages (amd64 arch.) which is the problem.

Code: Select allReading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libportaudio0:i386

[Code] ...

Some of the packages I am talking about are

-libegl1-mesa-dev:i386
-libportaudio-dev:i386

Now, as of now, I want to carry out the compilation using 32 bit libraries, however, I really don't want to install 64bit version of all prerequisites each time I switch the compilation from 32 bit to 64. Is there any way to have both architectures at the same time?

View 1 Replies View Related

Ubuntu :: Update Installed Packages List Or Force Removal Of Package?

Jul 21, 2011

I was working on my flash drive install of Ubuntu, when I squashfsed my /usr. Long story short, I some how ended up with a working /usr, but with a few packages marked as installed, but not having its components installed (emacs). When I try to remove emacs (emacs23-nox), it gives me numerous errors about files (all relating to emacs) not existing (all in /usr). Thus my questions are as follows:

1) Is there a way to force the removal without it caring about missing packages?

-OR-

2) Is there a way to reload which packages are installed by checking which files exist, etc?

-OR-

3) Should I just nuke and re-install?

View 1 Replies View Related

Ubuntu :: Kernel Building Error Kernel-package=12.032

Oct 5, 2010

I installed ubuntu on my laptop recently and would like to have trim support. (Because I have a ssd drive (crucial c-300 256gb). The current kernel that I am using is the 2.6.32 (standard lucid kernel I believe). Unfortunately TRIM support is only available from 2.6.33 and up. So I thought I'd install a new kernel using this howto:

[Code]....

View 1 Replies View Related

CentOS 5 :: Can't Install Kernel-headers Glibc And Glibc-headers?

May 11, 2010

Yesterday, I think I did something stupid: I removed kernel-headers, gcc, glibc-devel and glibc-headers. My box is a CentOS 5.4 webserver (it has loads of packages installed, but that was done through Virtualmin config, so it's quite coherent all in all). The thing is that now I need to reinstall at least the headers and glibc, but hey! this is what I get :

[Code]...

View 19 Replies View Related

Debian :: Removing Backport Kernel Packages ?

Sep 19, 2010

In trying to get something else working, I installed a newer version of the kernel from backports (I'm on 2.6.26 lenny and the backport kernel is 2.6.32). That failed, so I want to remove the backport kernel completely.

I tried:

Code:

and got:

Code:

Accept this solution? [Y/n/q/?]

I don't really understand how these metapackages work and I don't want to accidentally remove my currently-working kernel.

What's the correct way to remove all packages related to the backports kernel and leave the existing lenny ones alone?

View 4 Replies View Related

Fedora :: Forced Kernel Removal - Wouldn't Boot

Sep 5, 2010

When I was installing the last kernel update, the system informed me that I had to remove the kernel that was 2 back. The new kernel wouldn't boot and I reported the bug via bugzilla. I got a response within a day that a new kernel had been posted on koji and I was aked to try and see if it resolved my problem. When I installed it I was again forced to remove the kernel that was 2 back. This left me with only 1 known working kernel and if this new one hadn't worked, another attempt would have put me out of business.

What enforces this apparent rule of only 3 kernels. I upgraded from F10 to F13. F10 would let me keep as many kernels as I wanted and I could clean up old ones when appropriate. How can I disable this? I really need to be able to keep several kernels on the system at any given time.

View 4 Replies View Related

Debian Configuration :: Kernel From Source And Firmware Packages

Jul 16, 2011

If I want to compile a kernel from source (from kernel.org), including all the drivers I need regardless of their origin, I would not need any firmware-*.deb packages, right? Do the firmware packages add anything that is not present in the latest kernel?

View 3 Replies View Related

Debian :: Know What Packages Would Be Affect By Removal?

Mar 24, 2011

I did a d-u today, all went well. Then tried to install dkms, and apt came back with a list of programs it says were automatically installed by no longer required, including several libqt4 packages. I'd like to know what programs would be affected by removing each one.

View 9 Replies View Related

Fedora :: How To Install Kernel Headers

Jul 24, 2009

I've installed Vmware Workstation and tried to run it only to have the following appear;

Kernel Headers 2.6.27.25-170.2.72.fc10.i586

Kernel headers for version 2.6.27.25-170.2.72.fc10.i586 were not found. If you installed them in a non-default path you can specify the path below etc.......

I've tried to search and find the kernel headers but can't find them.

View 14 Replies View Related

OpenSUSE :: Kernel-headers For 26.34.7-0.7 Were Not Found

May 4, 2011

Today, on my 11.3 machine. the kernel was updated. When I started my vmware 7 workstation, it came up with a message "kernel-headers for 26.34.7-0.7 were not found. enter an alternative location"

View 3 Replies View Related

OpenSUSE :: Kernel Headers Not Matching / What To Do?

Jun 2, 2011

Just installed OpenSuse 11.4 on a laptop yesterday. Trying to compile VMware player, however my kernel headers are not matching with repo code...

View 9 Replies View Related

Fedora :: Kernel-headers Location ?

Aug 29, 2010

Does anyone know the kernel-headers location, or how to determine that location, in Fedora 13? I'm installing vmware-tools and it's prompting for it. /usr/include/ and /usr/include/linux/ were revealed to have many header files, as shown by doing rpm -ql kernel-headers

However the installer rejected these locations. My only guess as to why is because they're not where the currently-running kernel has them. I also tried /usr/src/kernels/(kernelversion).fc13.i686/include/ with no luck...

View 3 Replies View Related

CentOS 5 :: How To Downgrade Kernel-headers

May 17, 2009

I've upgrade the kernel from '2.6.18-128.el5' to '2.6.18-128.1.10.el5':

yum install kernel
yum install kernel-devel
yum install kernel-headers
yum install kernel-doc

But the system run into problem with WLAN, and I've search in this site and sombody posted in here: [URL] It's almost the same, the different is the card I use is TP-LINK. Then I decided to remove the newly installed kernel:

[Code]...

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved