updating_systems
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| updating_systems [2009/02/25 05:48] – mediawiki_default | updating_systems [2026/09/27 05:05] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| - | ====== Updating Debian packages ====== | ||
| - | |||
| - | A //quick update// can be done by | ||
| - | | ||
| - | apt-get update | ||
| - | apt-get upgrade | ||
| - | |||
| - | For general installation, | ||
| - | |||
| - | |||
| - | ===== Caveats ===== | ||
| - | |||
| - | Anything that shouldn' | ||
| - | Does apt have a history of clobbering configs or anything? | ||
| - | |||
| - | |||
| - | ====== cron-apt ====== | ||
| - | |||
| - | We run // | ||
| - | | ||
| - | --- / | ||
| - | +++ / | ||
| - | @@ -94,7 +94,7 @@ | ||
| - | # | ||
| - | # | ||
| - | # | ||
| - | -# MAILON=" | ||
| - | +MAILON=" | ||
| - | | ||
| - | # Value: error | ||
| - | # | ||
| - | |||
| - | |||
| - | |||
| - | ====== Updating kernels ====== | ||
| - | |||
| - | | ||
| - | apt-get update | ||
| - | uname -a # Figure out which kernel series this machine needs | ||
| - | apt-cache search kernel-image | grep somethingwhichidentifiestheseries | ||
| - | apt-get install kernel-image-latestversion-series | ||
| - | shutdown -r N | ||
| - | |||
| - | |||
| - | so for example: | ||
| - | |||
| - | < | ||
| - | uberjoe@davros: | ||
| - | Linux davros 2.6.8-2-sparc64 #1 Fri Jun 10 00:38:40 UTC 2005 sparc64 GNU/Linux | ||
| - | uberjoe@davros: | ||
| - | kernel-image-2.6.8-2-sparc64 - Linux kernel binary image for UltraSPARC (sparc64) systems | ||
| - | kernel-image-2.6.8-3-sparc64 - Linux kernel binary image for UltraSPARC (sparc64) systems | ||
| - | uberjoe@davros: | ||
| - | boring debian package installation stuff | ||
| - | uberjoe@davros: | ||
| - | uberjoe@davros: | ||
| - | </ | ||
| - | |||
| - | Silo should be set up to load the new kernel magically. If not, some haxing may be required to get the new kernel to work. It's probably best to try and set it up like so: | ||
| - | |||
| - | < | ||
| - | root=/ | ||
| - | partition=1 | ||
| - | default=debian | ||
| - | read-only | ||
| - | timeout=100 | ||
| - | |||
| - | image=/ | ||
| - | label=debian | ||
| - | append=" | ||
| - | initrd=/ | ||
| - | |||
| - | image=/ | ||
| - | label=Linux | ||
| - | append=" | ||
| - | initrd=/ | ||
| - | | ||
| - | image=/ | ||
| - | label=LinuxOLD | ||
| - | append=" | ||
| - | initrd=/ | ||
| - | </ | ||
| - | |||
| - | This is more or less how debian has it set up by default, but with devfs turned off, because we don't need it. You might want to check which drive root is on. Debian should update the symlinks in /boot automagically, | ||
| - | |||
| - | |||
| - | ===== Caveats ===== | ||
| - | |||
| - | Anything tied to specific kernel versions? | ||
| - | |||
| - | The stock Debian stable kernels have a bug in the serial drivers that make the console on Ultra 5s unusable. | ||
| - | |||
| - | |||
updating_systems.1235540905.txt.gz · Last modified: (external edit)
