package linux-headers-2.6.31-19-generic 2.6.31-19.56 failed to install/upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
What I noticed was that after reboot, I had no wireless
I tried to reinstall the packages for wireless
sudo apt-get install --reinstall bcmwl-modaliases bcmwl-kernel-source
but had dependency problems. So I ran
sudo dpkg --configure -a
And this is what I got:
-------
Setting up linux-headers-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: failed to exec /etc/kernel/
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing linux-headers-
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
Running postinst hook script /usr/sbin/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found Debian GNU/Linux (5.0.3) on /dev/sda1
done
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: failed to exec /etc/kernel/
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-
linux-
Package linux-image-
dpkg: error processing linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 2.6.31.19.32); however:
Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-
linux-
Package linux-headers-
dpkg: error processing linux-headers-
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bcmwl-kernel-
bcmwl-
Package linux-headers-
dpkg: error processing bcmwl-kernel-source (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-
linux-
linux-
linux-generic
linux-
bcmwl-
ProblemType: Package
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf4700000 irq 22'
Mixer name : 'Conexant CX20561 (Hermosa)'
Components : 'HDA:14f15051,
Controls : 14
Simple ctrls : 7
Date: Tue Feb 9 16:36:14 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 2
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
MachineType: LENOVO 2958
Package: linux-headers-
ProcCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-firmware 1.25
RfKill:
SourcePackage: linux
Title: package linux-headers-
Uname: Linux 2.6.31-19-generic x86_64
dmi.bios.date: 07/21/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 18CN29WW(V2.02)
dmi.board.name: NITU1
dmi.board.vendor: LENOVO
dmi.board.version: REFERENCE
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: No Enclosure
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 2958
dmi.product.
dmi.sys.vendor: LENOVO
tags: | added: karmic |
tags: | added: kj-triage |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
tags: | added: b73a1py79 |
My problems are solved so far. Here is a mail exchange in case anyone has similar problems.
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---
Hi Stefan,
sorry for the delay, your advice with "purge" was the solution, and I did it right away.(apt-get remove --purge dkms)
However, before writing an answer to you and a comment to the bug report, I had to see that the wireless worked as well.
It didn't.
In the past (1-2 months ago) I had the problem that, even though I did everything as indicated on the official broadcom site to download and install the 802.11 Linux STA driver, at boot it would always load the wrong modules. With help from <email address hidden> I was able to change the boot image (with "update-initramfs -u") and it booted correctly ever since - until this version 2.6.31.19.32
Now since I had this bug signalled, I tried to repeat the exact same steps, but changing the boot image did not work anymore (I could do it, but at reboot nothing changed). I suppose it had to do with the bug, smth with meddling with the image, but I don't understand enough to follow the exact problem.
So the solution now was that I had to make my own script to be run at boot time. Now everything works, but I am concerned as to why the script was necessary at all.
The script consists of just these two lines:
sudo modprobe lib80211 2.6.31- 19-generic/ kernel/ drivers/ net/wireless/ wl.ko
sudo insmod /lib/modules/
Thanks, and maybe this info is helpful to others, so I am posting it on the bug report page as well, as you suggested.
Gene
Stefan Potyra wrote: 2.6.31- 19-generic trying to be configured etc postinst. d, dkms was empty, nvidia was not, after removing
> Hi Gene,
>
> Am Saturday 13 February 2010 21:22:29 schrieben Sie:
>
>> Hi Stefan,
>>
>> I hope it's not terribly bad manners to write emails directly (if it is,
>> please tell me so!), but --
>>
>
> I don't feel this as impolite, however it imho doesn't hurt to CC the bug report in question, otherwise the info might just get lost (I'm by far no expert in regards to dkms).
>
>
>> Regarding the "claimed fixed" bug #480055 in dkms/Ubuntu, I wasn't sure
>> anyone would read comments if the bug is reported fixed.
>>
>> If you care to check the (my) bug report #519910, you might conclude the
>> fix didn't work. (Of course it might just be another problem)
>>
>
> Just from the bug report, I cannot really tell this. Basically, there seem to be two problems: 1) old dkms scripts tried to execute possibly non-existant scripts
> -> that was fixed, but... (see below)
> 2) a different problem resulting in empty files. Speculation has it that it is ext4 related, but the real reason is not yet found afaict.
>
>
>> After checking several possible solutions recommended for related bugs -
>> like removing nvidia-common completely, trying to reinstall dkms from
>> Synaptic, trying to upgrade, etc nothing works, I always get stuck with
>> linux-image-
>>
>> I looked and my dkms is empty (I had dkms and nvidia-common in
>> /etc/kernel/
>> nvidia with synaptic manager I am left with the empty dkms) and there is
>> no ...