User Tools

Site Tools


updating_systems

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
updating_systems [2006/07/23 14:59] – _joeupdating_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, updates, and so on <code>aptitude</code> is a good choice. 
- 
- 
-===== Caveats ===== 
- 
-Anything that shouldn't be updated? Like stuff with custom patches? 
-Does apt have a history of clobbering configs or anything? 
- 
- 
-====== Updating kernels ====== 
- 
-   
-  apt-get update 
-  uname -a                                                                # Figure out which kernel series this machine needs 
-  apt-cache search kernel-image | grep somethingwhichidentifiestheseries  # Find the latest kernel in the series 
-  apt-get install kernel-image-latestversion-series 
-  vim /etc/silo.conf                                                      # Insert information about new kernel 
-  silo 
-  shutdown -r N 
- 
- 
-so for example: 
- 
-<code> 
-uberjoe@davros:~$ uname -a 
-Linux davros 2.6.8-2-sparc64 #1 Fri Jun 10 00:38:40 UTC 2005 sparc64 GNU/Linux 
-uberjoe@davros:~$ apt-cache search kernel-image | grep sparc64 
-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:~$ sudo apt-get install kernel-image-2.6.8-3-sparc64 
-boring debian package installation stuff 
-uberjoe@davros:~$ sudo vim /etc/silo.conf 
-uberjoe@davros:~$ sudo silo 
-/etc/silo.conf appears to be valid 
-uberjoe@davros:~$ sudo shutdown -r now 
-</code> 
- 
-The block you need to add to silo.conf should look like: 
- 
-<code> 
-image=/boot/vmlinuz-2.6.8-3-sparc64 
-        Label=debian-normal 
-        append="UDEV_DISABLED=yes" 
-        initrd=/boot/initrd.img-2.6.8-3-sparc64 
-</code> 
- 
-Don't remove the old kernel from the file, rename it instead, just in case things go wrong. 
- 
- 
-===== 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.  We previously fixed this with a slightly later version of the package (2.6.8-16), but it looks like the security update (2.6.8-15sarge1) should have the console fix, along with a bunch of security fixes.  I haven't tested this version yet. 
- 
- 
  
updating_systems.1153666790.txt.gz · Last modified: (external edit)