by h2 on Sat Aug 02, 2008 11:06 pm
I dropped the init 3 thing, and made the x/desktop tests much more robust, now it simply kills x when it starts, ignoring runlevels altogether, and starts your default runlevel, found in /etc/inittab, when it's done. Same for sgfxi. So you can start it in init 3 to avoid the x kill, or 2 for debian type systems.
The init 3 thing was always, I came to realize, a meaningless abstraction, the actual point is simply to have one single user level, init 1, one non gui/desktop start level, 2, or 3, and one gui desktop start up level, 3, or 5.
To keep it simple, I am now making all my machines 1-2-3, using the new runlevel default tool in misc tweaks, advanced tweaks, set default runlevel.
Debian defaults all its services/daemons to start at 2-5, so no desktop start in 3, start in 5 makes little sense in a debian system in my opinion, since every single other service has started in 2-4 already when it hits 5, but following some debian advice I read, I make the desktop and default runlevel 3 now, the next step after 2.
I slightly improved the apt-get/aptitude check, now it doesn't ask you at all if you dont' have aptitude installed.
However, you MUST convert your system to use aptitude if you created and maintained it with apt-get, otherwise aptitude tries to remove all the apps and packages it didn't install.
I believe, though I'm not certain, that you can get around this by creating a list of your installed packages, and then reinstalling all of them with aptitude, so it then knows about them.
I need to test that theory though, I'm almost certain it will work. But do not try to run aptitude unless you started your system using it, I've been testing, and both debian sid and testing work very well if built and run with aptitude, but only if you start out with it from the first system build.