View Full Version : linux-image won't install (again)
February 15th, 2005, 05:14 PM
A new kernel was issued yesterday to fix some exploits. But it won't install:
$ sudo apt-get update && sudo apt-get upgrade
The following packages have been kept back:
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
So I tried installing them manually (this worked before):
$ sudo apt-get install linux-image-2.6-386 linux-restricted-modules-2.6-386
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linux-restricted-modules-2.6-386: Depends: linux-restricted-modules-22.214.171.124-5-386 but it is not installable
E: Broken packages
I went to /var/cache/apt/archives and deleted the packages thinking that might help the "broken packages" problem but no change. So how do I get this to install.?
Low key rant: Every time a kernel update is released, it's the same thing like this - it won't install without alot of manual intervention. I'm in the process of deploying Ubuntu on all my servers. When I get lots of these things running this will become a real pain real fast. Is there no way a kernel upgrade can be packaged such that it will just install like everything else without so much ratkilling?
End of low key rant and apologies for being a whiny baby.
Any help appreciated.
February 15th, 2005, 06:10 PM
I had the same problem. However, I think the packages that didn't install are metapackages. When I upgraded, the packages that contain the actual kernel and the restricted modules were installed. I still don't understand what's going on with the kernel metapackages and why they aren't updated.
February 15th, 2005, 09:01 PM
Why not dowloading those packages from the net and trying dpkg -i...
Migh pass, if the dependency chain don't continues ad infinitum...
February 15th, 2005, 09:39 PM
The linux-restricted-modules-2.6-686 linux meta package is broken. It depends on the non-existing package linux-restricted-modules-126.96.36.199-5-686.
So people, don't upgrade until this is fixed!
February 15th, 2005, 09:50 PM
Sander -- Is there any easy way to rectify this situation? Unfortunately, the only network connection I have on my Ubuntu box uses the Aetheros wireless chipset drivers, which are (evidently) contained in the linux-restricted-modules package.
Given that I can't find a way to roll back my kernel modules to an earlier version that agrees with the linux-restricted-modules package I still have installed... do I just have to run off a wired connection till this gets fixed?
*sigh* It's my own damn fault for doing the installation... but that doesn't really make it less frustrating :)
February 15th, 2005, 09:54 PM
Sure. Did you already remove your old kernel and restricted-modules ? If not, you can just boot your previous kernel. If you did, just reinstall both the 188.8.131.52-4-686 image and restricted-modules. That should solve your problem for now...
February 15th, 2005, 10:12 PM
So people, don't upgrade until this is fixed!That's easy enough to comply with since the blessed thing won't install anyway. :shock:
BTW, did you hear officially somewhere that it is broken? I could't find a bugzilla report about it.
February 15th, 2005, 11:22 PM
Right-O ... I forgot there was that option. Everything's back to good for the time being!
February 15th, 2005, 11:28 PM
Rottweiler: I didn't hear it officially
Just refresh your package list in Synaptic, right-click on linux-restricted-modules-2.6-686 -> Properties -> Dependancies. Here you can see that it depends on a not-existing package. So, that's the reason why I called this package broken.
But it IS important not to try upgrading. If you boot the new kernel (which DOES install), the restricted-modules are not available. So if you own a ATI or NVIDIA graphics card, GDM will not load anymore...
February 16th, 2005, 12:18 AM
If you boot the new kernel (which DOES install), the restricted-modules are not available. So if you own a ATI or NVIDIA graphics card, GDM will not load anymore...
Just in case someone did install the new kernel and tossed their old one, you can still start X but you will need to revert your X11 config device driver notation to a pre-nvidia/ati state. For example, if you are running a nvidia driver you just need to change the driver listed under the "Device" Section of your /etc/X11/XF86Config-4 file from "nvidia" to "nv". This will allow you to boot using the updated kernel and login to gnome via gdm.
February 16th, 2005, 03:05 AM
The problem is that some kernel security updates touch core kernel structures, which mean that all the modules linked against it have to rebuilt, and this doesn't always get done immediately; give it some time.
February 16th, 2005, 11:49 AM
Patience is ofcourse important, however when running Warty (stable) it might be an idea to keep back the new (in this case linux-image-686) package until all dependencies are met. Is there an ETA on when the updated package becomes available?
As for anything else, Ubuntu rules :-)
February 16th, 2005, 03:27 PM
The problem is that some kernel security updates touch core kernel structures, which mean that all the modules linked against it have to rebuilt, and this doesn't always get done immediately; give it some time.Thank you.
But how were we supposed to know this?
There was nothing in the USN that said "wait". And so-far seemingly all kernel updates have not been willing to install without a lot of manual intervention.
I don't understand why this must be. I'm converting all my RH/FC servers to Ubuntu and the last thing I can endure is having to be constantly tweaking them to get updates to install.
Why can't kernel updates just install like everything else? (Excepting the necessity for a reboot, of course).
February 16th, 2005, 04:10 PM
This time, everyone tried to get everything installing smoothly as per the lessons of the past, but one more unexpected thing cropped up (specifically: they were uploaded at the same time, so when l-r-m built, linux-headers-* wasn't available). Bear in mind Ubuntu is only young; we haven't been doing kernel security updates for years.
February 17th, 2005, 12:36 PM
if you are running a nvidia driver you just need to change the driver listed under the "Device" Section of your /etc/X11/XF86Config-4 file from "nvidia" to "nv". This will allow you to boot using the updated kernel and login to gnome via gdm.
First thing I tried but it did not work for me all I did was removed the nvidia-glx and re-installed it then reboot and I was back to normal with kernel 184.108.40.206.5-K7
February 17th, 2005, 01:24 PM
Any news on this issue yet? Is it safe to install the updates?
February 17th, 2005, 05:00 PM
I re-upgraded a few minutes ago, and was able to get the upgraded linux-restricted-modules packages and nvidia-glx. So yes, it appears to have been fixed.
February 23rd, 2005, 11:34 AM
Strange, this issue still is not fixed for me.
again yesterday (2005-02-22), the restricted modules is still broken.
November 26th, 2005, 05:11 AM
Hey guys, apt-get is doing exactly what it is supposed to here. From the man page on apt-get under the upgrade section:
under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed
So, the meta linux-image package is being upgraded, but the specific linux-image-<version> upon which it depends is a NEW package. If you want to install new packages along with the upgrades you must:
sudo apt-get dist-upgrade
If you observe apt-get closely most packages won't mention any details about the specific version except for cases like a major release (e.g., php4 vs. php5) and in those cases you won't be seeing the number increment for an upgrade. In other words, linux-image-a.b.c-y is not an upgrade of linux-image-a.b.c.-x.
Hope this helps.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.