<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="http://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:ahefner</id>
  <title>Informal Methods</title>
  <subtitle>ahefner</subtitle>
  <author>
    <name>ahefner</name>
  </author>
  <link rel="alternate" type="text/html" href="http://ahefner.livejournal.com/"/>
  <link rel="self" type="text/xml" href="http://ahefner.livejournal.com/data/atom"/>
  <updated>2009-04-24T05:25:19Z</updated>
  <lj:journal userid="14248520" username="ahefner" type="personal"/>
  <link rel="service.feed" type="application/x.atom+xml" href="http://ahefner.livejournal.com/data/atom" title="Informal Methods"/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:ahefner:14094</id>
    <link rel="alternate" type="text/html" href="http://ahefner.livejournal.com/14094.html"/>
    <link rel="self" type="text/xml" href="http://ahefner.livejournal.com/data/atom/?itemid=14094"/>
    <title>Live Distro Swap</title>
    <published>2009-04-24T05:24:06Z</published>
    <updated>2009-04-24T05:25:19Z</updated>
    <category term="awesome"/>
    <category term="linux"/>
    <lj:music>Lucasfilm Games, Ballblazer</lj:music>
    <content type="html">I've successfully downgraded my Debian machine from Squeeze (testing) to Lenny. I'd never really meant to upgrade&lt;em&gt; to&lt;/em&gt; Squeeze in the first place, but my machine has been set to track testing for a while now. I was more than a little suspicious when it decided it wanted to download over a gigabyte of new packages, but I'm a fool and I&amp;nbsp;was flailing around trying to get something working, so I&amp;nbsp;figured &amp;quot;what the hell&amp;quot;. Anyway, big mistake. I've been able to keep using the machine, but the domain resolver is on the fritz, sshd is seemingly in a coma, &lt;strike&gt;Firefox&lt;/strike&gt; Iceweasel is crashing considerably more often than usual, and my printing (which I&amp;nbsp;only got around to configuring two weeks ago) broke. I'm not bitter, but this is a little more bleeding edge than I'm interested in, so it was time to downshift into Debian stable.&lt;br /&gt;&lt;br /&gt;Apparently people have downgraded systems from testing to stable using APT, but this sounded tricky. Just changing the sources list and doing dist-upgrade doesn't work, and apparently people who have done this have to pin a bunch of packages and somehow fool it into downgrading. Given that most of the info Google turns up on this is seven years old, I&amp;nbsp;didn't want to risk it. Normally I'd just do another install into a spare partition, but having had such a smooth ride with Debian for so long (I ran the same install for something like five years, until finally moving on to 64-bit), this is the first Linux machine in years I didn't bother making such a partition on.&lt;br /&gt;&lt;br /&gt;Instead, I&amp;nbsp;installed Debian stable into a subdirectory (/lenny) using debootstrap, chrooted in to install packages, and prepped the /etc directory.&amp;nbsp;Now I&amp;nbsp;was ready to switch systems. I&amp;nbsp;got the statically linked version of busybox and, while still in X11 with music, Firefox, and IRC going, did the following:&lt;br /&gt;&lt;br /&gt;lightworks:/# mkdir sqeeze&lt;br /&gt;lightworks:/# mv bin emul/ etc lib lib32 lib64 sbin usr var squeeze/&lt;br /&gt;lightworks:/# cd lenny/&lt;br /&gt;lightworks:/lenny# mv bin emul/ etc lib lib32 lib64 sbin usr var /&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;lightworks:/lenny# &lt;br /&gt;&lt;br /&gt;Now I'm running Debian stable. Everything is working just fire, except I&amp;nbsp;had to restart firefox, and install some xfont packages for emacs. This is one of those rare instance where I'm genuinely pleased with my operating system. There's some loose ends to tie up, like configuring X11 (I'm still running the one from sqeeze; I'll fix it next time I quit X), and some miscellaneous packages to track down, but at this point I&amp;nbsp;think I'll declare this stunt a success.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content>
  </entry>
</feed>
