The other day, I tried to update Abiword by running the command sudo apt-get update abiword. Obviously, it didn't work, but I had no idea how badly it would fail. apt-get began installing several packages including several linux-headers and linux-image, which appears to be the development version of the linux kernel. I hit ctrl-C to stop the update, but now the update manager is trying to install those packages.
| |||
feedback
|
|
Wait wait wait... sudo apt-get update is actually just updating the available packages list, and not exactly updating anything. When you run this command, Linux probably didn't install any packages, and totally ignored the abiword option at the back, seeing only sudo apt-get update The correct updating procedure should be sudo apt-get upgrade abiword. As to Linux installing packages... it probably is just verbose showing the updating of the packages list. EDIT You may refer to the APT HOW-TO for more information on apt-get P.S It usually is quite safe to update packages, including Linux headers + kernel images, on a stock Linux configuration. Rest easy, don't panic. | |||||||||||
feedback
|
|
linux-image isn't a real package, it's just a handy shortcut-package to help pull in the latest kernel (the actual kernel image is in a package like "linux-image-2.6.28-15-generic", as an example from Ubuntu 9.04). linux-headers is the same kind of thing. Check the package link; if you scroll to the bottom you'll see that linux-image package is only 32k. It sounds like your distribution has released a recent kernel update -- probably a security update, unless you have development/testing repositories in your apt.sources. You triggered the discovery when you ran the "apt-get update". Go ahead and install the new kernel packages. | |||
|
feedback
|
|
To remove a partially installed package you can just "aptitude remove package" (or apt-get, but I've been using aptitude lately). Caliban is correct, though, that you never installed any new packages in the first place. | |||
|
feedback
|
|
To see why the system needs to install a certain package, use | |||
|
feedback
|
