Unable to update kernel?
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
Hi, I installed the latest linux-libre kernel per the instructions here:
http://jxself.org/linux-libre/
I got a notification that there was an update for it, and when attempting to install the update via the update manager, it first said (recalling from memory...) something along the lines of "cancel because it's already installed?". There was some sort of check box and separate screen within the update manager, I think it was titled debconf.
Anyway, I said sure, that makes sense, ignore it if I already have it. But now the update manager keeps telling me the kernel can be updated, but when I say install updates, it errors out. Here are the error details:
"installArchives() failed: Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
(Reading database ...
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 189741 files and directories currently installed.)
Preparing to replace linux-image-3.6.7-gnu 3:1.0 (using .../linux-image-3.6.7-gnu_3%%3a2.0_amd64.deb) ...
Ok, aborting, since modules for this image already exist.
dpkg: error processing /var/cache/apt/archives/linux-image-3.6.7-gnu_3%%3a2.0_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.6.7-gnu /boot/vmlinuz-3.6.7-gnu
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.6.7-gnu /boot/vmlinuz-3.6.7-gnu
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.6.7-gnu_3%%3a2.0_amd64.deb
Error in function:
"
Any ideas? I hate having updates sitting in the update manager...
There is possibly a version number bug, which makes your computer to think that you are installing a kernel already installed.
Your computer does not want to install the new kernel because it supposes you could have custom kernel modules installed with your old kernel, which the new kernel would delete, possibly making your computer not working anymore as it should.
This is actually update manager bug also. The update manager should give you a choise to update the kernel anyway, but it doesn't do that.
So you have to update manually. In the console type:
sudo apt-get upgrade
And select "update anyway" or something from the menu.
If that command does not upgrade your kernel, then type:
sudo apt-get dist-upgrade
That did it! Thanks moilami!
For the record I only had to do sudo apt-get upgrade, not dist-upgrade.
And there probably is a bug, yeah, though the option to upgrade anyway DID come up at first, and I said no, and after that point it never asked again. It should probably ask every time. (In case any bug-fixy people are reading this, haha.)
It should ask each time.
Nice you got it working.
- Vous devez vous identifier ou créer un compte pour écrire des commentaires