========================================================================= Version Number: sm-lib-cleanup: 2.7.7 Date of Update: Fri, 26 Sep 2008 18:50:42 -0400 ------------------------------------------------------------------------- This one is exciting, finally rewrote kernel-remover, integrated it into smxi. This means no need to maintain or try to work with the awkward code in the original. The basic logic was only about 6 or 8 lines, the rest is just normal looping and interactive option selections etc. I'm glad to remove kremover support though, it never fit into smxi, and was always a bit of a hack I think, now it looks just like any other smxi function. The moral of this story: when you get a bug report, accept it, don't get defensive. Most bugs when they get fixed improve your stuff, so there's no reason at all to resist them, unless they are actually technically wrong etc. Now to move on as the world begins to groan and collapse like the Titanic hitting an iceberg in super slow motion. You are aware of the slow motion global economic collapse, aren't you? If you aren't, you really need to pull your head out of your code/monitor or whatever, this is serious and it's for real. Read http://theautomaticearth.blogspot.com for up to the minute news and developments. ========================================================================= Version Number: 8.4.12 Date of Update: Sat, 20 Sep 2008 01:48:49 -0400 ------------------------------------------------------------------------- Made first attempt to handle the coming Lenny -> stable and Squeeze -> testing shift. I think the logic should work well, although I'm assuming that Lenny will be identified as is Etch in /etc/debian_version, 4.x/5.x, but if it's not, it won't be hard to update the logic quickly. The logic itself is fairly simple, which I think is an improvement over what I had in mind. Now smxi, sgfxi, and svmi all should more or less correctly detect etch, stable, testing, and unstable. I'm going to keep the etch detections for a while, maybe permanently, because I know of at least one system I run that won't even get updated ever to Lenny from Etch. I also synched completely the methods used for this detection in smxi, svmi, and sgfxi, which will make updates and maintenance much easier, and easier to avoid copy/paste errors etc. On the todo list, which is quite short, is to add two new package groups to package install, media apps and server groups. Neither is that hard, although you do need to do some version testing to make sure they will work across stable to sid. In many ways, this really seems like fiddling while rome burns, given the rapid collapse and gutting of the US economy, and the global shocks. Now you know why you have regulated finance, and why financial deregulation causes one thing: collapse. Welcome to the real world, let's see how bad it gets... ========================================================================= Version Number: 8.4.8 Date of Update: Wed, 17 Sep 2008 01:12:58 -0400 ------------------------------------------------------------------------- No real changes of note, but time to check on the non script progress. The departure, official, from sidux went ok, as well as can be expected. People were all in all civil, and that's a nice thing in general. smxi and related scripts have pretty much managed to now spread to full Debian support, without really interrupting the sidux user base in any significant ways. Today's change was to fix an antix bug, in the initial conversion. The smxi logging is working very well now to catch and fix bugs, as I had hoped it would. I'm enjoying not having the role of sidux.com forum mod anymore, it wasn't really fun at all, and hadn't been for a while. I have to admit to also feeling a sense of relief to not see my name as a team member on the Ourea release notes, that confirmed to me that I made the right move leaving the project officially, and just doing smxi and sgfxi etc, without the team dynamics causing headaches and unproductive stress. So I can already see this receding into the distance, after only an official week of leaving that project. Where smxi and scripts will go in the future is something I am not going to worry about, if they continue, they continue, if they don't, it was a fun project, even if it was ultimately just making, as hubi put it nicely on the sidux forums, some fun toys for people to play with. ========================================================================= Version Number: sm-lib-apt-tools: 1.17.5 Date of Update: Thu, 21 Aug 2008 20:24:51 -0400 ------------------------------------------------------------------------- Useful error logging of apt install/remove functions, now on error, all data will be logged. This completes the core logging features of smxi now, and should prove useful in helping support problems. I haven't been using this changelog much, I'm lazy, and the svn stuff is working pretty nicely, but overall, it's easier to write long things here. So check back in now and then for the changelog blog, heh... Overall, the smxi/sgfxi/svmi move to full Debian support is going very well, bugs are being cleared up, and found, which is a good sign, otherwise I'd think nobody was using smxi at all. Script update on non sidux is taking slow but steady steps, which is how I want it to go, that lets the solutions, and the bugs they invariably cause, get discovered in a fairly organic way. Of course the real question is, how long will I keep running a Sid based distro for? I'll probablby always keep one, but overall, I just don't see much point to it in general, seems like things keep breaking, time flows, and nothing much of utility gets done, although the latest packages are nice I guess. So we'll see how it goes. ========================================================================= Version Number: sm-lib-kernel: 2.4.9 Date of Update: Tue, 29 Jul 2008 16:43:52 -0400 ------------------------------------------------------------------------- New archived kernel: 2.6.25.13-slh*-smp-1 ========================================================================= Version Number: sm-lib-kernel: 2.4.3 Date of Update: Sun, 27 Jul 2008 14:04:50 -0400 ------------------------------------------------------------------------- New archived kernels: 2.6.25.11-slh*-smp-2 New Advanced Testing kernels: 2.6.26.0-slh*-smp-4 ========================================================================= Version Number: 8.3.0 Date of Update: Fri, 25 Jul 2008 14:14:40 -0400 ------------------------------------------------------------------------- Added support for custom user scripts to be run in post du options section. Downloads and starts any script the user wants, as long as it exists. Also tests to make sure url is good. You can thus start any script you want, as long as it is downloadable via the web and actually works. The script appears as an additional option in the Post Du Options section. ========================================================================= Version Number: 8.1.0 Date of Update: Wed, 23 Jul 2008 16:47:05 -0400 ------------------------------------------------------------------------- Made non free graphics testing and output function global, now shows for xorg / new kernel, both post du and in gfx question, let's user know exactly what's happened. ========================================================================= Version Number: sm-lib-kernel: 2.3.12 Date of Update: Fri, 18 Jul 2008 14:40:24 -0400 ------------------------------------------------------------------------- New advanced kernel archived: 2.6.26.0-slh*-smp-3 ========================================================================= Version Number: 7.36.0 Date of Update: Thu, 17 Jul 2008 18:02:09 -0400 ------------------------------------------------------------------------- and svmi, sgfxi, new option: -j -j sets the new color setting function to monochrome, no colors. And that's about it for now. ========================================================================= Version Number: sm-lib-apt-tools:1.14.0 Date of Update: Thu, 17 Jul 2008 14:32:09 -0400 ------------------------------------------------------------------------- and package install, added option to test if there is either an installation candidate or an installed version, with this test I can test for flash version support, since flashplugin-nonfree is only in sid, smxi can then test for other flash versions, and try to install those instead. Also fixed a few more bugs with desktop package groups, in future, I'll avoid including specific dependencies since those are changing fairly routinely, and just have the current dependencies pulled in automatically. ========================================================================= Version Number: sm-lib-kernel: 2.3.11 Date of Update: Thu, 17 Jul 2008 03:13:44 -0400 ------------------------------------------------------------------------- Added testing kernels 2.6.26-0.slh.2 This restores that functionality, also upgraded all kernel backend stuff to support alt kernels again. Should all be working fine. Alt kernels will be store as before on smxi kernel archives like standard archived kernels. ========================================================================= Version Number: sm-lib-kernel:2.3.10 Date of Update: Sun, 13 Jul 2008 20:02:51 -0400 ------------------------------------------------------------------------- Added archived kernel: 2.6.25.10-slh*-smp-1 ========================================================================= Version Number: 7.35.0; lib-warning:2.0.0 Date of Update: Tue, 08 Jul 2008 14:53:46 -0400 ------------------------------------------------------------------------- Big upgrade, added new option -W, takes c, w, wc args, to print out either last warnings/alerts/configs downloaded by smxi, or, if user starts as root, gets current ones. Also did a redo of lib warning to make it fully future compatible with all coming smxi features, like logging etc. this should be helpful to users. ========================================================================= Version Number: warning page: 2.2.0 Date of Update: Mon, 07 Jul 2008 19:15:50 -0400 ------------------------------------------------------------------------- Cleaned up code, made easier to maintain, removed legacy cruft ========================================================================= Version Number: 7.34.22 Date of Update: Wed, 02 Jul 2008 15:06:18 -0400 ------------------------------------------------------------------------- Also lib apt tools and warning, now smxi uses a new location for configs/warning data in server, /downloads/distro/upgrade-data/... This helps long term keep it organized, and is also a preparation for the eventual release publically of the backend part of smxi, which will happen whenever it's ready for public gpl release, which is when it's ready, and not a day before ;-) Also, gpl'ed (v3) usl, the primary smxi updating dev tool, that's in svn now. These cleanups may eventually lead to a full deb packaged smxi, sgfxi, and svmi, but I'll have to see how that goes, there are things about deb packaging that are just basically a time consuming pain in the ass re development speed, but I can see that happening in the next year if all things continue on their present course, which if the current global warnings about full scale economic collapse are even remotely accurate, is most certainly not a given. ========================================================================= Version Number: sm-lib-kernel: 2.3.8 Date of Update: Fri, 20 Jun 2008 13:24:45 -0400 ------------------------------------------------------------------------- Added 2.6.25.6-slh*-smp-3 kernels to archives. ========================================================================= Version Number: smxi: all components Date of Update: Mon, 16 Jun 2008 12:58:55 -0400 ------------------------------------------------------------------------- More refactoring, improved system detections, improved set_distro_data handling, improved antix handling in conversion option, added antix source handling and bug fix for sid installs. Fixed output for kernel modules, improved apt source installer to better test for commented out sources. Improved dynamic runlevel detections, now only drops user to runlevel 3 if system default is 5 and default display manager default is 5 only. All other cases simply does not tweak runlevels. Added global no-kernel to handle systems that can't run debian kernels, or just to let users turn off kernel install features. The no-kernel flag is set automatically for systems that require that. ========================================================================= Version Number: smxi: all components Date of Update: Sat, 14 Jun 2008 01:46:24 -0400 ------------------------------------------------------------------------- Multi system handling improved, added warning/holds for sid, testing, stable. This is handled dynamically or via a user set value (manually set currently) Except for some possible bugs in sid/testing/stable detection, I think this is going to work pretty well. Still to do, improve distro version output, possibly using infobash logic, which itself for some reason is not working for my testing install. Core functionality is in set_distro_data, which now handles some key globals, used script wide. Some testers are already running it, and it's looking quite good so far, definitely a huge improvement in terms of non-sidux support, but still debian based. ========================================================================= Version Number: smxi: all components Date of Update: Thu, 12 Jun 2008 22:59:52 -0400 ------------------------------------------------------------------------- Largely completed the first major phase of adding in debian sid/testing support. Initial design elements are now all implemented, and most components of the script now work smoothly with either sidux or an alternate distro based on sid or testing. This required extensive refactoring, which led to a significant improvement of many of the modules and smxi itself. Improved sticky prefs, made more modular so it can handle setting standard or value type prefs easily, no more added stuff through the script. Automatic or user set system kernel version detection and handling completed. All kernel components except the metapackage handler now work with variable kernel types, and the metapackage won't take much more work to get running. I'll probably have to improve the kernel handler a bit more if I end up having more than sidux and debian kernels handled by default, but I think it won't be too hard to get that done now that it's all cleaned up and structured better. Conversion module now works better too, and gives better user options, better choices, and more useful handling of cases. To do there: fix grub-gfxboot system to handle correctly in sid cases. ========================================================================= Version Number: sm-lib-kernel:2.2.0 Date of Update: Mon, 09 Jun 2008 14:46:18 -0400 ------------------------------------------------------------------------- New feature, module installer, goes with module remover. Automatically detects for and installs either meta or current kernel module, if available. Presents users a list of modules to pick from. Since not all modules are always available, if it's not currently available, it will let the user know that. ========================================================================= Version Number: sm-lib-kernel: 2.1.8 Date of Update: Sun, 08 Jun 2008 20:21:30 -0400 ------------------------------------------------------------------------- Added 2.6.25-slh*-smp-10 kernel to archives. Moved kernel archive data setting to sm-lib-kernel. ========================================================================= Version Number: sm-lib-package-install:2.6.0 Date of Update: Thu, 05 Jun 2008 22:02:45 -0400 ------------------------------------------------------------------------- and apt-tools, smxi. Updated gpg handling, removed legacy methods, removed -Y arg since there are now no gpg key installs to skip. Refactored sm-lib-package-install, fixed apt sources updating logic to use new method of /etc/apt/sources.list.d/... files. For this purpose, that's easier for me to handle. Added new feature: swiftfox package install. detects 32/64 and offers proper list of versions to users. ========================================================================= Version Number: sm-lib-2008-fixes:1.3.0 Date of Update: Wed, 04 Jun 2008 17:18:32 -0400 ------------------------------------------------------------------------- b43-fwcutter fix added. ========================================================================= Version Number: sm-lib-apt-tools: 1.8.2 Date of Update: Wed, 04 Jun 2008 15:52:36 -0400 ------------------------------------------------------------------------- Fixed broken bad sidux kernel repo handler, fixed smxi bug with that too. Added http://ftp.spline.de to bad repo handler ========================================================================= Version Number: sm-lib-kernel-install:2.2.5 Date of Update: Tue, 03 Jun 2008 23:18:54 -0400 ------------------------------------------------------------------------- sm-lib-kernel: put debian sid kernel install live as advanced option with no -T requirements. This should be interesting long term, and might help make sidux just that much more appealing to debian users, although I think usually you'd want to use slh kernels, unless they aren't supporting something and the sid ones are. Good to have choice I think, we'll see how it goes. ========================================================================= Version Number: sm-lib-kernel-install:2.2.4 Date of Update: Tue, 03 Jun 2008 22:01:51 -0400 ------------------------------------------------------------------------- Added these modules to kernel auto install, module download, and module list: tp-smapi- r5u870- eeepc-acpi- qc-usb- sfc- rfswitch- ========================================================================= Version Number: sgfxi:3.1.3 Date of Update: Tue, 03 Jun 2008 15:18:01 -0400 ------------------------------------------------------------------------- svmi: 1.1.0 Finally updated and improved CC export in sgfxi, and added CC export and g++ version detection/installation. For svmi, this is needed to build vmware module on other kernels, like debian sid. This helps bring both sgfxi and svmi closer into the debian sid/testing support fold, while still of course focusing on sidux support primarily. ========================================================================= Version Number: sm-lib-apt-tools:1.8.1 Date of Update: Tue, 03 Jun 2008 13:12:17 -0400 ------------------------------------------------------------------------- Added thunar:thunar-data to auto hold/install check ========================================================================= Version Number: 7.29.4 Date of Update: Tue, 03 Jun 2008 00:51:06 -0400 ------------------------------------------------------------------------- sm-lib-kernel-install: 2.2.3 sm-lib-apt-tools:1.8.0 svmi: 1.0.1 sgfxi: 3.1.2 New feature: install debian current kernel, uses same functions and logic as sidux apt kernels, but sets a debian sid kernel version global instead when needed. This required a fix in svmi to handle different gcc for kernel, so that's a new option: -g 4.1 for example will export CC gcc-4.1, and also test/install g++-4.1 if needed. sgfxi needed a patch/unpatch for debian 2.6.25-2 kernels due to them building it with xen support enabled by default now. nvidia works, but debian sid nvidia driver requires no patch. Currently only active using -T option, but I'll probably take that off tomorrow. Both smxi and sgfxi require -T to get the full new functionality. smxi now has a new option in advanced kernel install, install-debian-kernel, that triggers the same set of options as install-apt-kernel for sidux does. This required redoing and making more abstract by a bit the entire sm-lib-kernel-install logic, but that's a good thing anyway. All seems to work fine, with a few more tests, I'll remove the -T and let this one loose. Hopefully there won't be an objection, but for fglrx users, they currently didn't have much choice. ========================================================================= Version Number: 7.29.2 Date of Update: Sat, 31 May 2008 19:46:39 -0400 ------------------------------------------------------------------------- Cleanup, new du_trap_handler function, added trap to post_du section too just in case there's a fix in there one day that users exit post du. That should do it, hopefully now we won't have those nasty leftover holds from forced exits. ========================================================================= Version Number: 7.29.0 Date of Update: Sat, 31 May 2008 19:02:12 -0400 ------------------------------------------------------------------------- Long overdue: added trap event to remove holds set in auto hold/install tests pre dist-upgrade. Now if user exits with ctrl+c or kill, holds will be removed prior to exit. This should help a lot long term, especially for people who use ctrl+c to exit frequently. ========================================================================= Version Number: 7.28.23 Date of Update: Sat, 31 May 2008 14:44:07 -0400 ------------------------------------------------------------------------- Cleaned up all one liner flow controls. As usual, this exposed some weird logics. And showed places that could very easily cause error due to unclear flow. I'll be cleaning up the other parts of the script soon too, for some reason the old regex I used didn't work reliably, I found a better one, so now I can finally root out all those annoying [ condition ] && do something lines. I'm always amazed at how instantly clear the logic becomes when I dump those, things that should clearly be related become obvious, places where error could easily creep in also become obvious. My best programming teacher told me to avoid those things, and he's right, avoid them at all costs, there is no case where they make your code better. And if your code editor makes it hard to read a few more lines, get a better code editor.. ========================================================================= Version Number: sm-lib-apt-tools: 1.7.10 Date of Update: Sat, 31 May 2008 13:41:02 -0400 ------------------------------------------------------------------------- Modified default dependency checks to also ignore + type numbers for basic: ie: 2.6.5-1, 2.6.5-1+beta-3;2.6.5-1+2.4 will all count as: 2.6.5 for default Added hplip package group to pre du tests. ========================================================================= Version Number: warnings: 2.0.9 Date of Update: Fri, 30 May 2008 13:30:55 -0400 ------------------------------------------------------------------------- Added 'Configs Last Modified' information to y/n config file data component. ========================================================================= Version Number: 7.28.22 Date of Update: Thu, 15 May 2008 17:15:22 -0400 ------------------------------------------------------------------------- Added archived kernels: 2.6.25.3-slh*-smp-3 ========================================================================= Version Number: 7.28.21 Date of Update: Thu, 08 May 2008 18:17:49 -0400 ------------------------------------------------------------------------- Finally made the forced du prior to kernel install test dynamic, now KERNEL_FORCE_DU is set in get_current_apt_kernel after latest apt kernel version is calculated. This should avoid that lag where I always forget to update latest. the moral of the story of course is the same, hard coded values are bad in almost all cases, dynamic testing always to be preferred, but it wasn't really practical with the old way, this one should work for almost all users, except weird custom compiled kernels, nothing I can do about that. ========================================================================= Version Number: 7.28.20 Date of Update: Thu, 08 May 2008 17:36:04 -0400 ------------------------------------------------------------------------- New archived kernels, 2.6.25.1.slh.2 ========================================================================= Version Number: 7.28.18 Date of Update: Wed, 30 Apr 2008 16:34:36 -0400 ------------------------------------------------------------------------- And sm-lib-cleanup 2.4.6; sm-lib-kernel: 2.1.2 New feature: kernel module remover, removes kernel modules, when removed, selects each module for all kernels. ========================================================================= Version Number: 7.28.13; sm-lib-graphics: 2.0.1 Date of Update: Wed, 30 Apr 2008 14:48:21 -0400 ------------------------------------------------------------------------- And sm-lib-kernel-install: 2.1.1 Added capability to trigger the new sgfxi -K option. Now post kernel install, user gets option to continue on and install driver or dist-upgrade. This should be popular. ========================================================================= Version Number: 7.8.12 Date of Update: Wed, 30 Apr 2008 12:31:52 -0400 ------------------------------------------------------------------------- added nvidia no sse support cpu test ========================================================================= Version Number: 7.28.11 Date of Update: Wed, 30 Apr 2008 11:54:46 -0400 ------------------------------------------------------------------------- new archived kernlels 2.6.24.5-slh*-smp-2 ========================================================================= Version Number: 7.28.10 Date of Update: Wed, 30 Apr 2008 11:54:18 -0400 ------------------------------------------------------------------------- Slight tweak to kernel version parser, to handle new slh syntax: 2.6.25-0.slh.3 ========================================================================= Version Number: 7.28.9 Date of Update: Sat, 19 Apr 2008 13:03:18 -0400 ------------------------------------------------------------------------- Added 2.6.24.4.slh*.7 kernels to archive. ========================================================================= Version Number: 7.28.8 Date of Update: Fri, 18 Apr 2008 20:33:22 -0400 ------------------------------------------------------------------------- Moved the advanced kernel list back into smxi proper, commented out all kernel lib stuff. Since kernels are now apt based by default, and the advanced kernel stuff is quite static, there's no longer a need to keep those updated remotely. Also removed kernel lib call in sm-lib-kernel. Now the kernels will be back to being hard coded in smxi, which will work fine since I'm only adding new kernels at the end of each major number series, like: 2.6.24.4.slh.7 for example, when the next series starts, like 2.6.25. ========================================================================= Version Number: sm-lib-apt-tools:1.7.0 Date of Update: Sun, 13 Apr 2008 14:07:08 -0400 ------------------------------------------------------------------------- Added new package group, wesnoth, because the package pairs had 3 packages for it. Moved global HOLD_INSTALL variable setting to sm-lib-apt-tools so I don't have to keep updating smxi itself. Added xsane:xsane-common to hold/install pair tests. ========================================================================= Version Number: sm-lib-apt-tools: 1.6.0 Date of Update: Fri, 11 Apr 2008 14:04:16 -0400 ------------------------------------------------------------------------- New package group added, amarok with its engines and common. Also added elinks sub version testing to package pair item. ========================================================================= Version Number: sm-lib-apt-tools: 1.5.21 Date of Update: Tue, 01 Apr 2008 14:16:33 -0400 ------------------------------------------------------------------------- Added two new options in apt-get update error handling: switch debian mirrors; switch sidux mirrors. This lets users simply switch a mirror when update fails. Unfortunately, the sidux mirrors leave a lot to be desired in terms of uptime and overall stability, at least the USA ones. ========================================================================= Version Number: 7.28.0 Date of Update: Fri, 28 Mar 2008 17:42:27 -0400 ------------------------------------------------------------------------- Made smxi mini-apt much more robust, a crust idea to simply end each file smxi uses, libs, etc, with ###**EOF**### then test for that in the downloaded file. If missing, assume corruption, and do not mv temp download file to real file name. This will also allow for easy attempts at self repair in smxi. Currently it is set to automatically retry one time, then enter error mode. Unfortunately, this isn't really integrated into the error handler, and pushes this all back even further into the future, sigh... Anyway, this is a good solution in my opinion, and it was easy. ========================================================================= Version Number: sm-lib-misc-tweaks: 1.14.0 Date of Update: Fri, 21 Mar 2008 20:41:33 -0400 ------------------------------------------------------------------------- New option, finally, set automatically the option of which key to use to continue in smxi. Small update also in smxi to handle the case of alt-print-hec=enter, hit enter that is. ========================================================================= Version Number: sm-lib-misc-tweaks: 1.13.0 Date of Update: Fri, 21 Mar 2008 02:17:30 -0400 ------------------------------------------------------------------------- Made a new section, advanced tweaks. Moved in the locales and the bashrc tweaks also added connection to debian and sidux mirror updates. Also added an advanced -x only option to remove the sources.list.d subdirectories and move them back to sources.list. I'm keeping this an advanced option only, hidden for normal users to avoid confusion and annoying the sidux guys, but personally I want this, and I don't like the little list files. So that's a good compromise, fix it for me and anyone who wants it, leave standard for anyone else. ========================================================================= Version Number: sm-lib-apt-tools: 1.5.0 Date of Update: Tue, 18 Mar 2008 16:48:59 -0400 ------------------------------------------------------------------------- Major rewrite of the sidux-apt/kernel mirrors. Now handles all possible cases, at least in theory. 1. handles non-free update to both sources.list and sidux/debian.list 2. kernel mirror handles both standard sources.list and sidux.list/debian.list 3. handles both core and alternate mirrors. 3a: core updates only current core, of the 4 primary mirrors 3b: alternate prepends if absent to current core, and updates if present. This required a bunch of nasty code, which may or may not get fixed over time. get_set_mirror() is the main engine, I recycled the change_kernel_mirrors() function to just trigger get_set_mirror() now. Also created a list echo function: list_distro_mirrors() which just outputs the mirrors. Kept the bad mirror trigger also, in case a mirror goes bad, we can quickly get it updated as well. ========================================================================= Version Number: sm-lib-apt-tools: 1.3.1 Date of Update: Mon, 10 Mar 2008 17:58:57 -0400 ------------------------------------------------------------------------- Added gimp package group handling, those were previously done in pairs in that function, but it makes more sense to test a group as a group, and put all elements of the group on hold rather than taking a chance. ========================================================================= Version Number: sm-lib-apt-tools: 1.3.0 Date of Update: Mon, 10 Mar 2008 14:52:43 -0400 ------------------------------------------------------------------------- Added new package group hold/install function: advanced_broken_dependency_handler This supports different package groups, but currently only tests openoffice.org This new function should help take us down the road a bit more, as far as I'm concerned, the end of the growth, more speed, more bits, era is over. The last people to get clued in to this fact will be us here in this virtual community. But this new function will be one more protection against mistakes made in debian packaging practices re sid 32 bit releases. ========================================================================= Version Number: sm-lib-misc-tweaks: 1.12.0 Date of Update: Sun, 09 Mar 2008 19:24:13 -0400 ------------------------------------------------------------------------- New feature in misc tweaks: ooo hold/install/update tool. This uses only the new smxi core apt tools for its entire functioning, from ooo package test to hold/install using the core hold/install engine of smxi, to package_installer. Works nicely, definite first payoff for all the modularizing hacking I've done over the last months. ========================================================================= Version Number: sgfxi: 2.4.0 Date of Update: Fri, 07 Mar 2008 15:44:17 -0500 ------------------------------------------------------------------------- Switched sgfxi fully away from bash style syntax, from now on I'm only using clear vertically scanable statements, no more of these silly [ condition ] && statement things that basically just hide mistakes and logic errors. I believe that it is the engrained peer pressure to program with fewest lines possible rather than any inherent flaw in bash, perl, or any similar scripting language designed both for shell direct one liners and scripts, that keeps the reputation of these languages so fouled. And rightfully so, in my opinion. I was amazed to see the script open up, logic and flow errors become exposed instantly, as soon as I dropped all one line flow controls. The only useful one I'm keeping is the error handler case: statement || error stuff ========================================================================= Version Number: 7.27.8 Date of Update: Thu, 06 Mar 2008 12:57:13 -0500 ------------------------------------------------------------------------- Cleaned up more small stuff, moved all indentation spacing except for list output to use SPACER global. I'll probably go in and update some layout stuff later, but for now the randomness is less than it was. All styling should be global, I'll come back to the list/select spacing later. The more cleaned up this stuff gets, the easier long term it will be to work with. ========================================================================= Version Number: 7.27.1 Date of Update: Sat, 01 Mar 2008 15:34:57 -0500 ------------------------------------------------------------------------- And sm-lib-sidux-conversion; sm-lib-apt-tools; sm-lib-kernel-install;sm-lib-clean-up Modified package_installer to better handle more cases while simplifying the logic. Removed smPref handling, that was just too complicated, now caller functions always handle that part, one job per function. package_installer creates print output based on args, and returns 0/1 errors as well. This makes it easier to integrate and handle all package install error handling and logging long term. New option: $3 - extraOptions, to handle unusual options like --reinstall, -d ========================================================================= Version Number: 7.27.0 Date of Update: Fri, 29 Feb 2008 15:51:14 -0500 ------------------------------------------------------------------------- Preparation for logging, basic functions added: log_function_data() sets 6 types of options: master: start master: end primary: start primary: end utility: start utility: end Using globals that are run via eval adjust_log_indent() sets global: LOG_INDENT to expand or contract for easy to read indented logging, main/primary/utitility log_writer() will output to log file whatever is requested. New Globals: LOG_MASTER='' LOG_PRIMARY='' LOG_INDENT='' LOG_UTILITY='' LOGMS='log_function_data ms $FUNCNAME' LOGME='log_function_data me $FUNCNAME' LOGPS='log_function_data ps $FUNCNAME' LOGPE='log_function_data pe $FUNCNAME' LOGUS='log_function_data us $FUNCNAME' LOGUE='log_function_data ue $FUNCNAME' ========================================================================= Version Number: 7.26.3 Date of Update: Tue, 26 Feb 2008 13:35:27 -0500 ------------------------------------------------------------------------- New error handler condition, kernel-zip-corrupted, to handle cyclic redundancy check in archive kernel zip file install in sm-lib-kernel-install. ========================================================================= Version Number: 7.26.2 Date of Update: Mon, 25 Feb 2008 16:36:51 -0500 ------------------------------------------------------------------------- Added 'set_hold_install install' to new meta kernel reboot option in du section. ========================================================================= Version Number: 7.26.1 Date of Update: Mon, 25 Feb 2008 14:57:27 -0500 ------------------------------------------------------------------------- Polished up the alert about new kernel for metapackage users a bit. ========================================================================= Version Number: 7.26.0 Date of Update: Mon, 25 Feb 2008 14:48:32 -0500 ------------------------------------------------------------------------- Added option to allow metapackage users to be alerted about their kernel being upgraded in the dist-upgrade. Now adds option to reboot if they want in the post dist-upgrade question for those users alone. ========================================================================= Version Number: 7.25.0 Date of Update: Sun, 24 Feb 2008 23:08:12 -0500 ------------------------------------------------------------------------- Also: sm-lib-kernel 2.0.0; sm-lib-kernel-install 2.0.0 Now full support for metapackages. For now, smxi takes no automatic action if users are NOT using metapackages, and if they are, it asks one time if they want to keep or dump them. This option is also available always pre du part with -N option, and it's also now one of the advanced kernel install section options, along with the various kernels zip files you can install. The section has the following options, with dynamic detection if user has metapackages running or not: remove all metapackages install all metapackages, including detection and install of currently running modules. install current apt kernel. That didn't really need to go there, but I figured why not, for now it's fine. New functions: smxi: metapackage_launcher handles detection of metapackages prior to running the main metapackage function. Launched via launch_function_trigger sm-lib-kernel-install: kernel_meta_package_handler() remove_kernel_metapackages() set_metapackage_prefs() set_metapackage_selections() These are pretty self explanatory. Modified reboot_now_question to handle cases where user did not install a new kernel, gives option in that case to just continue. sm-lib-kernel: updated kernel_question and set_kernel_data to handle this new option. ========================================================================= Version Number: 7.24.5 Date of Update: Sat, 23 Feb 2008 20:59:56 -0500 ------------------------------------------------------------------------- Moved these back into smxi proper due to bugs and errors: normalize_kernel_string() test_kernel_strings() ========================================================================= Version Number: 7.24.0 Date of Update: Sat, 23 Feb 2008 18:15:53 -0500 ------------------------------------------------------------------------- Split off more functions into sm-lib-apt-tools: get_current_apt_kernel normalize_kernel_string test_kernel_strings test_app_exists ========================================================================= Version Number: 7.23.1 Date of Update: Sat, 23 Feb 2008 18:07:42 -0500 ------------------------------------------------------------------------- Remove legacy convert_to_smxi function, added in rename of sm/du-fixes.conf->smxi.conf ========================================================================= Version Number: 7.23.0 Date of Update: Sat, 23 Feb 2008 18:02:33 -0500 ------------------------------------------------------------------------- Split off all apt util functions into sm-lib-apt-tools. smxi is just getting too big, so I had to cut some stuff and put it into a lib. Hopefully this one won't cause any problems. ========================================================================= Version Number: 7.22.1 Date of Update: Sat, 23 Feb 2008 15:59:46 -0500 ------------------------------------------------------------------------- Added in error handling to main smxi script body. This handles now all except one exit > 0 case, and also fixed the exit > 0 that should be 0. ========================================================================= Version Number: 7.22.0 Date of Update: Sat, 23 Feb 2008 15:30:56 -0500 ------------------------------------------------------------------------- First steps to creating a full script wide error handler. error_handler function supports 3 args: $1 error type; $2 $FUNCNAME where error occurer; $3 option error information. this is largely based on the sgfxi error handler, but I changed one thing I don't like, using error numbers in the error handler call, now it uses human readable error codes and translated them internally into error numbers. That's much more flexible. Supports 3 error types: fatal: causes script exit; serious: something broke in the running of a function but does not require exit, eg an apt error; internal: something internally in the script broke, this is mainly for avoiding programming errors, so smxi reports missing data etc. Also implemented these on sm-lib-kernel-install to see how it works. You can see this now on the root login required error. ========================================================================= Version Number: 7.21.7 Date of Update: Fri, 22 Feb 2008 23:30:02 -0500 ------------------------------------------------------------------------- modified test_kernel_strings to only echo true/false if not set-ke. Otherwise we get silly echoes of true/false where the test runs, dugh.... So it will handle either only setting global OR returning true/false. ========================================================================= Version Number: 7.21.6 Date of Update: Fri, 22 Feb 2008 22:58:59 -0500 ------------------------------------------------------------------------- test_kernel_strings added $2, set-ke, that sets the global flag: KERNEL_EQUAL_INSTALL='true' This cleans up the kernel libs a bit more, gets rid of some redundant code. Slowly but surely the behemoth creaks into its new ways.... ========================================================================= Version Number: 7.21.5 Date of Update: Fri, 22 Feb 2008 22:30:05 -0500 ------------------------------------------------------------------------- package_tester added full-wild option, that allows for getting all packages based on any part of their string, like 2.6-sidux, for meta installed kernels for instance. That about completes that feature I think for now, it does pretty much anything you'd want it to do re search dpkg -l for things. ========================================================================= Version Number: sm-lib-kernel-install: 1.15.2 Date of Update: Fri, 22 Feb 2008 20:19:24 -0500 ------------------------------------------------------------------------- Now skips the bz file test and directly uses m-a, which worked fine in my tests, we'll see how it goes. m-a successfully installed madwifi and ndiswrapper on a box where they had not existed before. Kernel installer is still testing however for currently installed madwifi / ndiswrapper module in running kernel during new kernel install, so this wont' help users who don't have those modules made already in their current kernels. More bugs and issues will be resolved as they come up, I expect more changes to happen, but the stuff is improving bit by bit with good user feedback. Thanks Crust... ========================================================================= Version Number: sm-lib-kernel-install:1.15.1 Date of Update: Fri, 22 Feb 2008 18:30:11 -0500 ------------------------------------------------------------------------- Updated to remove old style links: echo "${S}Updating kernel ${C}vmlinuz/initrd.img${S} links...${N}" #echo "${S}Removing ${C}/boot${S} links...${N}" [ -L /boot/vmlinuz ] && rm -f /boot/vmlinuz [ -L /boot/initrd.img ] && rm -f /boot/initrd.img [ -L /boot/System.map ] && rm -f /boot/System.map # [ -L /boot/vmlinuz ] && ln -fs "vmlinuz-${installKernel}" /boot/vmlinuz #[ -L /boot/initrd.img ] && ln -fs "initrd.img-${installKernel}" /boot/initrd.img #[ -L /boot/System.map ] && ln -fs "System.map-${installKernel}" /boot/System.map [ -L /vmlinuz ] && ln -fs "boot/vmlinuz-${installKernel}" /vmlinuz # set new kernel as default [ -L /initrd.img ] && ln -fs "boot/initrd.img-${installKernel}" /initrd.img ========================================================================= Version Number: sm-lib-kernel-install:1.15.0 Date of Update: Fri, 22 Feb 2008 18:11:53 -0500 ------------------------------------------------------------------------- Added ndiswrapper module builder for current modules, 11 series. Because this duplicated the madwifi function, I also created a master module builder function that can build any module required depending on options. ========================================================================= Version Number: 7.21.3 Date of Update: Fri, 22 Feb 2008 15:10:00 -0500 ------------------------------------------------------------------------- Fine tuned apt update/install/upgrade last use in print information. Now shows the last time prior to smxi being run, not the last time, which will almost always be that current session since smxi now always updates unless no connection. ========================================================================= Version Number: 7.21.1 Date of Update: Fri, 22 Feb 2008 14:54:06 -0500 ------------------------------------------------------------------------- Fixed small bug in regex for latest apt update/install data. New pattern is: ls -l --time-style=+%Y-%m-%d-%H:%M $dpkgif | / egrep -o "20[0-9]{2}-[0-9]{2}-[0-9]{2}-[0-9]{2}:[0-9]{2}" ========================================================================= Version Number: 7.21.0 Date of Update: Fri, 22 Feb 2008 13:59:59 -0500 ------------------------------------------------------------------------- moved old set_32_64_bit to sm-lib-kernel, that is no longer needed in main body since latest version is now set dynamically with one exception, future -K testing kernels. I'm not going to worry about those though for the time being, those don't even exist yet. refactored further in sm-lib-kernel to handle use of new apt kernel version as default instead of KERNEL_FILE as previously. ========================================================================= Version Number: sm-lib-kernel/sm-lib-kernel-install Date of Update: Thu, 21 Feb 2008 23:27:30 -0500 ------------------------------------------------------------------------- Some new kernel install tweaks, mostly from the old install-kernel-sidux.sh script. For post kernel install, it runs through some of the double check stuff to make links, initrd.img etc stuff. Added in the madwifi builder as well, and a final note to nvidia/ati fglrx users to make sure to reinstall their drivers. Fixed many bugs along the way, and made some of the methods more robust. ========================================================================= Version Number: 7.20.0 Date of Update: Thu, 21 Feb 2008 14:10:11 -0500 ------------------------------------------------------------------------- Moved the latest kernel detection to smxi itself, so that print info can use it. Because apt-get update now always runs prior to print info, so it can have the latest kernel version, I had to emulate the output of check latest script version. Now that's in a global that simply gets echoed in the proper place. Also have temporarily turned off kernel mirrors until that function is fully synced with real kernel mirrors, but that will take some hacking to get working correctly. Also removed from sm-lib the kernel mirror section, now always only uses techpatterns zip file directory alone for all kernel downloads. ========================================================================= Version Number: sm-lib-kernel-install:1.11.0 Date of Update: Wed, 20 Feb 2008 15:00:33 -0500 ------------------------------------------------------------------------- Added kernel install directory support, now it copies over all kernel install debs,modules, and then downloads any missing ones to the install directory. Also refactored some download logic to make it more universal. ========================================================================= Version Number: 7.19.5 Date of Update: Wed, 20 Feb 2008 13:48:23 -0500 ------------------------------------------------------------------------- Added dctrl-tools test for grep-aptavail features used in apt module installer. Also modified required tools function to handle two test types: which and dpkg. ========================================================================= Version Number: 7.19.0 Date of Update: Tue, 19 Feb 2008 16:36:11 -0500 ------------------------------------------------------------------------- Added new abstraction layer for kernel naming schemas. Now internally, where needed, all parts of smxi will use this naming for all directories and other related functions: 2.6.24.2.slh.2-sidux-amd64/686 Updated sm-lib-clean-up sm-lib-kernel sm-lib-kernel-install as well ========================================================================= Version Number: 7.18.11 Date of Update: Tue, 12 Feb 2008 13:39:38 -0500 ------------------------------------------------------------------------- New option in print error handler, yno, this allows $2 to send an extra character to the error message. This was for the new cleanup cruft remover In sm-lib-clean-up, new function, remove all rc type cruft in system, has option to first run with --simulate flag. Restored deborphan, but only to print out list per user request. Updated sm-lib-kernel to use a function for the new advanced string testing for kernel versions. Also use this now in the kernel remover in cleanup. ========================================================================= Version Number: 7.18.10 Date of Update: Tue, 12 Feb 2008 00:39:54 -0500 ------------------------------------------------------------------------- Modified some kernel and kernel file numbering detection stuff as first part of the wonderfully surprise delivery of a brand new kernel install method. These are basic quick hacks, to handle it for now, while we see what the devs are actually planning long term. All current mirrors are now not serving kernels, just a tiny text install file. No fix in sight. smxi now handles random slh kernel versioning in terms of comparing them. ========================================================================= Version Number: 7.18.7 Date of Update: Fri, 08 Feb 2008 17:43:37 -0500 ------------------------------------------------------------------------- New structure: ######################################################################## #### FUNCTIONS ######################################################################## ######################################################################## ### core utilities, script updating tool (mini-apt), xorg utilities, ### package/file tests, sticky prefs, script values/triggers ###--------------------------------------------------------------------- ###--------------------------------------------------------------------- ### core utilities: script libs update, debugger, tools ###--------------------------------------------------------------------- script_debugger() run_script_import() test_version_info() update_scripts() check_for_wget_file() compare_numbers() ###--------------------------------------------------------------------- ### Test required apps, script files, cleanup stuff ###--------------------------------------------------------------------- test_app_exists() cleanup_extra_files() create_script_files() update_to_smxi() ###--------------------------------------------------------------------- ### sticky script preferences:: preference file located: /etc/smxi.conf ###--------------------------------------------------------------------- sticky_prefs() set_sticky_prefs() sm_pref_tester() ###--------------------------------------------------------------------- ### set script values / general triggers ###--------------------------------------------------------------------- set_32_64_bits() launch_function_trigger() ###--------------------------------------------------------------------- ### x utilities ###--------------------------------------------------------------------- start_windows_manager() start_default_dm() do_wm_pid_test() test_xorg_version() launch_from_X() ######################################################################## ### checks of various script / system requirements / connections / update script ###--------------------------------------------------------------------- check_user_level_and_x() check_script_path() check_distro_version() check_age() check_connection() restart_networking() check_force_update() check_version() ######################################################################## ### information / output type stuff, utilities ###--------------------------------------------------------------------- print_error() print_lib_info() print_unsupported() print_version() print_install_information() print_hec() print_completed() print_quit() ######################################################################## ### apt-get / dpkg tools: update/install/mirror switchers ###--------------------------------------------------------------------- ###--------------------------------------------------------------------- ### core apt utilities, test / install / remove / error handler ###--------------------------------------------------------------------- package_tester() package_installer() package_remover() apt_error_handling() ###--------------------------------------------------------------------- ### package hold / dependency test stuff ###--------------------------------------------------------------------- set_hold_install() broken_dependency_handler() ###--------------------------------------------------------------------- ### apt-get update tools - update / keyrings / gpg / debian mirrors / non-free ###--------------------------------------------------------------------- apt_update_handler() install_keyrings() update_gpg() change_debian_mirrors() update_apt_sources() update_to_nonfree_sources() ###--------------------------------------------------------------------- ### kernel mirror selector ###--------------------------------------------------------------------- force_kernel_mirror_change() change_kernel_mirrors() ######################################################################## ### Kernel Stuff ###--------------------------------------------------------------------- ######################################################################## ### upgrade warning system ###--------------------------------------------------------------------- ######################################################################## ### Main Dist-Upgrade stuff, pre-du, du, and post-du ###--------------------------------------------------------------------- pre_du_tasks() install_dist_upgrade() post_du_tasks() ###--------------------------------------------------------------------- ### permanent du fixes ###--------------------------------------------------------------------- libc6_fix_1() ###--------------------------------------------------------------------- ### various du fixes ### NOTE: these fixes are contined in sm-lib-20xx-fixes files ###--------------------------------------------------------------------- ######################################################################## ### run various post du user options ###--------------------------------------------------------------------- post_du_options() ######################################################################## ### graphics stuff ###--------------------------------------------------------------------- ######################################################################## ### options and main script startup stuff ###--------------------------------------------------------------------- print_usage() ######################################################################## #### EXECUTE ######################################################################## run_script_components() ========================================================================= Version Number: 7.18.6 Date of Update: Fri, 08 Feb 2008 17:35:21 -0500 ------------------------------------------------------------------------- Tightened up reorganization and section header / subheader comment descriptions. ========================================================================= Version Number: 7.18.4 Date of Update: Fri, 08 Feb 2008 17:06:26 -0500 ------------------------------------------------------------------------- Renamed post_du_fixes to post_du_options, which makes more sense now. ========================================================================= Version Number: 7.18.3 Date of Update: Fri, 08 Feb 2008 16:54:09 -0500 ------------------------------------------------------------------------- Modified force_kernel_mirror_change to do its own test for bad mirrors instead of using the passed values from the trigger. ========================================================================= Version Number: 7.18.2 Date of Update: Fri, 08 Feb 2008 16:47:19 -0500 ------------------------------------------------------------------------- Cleaned up internal of launch_function_trigger to handle better different cases without creating error in the process. ========================================================================= Version Number: 7.18.0 Date of Update: Fri, 08 Feb 2008 16:12:57 -0500 ------------------------------------------------------------------------- Further reorganization. Now all core utilities are on top of main smxi file. Created one master trigger function to replace the debian and kernel mirror trigger. Pulled in all sticky_pref checks to run from the test_sticky_prefs function. Added feature in test_sticky_prefs to also return string value if pref is = This means that either tests for a count, or for the pref+value, and returns either a count or the value, or null. There will be some more reorganization I think, but this is now starting to look ok in terms of where most the functions are located. Also updated sm-lib-sidux-conversion, sm-lib-kernel-install, and sm-lib-graphics, to use only the new test_sticky_prefs function now. ========================================================================= Version Number: 7.17.0 Date of Update: Fri, 08 Feb 2008 00:21:34 -0500 ------------------------------------------------------------------------- internal reorganization of script to make the various functions somewhat more sensibly arranged. If you are one of the few who actually follows the internals or hacks it whatever, use this: egrep '(.)*()' /usr/local/bin/smxi after updating the script to see where the functions are now. No changes other than their location was made this time around. This is preparing for eventual 8.0.0, which should be more organized, full logging, etc, so I want the stuff to all make a bit more sense than it does now. I may also chop out and create one more lib file, but I'll have to wait to see about that because currently all the core stuff is core, as far as I can tell anyway. ========================================================================= Version Number: 7.16.8 Date of Update: Wed, 06 Feb 2008 15:26:56 -0500 ------------------------------------------------------------------------- Updated to handle better cases where full debian versus standard version numbers are used. Now a case statement handles all full versus standard numbering strings. Current apps in full: k3b, gnucash ========================================================================= Version Number: 7.16.7 Date of Update: Sun, 03 Feb 2008 13:30:16 -0500 ------------------------------------------------------------------------- Added k3b/k3b-data package mismatch test, this requires also testing the subversions, so I modified the dependency tester to do the full version string test for k3b/k3b-data as well as the standard version testing for the others. Full (example): 1.0.4-6 Standard (example): 1.0.4 ========================================================================= Version Number: 7.16.4 Date of Update: Sat, 02 Feb 2008 18:43:32 -0500 ------------------------------------------------------------------------- modified slightly the hold/install and auto check stuff to now handle better cases where users have set packages on hold manually. Now it tests and updates the hold install list to remove any packages that were on hold as well as that aren't installed. Hopefully this will fix that small error that someone pointed out a while ago. ========================================================================= Version Number: sm-lib-kernel-install:1.8.8 Date of Update: Sat, 02 Feb 2008 13:28:42 -0500 ------------------------------------------------------------------------- Updated download function to also look for testing kernels in mirrors as well as standard default. Also fixed small eye-candy thing in kernel install, now if kernel matches, the dots print out as timer goes down. ========================================================================= Version Number: 7.16.3 Date of Update: Fri, 01 Feb 2008 17:39:52 -0500 ------------------------------------------------------------------------- Crust came up with some very good suggestions that really helped that print_hec, using read -n 1, we can now have simply hit any key, or user set key, as options. Excellent alternative now, before it was a bit silly, now it actually makes sense. ========================================================================= Version Number: 7.16.2 Date of Update: Thu, 31 Jan 2008 22:36:55 -0500 ------------------------------------------------------------------------- Tweaked print_hec a bit to use hec-alt parameter, so only the du question will trigger this behavior. ========================================================================= Version Number: 7.16.0 Date of Update: Thu, 31 Jan 2008 20:48:10 -0500 ------------------------------------------------------------------------- version: 7.16.0: User added option to /etc/smxi.conf alt-print-hec= whatever you put after the = is what you need to type in to continue. In one of those maddening events, I actually had the space bar to continue working for a moment, I think, but then I couldn't get space to be recognized, so I had to give up on it. So get latest smxi, update it, then edit manually /etc/smxi.conf, add: alt-print-hec=k and you will have to type k+enter to continue, at each one. Also added rcconf as a post du option, along with du again, du -f, and continue. ========================================================================= Version Number: 7.15.2 Date of Update: Tue, 29 Jan 2008 02:01:01 -0500 ------------------------------------------------------------------------- Added option to start init 5/x at post du tweaks section, for users who don't need to reinstall graphics drivers. ========================================================================= Version Number: 7.15.1 Date of Update: Mon, 28 Jan 2008 23:45:49 -0500 ------------------------------------------------------------------------- Some more fine tuning of package_tester, now using this syntax: options: ii; hi; wild; ii-wild; rc; rc-wild; rc-all That should cover most cases I think, more can be added easily. ========================================================================= Version Number: 7.15.0 Date of Update: Mon, 28 Jan 2008 18:01:02 -0500 ------------------------------------------------------------------------- New global sm_pref_tester to test and return 0/>0 values for smxi pref items ========================================================================= Version Number: 7.14.0 Date of Update: Mon, 28 Jan 2008 17:06:24 -0500 ------------------------------------------------------------------------- Added new package installed function to create a global test for dpkg -l type tests. Still to do, add various test types, currently only handles specific string and wildcard type tests. To be added: hi/ii ii hi hi/ii-wild ii-wild ========================================================================= Version Number: sm-lib-2007-fixes: 1.3.0 Date of Update: Mon, 28 Jan 2008 13:06:38 -0500 ------------------------------------------------------------------------- Added legacy sidux package remover, changes netcardconfig to ceni, fix-res to use siduxcc. Also redid the entire prefs thing to use a more consistent method, easier to maintain long term, and less prone to typos: local prefId='some-pref-id-string' local smPref=$( grep -c $prefId $SM_CONFIG_FILE ) if [ "$smPref" -eq 0 ] then ............ set_sticky_prefs $prefId fi ========================================================================= Version Number: 7.13.7 Date of Update: Mon, 28 Jan 2008 00:23:32 -0500 ------------------------------------------------------------------------- Put back in k3b fix now that k3b and k3b-data match again. ========================================================================= Version Number: 7.13.6 Date of Update: Fri, 25 Jan 2008 20:09:42 -0500 ------------------------------------------------------------------------- A few more tweaks to package_installer, added 'install' option, which will install a package even if it's missing. This will always be set by some fix or user fired option, and will generally have a pref added somewhere in the fix. Or it can be used for package installs for other things that users request, so I may loop it to handle multiple packages later if it's install. ========================================================================= Version Number: 7.13.3 Date of Update: Fri, 25 Jan 2008 13:21:04 -0500 ------------------------------------------------------------------------- Fixed some bugs in k3b fix, updated package remover to support extra arguments, like --purge, --yes, and so on. ========================================================================= Version Number: 7.13.0 Date of Update: Fri, 25 Jan 2008 12:47:15 -0500 ------------------------------------------------------------------------- Redid package_install to more sanely handle setting /etc/smxi.conf sticky prefs Also removed -y option from set_sticky_prefs globally because -y is deprecated. Tyhe package_installer now takes 3 options, 1-package to be installed, 2- install type: force/force-always/optional and the sticky pref string. The old way simply didn't work over time though it was a neat trick, but it's not reliable. Users will see some fixes run again, but that's fine I think, easier than searching the old string and updating. Also added k3b fix to sm-lib-2007-fixes. ========================================================================= Version Number: 7.12.16 Date of Update: Sun, 20 Jan 2008 18:32:38 -0500 ------------------------------------------------------------------------- Added pair wesnoth-all:wesnoth-data to auto hold/install tests, because recently wesnoth morphed into a new packaging schema, using the -all etc... ========================================================================= Version Number: 7.12.15 Date of Update: Sun, 13 Jan 2008 18:42:05 -0500 ------------------------------------------------------------------------- Added gnucash/gnucash-common to the package mismatch list in smxi, each new group adds one dot to the output you see, those aren't random, heh heh... I also removed the ^(ii|hi) test and am now just using ^ii, as users noted, don't want to remove user holds after all. This will create one problem, if user has one on hold, but then the hold will just not occur at all, so I guess that's ok after all. ========================================================================= Version Number: 7.12.14 Date of Update: Sun, 13 Jan 2008 14:42:35 -0500 ------------------------------------------------------------------------- Added xchat/xchat-common to autocheck hold/install. Updated hold/install to have better output, there were some newline bugs in the display, that's corrected now. ========================================================================= Version Number: 7.12.12 Date of Update: Sat, 12 Jan 2008 18:06:25 -0500 ------------------------------------------------------------------------- Changed kern-tools to up-kern-tools to match the other up- stuff. Trivial thing, but keeps it consistent. ========================================================================= Version Number: 7.12.11 Date of Update: Sat, 12 Jan 2008 02:14:17 -0500 ------------------------------------------------------------------------- Fixed a small mistake, for forced kernel mirror change, there's no need to restart smxi, just set the kernel mirror flag to true instead, then it will run right after that step as if user had set -M themselves. ========================================================================= Version Number: sm-lib-2007-fixes: 1.1.0 Date of Update: Fri, 11 Jan 2008 13:38:04 -0500 ------------------------------------------------------------------------- Added fix for eros and less to update to mlocate. ========================================================================= Version Number: 7.12.10 Date of Update: Fri, 11 Jan 2008 00:01:10 -0500 ------------------------------------------------------------------------- Added back in ftp.sunsite.utk.edu mirror, they seem to have gotten it working again, that's good, now we have two good USA mirrors, that will help. ========================================================================= Version Number: 7.12.9 Date of Update: Thu, 10 Jan 2008 18:25:47 -0500 ------------------------------------------------------------------------- removed current usa mirror from kernel mirrors: ftp://ftp.sunsite.utk.edu/pub/linux/Sidux/ Hopefully sunsite will resolve their syncing issues soon. ========================================================================= Version Number: 7.12.8 Date of Update: Thu, 10 Jan 2008 18:20:50 -0500 ------------------------------------------------------------------------- Added ftp mirror of internap: usa-3:ftp://ftp-mirror.internap.com/pub/sidux/ to kernel download mirror selectors. Sunsite TN is still having problems, by the way, not updating correctly. ========================================================================= Version Number: 7.12.7 Date of Update: Wed, 09 Jan 2008 18:56:31 -0500 ------------------------------------------------------------------------- Updated old 64/32 bit test to use this more robust method: # check for 64 bit first if [ -n "$( uname -m | grep -o 'x86_64' )" ] then BITS="64" else BITS="32" fi Added this to svmi test too. ========================================================================= Version Number: 7.12.6 Date of Update: Wed, 09 Jan 2008 16:51:36 -0500 ------------------------------------------------------------------------- Added new USA mirror: ftp-mirror.internap.com This is good because the only working USA mirror, sunsite TN is not updating. ========================================================================= Version Number: sm-lib-kernel-install: 1.8.5 Date of Update: Wed, 09 Jan 2008 13:42:36 -0500 ------------------------------------------------------------------------- Moved apt_update_handler and libc6_fix_1 to run before kernel install. This makes a bit more sense, since this will give logging potential for errors in either part, plus I think it's probably better to run all the smxi update stuff before a simple apt-get update is run, to avoid possible errors there. If this doesn't cause any problems, I'll leave it this way, we should be able to determine that quite quickly, since currently smxi is installing a record number of kernels, past 7 days: 1300 +, that's YOY about 2x what it was. These types of numbers suggest that increasingly conservative, user protecting, methods should always be preferred. ========================================================================= Version Number: 7.12.5 Date of Update: Tue, 08 Jan 2008 14:32:08 -0500 ------------------------------------------------------------------------- Updated post du fixes text to indicate new legacy tweaks in misc tweaks. Also, update sm-lib-cleanup and sm-lib-misc-tweaks to handle this new category in misc tweaks. Current stuff, alsaconf, kanotix cleanup stuff, splashy stuff. ========================================================================= Version Number: 7.12.4 Date of Update: Mon, 07 Jan 2008 12:29:34 -0500 ------------------------------------------------------------------------- Added a nice little eye candy thing to the auto check of package groups. Now the user sees apparent progress dots, instead of just a blank space with nothing happening. ========================================================================= Version Number: 7.12.3 Date of Update: Sun, 06 Jan 2008 19:39:49 -0500 ------------------------------------------------------------------------- Removed oregon mirrors from usa, that's usa-2. Those are now 404, missing in action. ========================================================================= Version Number: 7.12.2 Date of Update: Sun, 06 Jan 2008 18:04:15 -0500 ------------------------------------------------------------------------- Added util-linux to the libc6 fix function. ========================================================================= Version Number: 7.12.1 Date of Update: Sat, 05 Jan 2008 14:04:45 -0500 ------------------------------------------------------------------------- Got rid of y/n question for setting sticky prefs, now it will just tell the user where the /etc/smxi.conf file is if they want to check it, with a print_hec This part was always needlessly confusing to users, and I think took the idea of choice too far, plus I never use the 'n' thing anymore anyway. ========================================================================= Version Number: 7.12.0 Date of Update: Sat, 05 Jan 2008 13:44:09 -0500 ------------------------------------------------------------------------- More script cleanup and reorganization: created two new libs: sm-lib-2007-fixes and sm-lib-2008-fixes From now on, all actual du-fixes will go into their yearly fixes file. This will keep the core logic of smxi cleaner, though sadly the core script is still close to 3k lines, which is too much, but that's life. All new fixes will go into their yearly lib file. The yearly lib files are called depending on the sidux version number. ========================================================================= Version Number: 7.11.3 Date of Update: Fri, 04 Jan 2008 17:21:44 -0500 ------------------------------------------------------------------------- Added cleanup lib kernel tools installer support to update features. ========================================================================= Version Number: 7.11.0 Date of Update: Fri, 04 Jan 2008 15:50:09 -0500 ------------------------------------------------------------------------- Redid entire apt-get update, created one master function that now handles all updating tasks, then reports component to apt error handler for error processing. This cleans up one long term problem, leaving a unified installer component to be built, along with one log file system Also updated sm-lib-package-install to use the new updater, along with the kernel installers, which now use it as of yesterday. This should be a useful long term maintenance and logging help, along with getting core features back into a single function for better handling. ========================================================================= Version Number: 7.10.5 Date of Update: Fri, 04 Jan 2008 12:57:45 -0500 ------------------------------------------------------------------------- Added tzdata to forced libc6 post kernel install option. ========================================================================= Version Number: sm-lib-kernel-install 1.8.0 Date of Update: Thu, 03 Jan 2008 17:53:19 -0500 ------------------------------------------------------------------------- Redid the main installer, broke it into functions to make it more readable and clear to anyone trying to figure it out. Functionally there should be no difference, but it should be easier to maintain long term. ========================================================================= Version Number: 7.10.3 Date of Update: Thu, 03 Jan 2008 17:08:03 -0500 ------------------------------------------------------------------------- Neglected to handle single case of user whose system is currently needing forced libc6 install, but whose system broke in the last few hours. That's now handled. ========================================================================= Version Number: 7.10.2 Date of Update: Thu, 03 Jan 2008 16:46:23 -0500 ------------------------------------------------------------------------- Tweaked libc6_fix_1 a bit more to avoid repeated sets of config file data by kernel install. ========================================================================= Version Number: 7.10.1 Date of Update: Thu, 03 Jan 2008 16:22:46 -0500 ------------------------------------------------------------------------- Forgot to add up-kernel-1 condition to apt error handler function, added it. ========================================================================= Version Number: 7.10.0 Date of Update: Thu, 03 Jan 2008 16:07:18 -0500 ------------------------------------------------------------------------- Due to user issues with libc6 breaking du post kernel install on systems that have not been recently (>2 or 3 weeks), I am now forcing update and libc6 material installs post kernel update, using the existing update and libc6 fix logic, just wrapping it more nicely. ========================================================================= Version Number: svmi: 0.9.2 Date of Update: Tue, 01 Jan 2008 21:54:36 -0500 ------------------------------------------------------------------------- Many changes, upgraded to handle more robust testing for version number for non-ose, and added more support for testing versions etc for guestadditions. svmi will need more work, including user set stuff, but it now again works with most possible user actions for vbox, ose and non ose. Also added -V option, which lets users select which non-ose they want to install. Since these are etch debs, I assume at some point they will stop working, but so far so good. ========================================================================= Version Number: sm-lib-kernel-install: 1.7.0 Date of Update: Tue, 01 Jan 2008 21:52:31 -0500 ------------------------------------------------------------------------- Added another alternate kernel mirror, heanet.ie. I had to do this because for some reason sunsite stopped mirroring over christmas, causing a boost in downloads from default techpatterns.com site. heanet should be syncing 4 times daily, so hopefully there will be no more problems with that. ========================================================================= Version Number: 7.9.11 Date of Update: Mon, 24 Dec 2007 15:01:34 -0500 ------------------------------------------------------------------------- Tweaked it a bit more, to search for ii on hold, and hi on install. This supports users who want to manually set hold/install for their systems. ========================================================================= Version Number: 7.9.10 Date of Update: Mon, 24 Dec 2007 14:35:14 -0500 ------------------------------------------------------------------------- Fixed small bug in hold/install brought on by latino change, need to do more aggressive handling of ii/hi packageInstalled=$( dpkg -l | egrep '^(ii|hi)' | cut -d ' ' -f 3 | egrep "^$packageName$" ) It was leaving hi packages on hold because it didn't check for hi, only ii. ========================================================================= Version Number: 7.9.9 Date of Update: Sun, 23 Dec 2007 13:32:11 -0500 ------------------------------------------------------------------------- Slight Latino suggested tweak to standard hold/install: check for package installed on user system before holding it. That makes sense, same as the auto check feature. ========================================================================= Version Number: 7.9.5 Date of Update: Tue, 18 Dec 2007 12:37:46 -0500 ------------------------------------------------------------------------- Improved the logic for the auto hold/install, our first gimp/gimp data mismatch came in today, and it needs more packages checked, so aI added some more data package pairs. ========================================================================= Version Number: 7.9.3 Date of Update: Fri, 14 Dec 2007 15:45:38 -0500 ------------------------------------------------------------------------- KERNEL_FORCE_DU global added to protect against this constant libc6 break. This issue will need to be resolved in sidux at some point, not sure how to get that handled long term, this is just a hack. Kernel install compares installed/force du number and if equal forces a du first. ========================================================================= Version Number: 7.9.2 Date of Update: Thu, 13 Dec 2007 21:28:29 -0500 ------------------------------------------------------------------------- Removed slightly redundant trigger logic in main exec section for new kernel stuff. Integrated it with the old test stuff. ========================================================================= Version Number: 7.9.1 Date of Update: Thu, 13 Dec 2007 15:59:45 -0500 ------------------------------------------------------------------------- Added dynamic version compatibility testing for rosegarden/rosegarden-data, this is another commonly breaking package set in sid. A few slight tweaks also for the new kernel install question placement logic, more dynamic in terms of user text and so on. ========================================================================= Version Number: 7.9.0 Date of Update: Thu, 13 Dec 2007 11:45:30 -0500 ------------------------------------------------------------------------- More kernel install tweaks. Per zulu9 request, the script will now only show the kernel install option if the latest kernel is not equal to the current. This is integrated with the kelmo suggestion, and I moved the post dist-upgrade kernel install to be a post dist-upgrade fix option instead of standalone. This makes it just another post dist-upgrade user choice. The logic isn't changed that much, this is more a convenience for frequent smxi users, so they wont' see that first step if they have the current kernel already. For most users, this shouldn't change much for them. ========================================================================= Version Number: 7.8.3 Date of Update: Wed, 12 Dec 2007 20:02:35 -0500 ------------------------------------------------------------------------- Small change in main smxi, now support smart, dynamic detection of kernel version on user system. This was a kelmo recommend, to run the dist-upgrade before kernel install if kernel version > 2 major versions. Main change here is in sm-lib-kernel, where a global is set that triggers the overall location of the main kernel install question. ========================================================================= Version Number: 7.8.2 Date of Update: Tue, 11 Dec 2007 20:22:16 -0500 ------------------------------------------------------------------------- Finally synced the -U in sgfxi with smxi, now smxi uses -U to update, but will for a while maintain the old -u until the change is solidified for users. ========================================================================= Version Number: 7.8.1 Date of Update: Mon, 10 Dec 2007 13:04:51 -0500 ------------------------------------------------------------------------- Added print output message for when mismatch of packages occurs in broken_dependency_handler() This is just some eyecandy to let users know something is happening, but also I think useful so you can see when it did happen. ========================================================================= Version Number: 7.8.0 Date of Update: Mon, 10 Dec 2007 00:03:02 -0500 ------------------------------------------------------------------------- New feature: dynamic version compatibility testing for commonly breaking package groups. First to be tested are the classic gimp/gimp-data, pidgin/pidgin-data mismatches. This method is completely dynamic, and test apt after the update to see what versions will be installed. If the versions match, no hold/install will be required, if they don't, it will be applied right after the hold global is set. This has many advantages, first being that no user intervention is now required. also, it will not matter if the user runs 32 or 64 bit, if the versions are the same, they will be installed, if not, they won't be. ========================================================================= Version Number: 7.7.11 Date of Update: Tue, 04 Dec 2007 18:54:12 -0500 ------------------------------------------------------------------------- Added ralink fix, to update to firmware-ralink many other tweaks since previous posting, but I forgot to update this. ========================================================================= Version Number: 7.7.0 Date of Update: Tue, 06 Nov 2007 21:04:26 -0500 ------------------------------------------------------------------------- Updated core apt sources logic to handle new eros method of using different files for each section, don't ask why that's changed, and I won't even bother trying to understand this type of pointless change for change sake, but now it's running the nonfree/contrib and mirror switcher features again. ========================================================================= Version Number: 7.6.2 Date of Update: Fri, 02 Nov 2007 17:14:32 -0400 ------------------------------------------------------------------------- Updated main smxi to note new misc tweak option, the grub gfx installer. Fixed some trivial text errors etc too. ========================================================================= Version Number: 7.6.0 Date of Update: Thu, 01 Nov 2007 16:36:07 -0400 ------------------------------------------------------------------------- New feature and option: -v -v allows users to get system data, script version, modified date. System data includes last use of apt-get update, dist-upgrade via smxi, current kernel, sidux version. This should be useful, and remind users when they have last maintained their system. ========================================================================= Version Number: 7.5.4 Date of Update: Thu, 01 Nov 2007 14:45:02 -0400 ------------------------------------------------------------------------- Added smxi stub installer temp file cleanup to smxi, sgfxi, and svmi. Why this is necessary, I would say, is why Linux and Free software is still not gaining real market share overall. The model has flaws and weaknesses, although of course it does have its strengths too. If anyone, however, wants to know why I don't join the core team, this is why. ========================================================================= Version Number: 7.5.0 Date of Update: Thu, 01 Nov 2007 02:33:03 -0400 ------------------------------------------------------------------------- New feature: kernel download mirror selector. After going over my download limit this month on techpatterns.com, I had to implement the kernel download mirror option, that forces users to select from one of the many global sidux kernel download mirrors. Redid set_32_64 logic to handle more complex kernel lists and other variables set. Redid main kernel installer function to handle using user set kernel mirrors. Added -M option to let users manually reset mirror. This works just like the debian mirror -m sources.list option except it sets /etc/smxi.conf instead. Mirrored kernels will just be the current stable ones, the rest remain available on techpatterns.com as usual, so except for the new mirror used for kernel downloads, users shouldn't see much difference. ========================================================================= Version Number: 7.4.5 Date of Update: Tue, 30 Oct 2007 17:45:40 -0400 ------------------------------------------------------------------------- Changed script last updated limit from 45 to 300 days, script is more stable now. ========================================================================= Version Number: 7.4.2 Date of Update: Sun, 30 Sep 2007 23:18:29 -0400 ------------------------------------------------------------------------- Added xorg 7.3 updater functions, most are in sm-lib-misc-tweaks Users get choice of updating, quitting, updating to intel syntax, or putting on hold/install as before. ========================================================================= Version Number: 7.4.1 Date of Update: Fri, 21 Sep 2007 23:43:27 -0400 ------------------------------------------------------------------------- Added bcm43 fix, will install l b43-fwcutter if bcm43xx-fwcutter is installed. ========================================================================= Version Number: 7.4.0 Date of Update: Tue, 4 Sep 2007 22:45:47 -0400 ------------------------------------------------------------------------- After long though, finally created a rough first working version of svmi, a new virtual machine installer, kernel module builder, and assorted other treats. Handles clean vbox install from beginning to end, also supports automated, non- interactive installs. Currently supported: vbox, vmplayer, any-any patches. Now smxi has this as a script module start option in post dist-upgrade fixes. Have fun!, Needs work, but better to put it out there than wait forever. ========================================================================= Version Number: 7.3.5 Date of Update: Thu, 30 Aug 2007 13:15:16 -0400 ------------------------------------------------------------------------- Some more tweaks to counter, now am not counting livecd or vm type installs. ========================================================================= Version Number: 7.3.2 Date of Update: Fri, 24 Aug 2007 01:08:03 -0400 ------------------------------------------------------------------------- Added a first use counter for stats. This will let us get some rough idea of total number of users, irregardless of frequency of use. Will only set counter one time then set no repeat run flag. ========================================================================= Version Number: 7.3.0 Date of Update: Wed, 1 Aug 2007 16:25:29 -0400 ------------------------------------------------------------------------- Lots of fun changes. Created a debugger function for script, that is fired by starting script with -D option, which is also new. Debugger accepts 3 string values: $1 function to fire $2 output to create, like echo value $3 input for function. If present, this will change the script default data used. Removed all legacy kanotix id stuff from check version Improved version detection to use regular expressions for 64 bit or not sidux. This lets script use only one entry per sidux release instead of the two it had before. Cleaned up all legacy pre and post du fix for < 5 distro version id. No more kanotix in other words in any way, shape or form. Added a new function that goes along with package_removal, package installer. package_installer takes 2 values: $1 package to install; $2 type of install: 1. force 2. optional 3. force-always 1 and 2 run the install only if package is not present in system. 3 runs it always one time, then updates /etc/smxi.conf to note the package has been forced updated to avoid repeat installs. This is working nicely now. These changes should all be invisible to users, unless there's a new bug with them. ========================================================================= Version Number: 7.2.13 Date of Update: Mon, 30 Jul 2007 21:28:52 -0400 ------------------------------------------------------------------------- Fixed a small display bug in libc6 function. Combined all the ipw 3945 fixes into one fix, with smxi.conf run-once. ========================================================================= Version Number: 7.2.7 Date of Update: Wed, 25 Jul 2007 02:27:28 -0400 ------------------------------------------------------------------------- Fixed small test bug with -I option, now it should work. Cleaned up a bit of cruft. ========================================================================= Version Number: 7.2.5 Date of Update: Mon, 23 Jul 2007 15:50:22 -0400 ------------------------------------------------------------------------- Tweaked no connection process, now I reset the connection timeout to 1 second if user decides to proceed anyway with no connection. This will dump all those eternal waits to get packages. ========================================================================= Version Number: 7.2.4 Date of Update: Sat, 21 Jul 2007 20:24:46 -0400 ------------------------------------------------------------------------- Added new modular wine fix and libc6 fix. Libc6 will complain and cause du error if you installed latest slh 2.6.22.1--5 kernel, this should solve it. ========================================================================= Version Number: 7.2.2 Date of Update: Thu, 19 Jul 2007 19:51:36 -0400 ------------------------------------------------------------------------- Rename/ move /etc/sm.conf and /var/log/sm to /etc/smxi.conf and /var/log/smxi this will avoid any possible future conflicts, and will make more sense long term. ========================================================================= Version Number: 7.2.0 Date of Update: Thu, 19 Jul 2007 01:14:36 -0400 ------------------------------------------------------------------------- Forced renaming of sm to smxi. A debian maintainer did not check to see if this name was used, and then just took some old debian name that was obsolete and used it. Anyway, I won't pretend to be either happy or thrilled to have to rename when we had that name long before the other guy, but there's not much I can do. Anyway, all the script components etc are not being renamed, so it's just the main script block engine file that will be called smxi. The rest stays as sm-lib etc... We needed to rush this change due to pending gaia testing release. ========================================================================= Version Number: sm-lib-clean-up 2.1.3 Date of Update: Mon, 2 Jul 2007 01:43:11 -0400 ------------------------------------------------------------------------- added 2.6.22-rc7-slh*-smp-1 kernels. Redid sm-lib-clean-up to better handle removing kernels. Now the kernel install directory cleanup reads /boot/grub/menu.lst and only asks you if you want to remove kernels that are not present in it. This makes it easier to clear out the system, just say y to each directory removal question now and it will be safe. ========================================================================= Version Number: 7.1.0 Date of Update: Sat, 30 Jun 2007 16:01:19 -0400 ------------------------------------------------------------------------- Created a kernel version back end for sm. Now script imports sm-lib-kernels file into itself. This solves the problem of having to actually update the script physically each time some kernel thing is updated. Now kernels are added via a script control panel, which will simplify matters over time, and also avoid having to update the script each time sidux gets new kernels, or each time I want to remove some legacy stuff. ========================================================================= Version Number: 7.0.8 Date of Update: Sat, 30 Jun 2007 13:20:28 -0400 ------------------------------------------------------------------------- New -K advanced kernel install kernels: 2.6.22-rc6-git4-slh*-smp-1 kernels ========================================================================= Version Number: 7.0.7 Date of Update: Fri, 29 Jun 2007 19:16:34 -0400 ------------------------------------------------------------------------- Temporary if [ -n "$( dpkg -l | grep "iwlwifi-3945-ucode.*2.14.4" )" ] then echo $LINE echo "${S}Running ${C}iwlwifi-3945-ucode${S} fix now...${N}" apt-get install iwlwifi-3945-ucode=2.14.3* fi fix for ongoing 3945 issues, forces sidux version install. ========================================================================= Version Number: 7.0.6 Date of Update: Fri, 29 Jun 2007 18:56:05 -0400 ------------------------------------------------------------------------- New -K advanced kernel install kernels: 2.6.22-rc6-git3-slh*-smp-1 kernels ========================================================================= Version Number: 7.0.5 Date of Update: Fri, 29 Jun 2007 18:55:18 -0400 ------------------------------------------------------------------------- Updated all files to GPL 3. ========================================================================= Version Number: 7.0.4 Date of Update: Thu, 28 Jun 2007 17:26:20 -0400 ------------------------------------------------------------------------- tweaked the du-fixes to sm conversion text output to make it a bit more clear and to correct some slight errors. ========================================================================= Version Number: 7.0.3 Date of Update: Wed, 27 Jun 2007 19:24:14 -0400 ------------------------------------------------------------------------- New -K advanced kernel install kernels: 2.6.22-rc6*-smp-1 kernels ========================================================================= Version Number: 7.0.0 Date of Update: Mon, 25 Jun 2007 23:32:42 -0400 ------------------------------------------------------------------------- du-fixes-h2.sh stub updater built, now updates to sm name, downloads, runs, etc. Seems to be working fine so far. ========================================================================= Version Number: 6.5.1 Date of Update: Sun, 24 Jun 2007 21:01:58 -0400 ------------------------------------------------------------------------- Phase 1 of new du-fixes naming convention. Now script will be called sm, in phase 2, and all lib files, and other files will be named with sm instead of du-fixes. Phase 1 switches all lib files to sm-lib-xxx format from du-fixes-lib-xxxx.sh format. It also renames /etc/du-fixes.conf to /etc/sm.conf and /var/log/du-fixes/ to /var/log/sm/ All related variables have been changed as well, and the lib files have been updated to remove all du-fixes references ========================================================================= Version Number: 6.4.21 Date of Update: Fri, 22 Jun 2007 22:16:24 -0400 ------------------------------------------------------------------------- Due to increasingly obvious issues with the deborphan clean up option, I've removed it. The problem is that it's removing technical non-dependent libraries which are actually needed by other applications to do their work, things like libmms0, and a variety of other libs. ========================================================================= Version Number: 6.4.20 Date of Update: Sun, 17 Jun 2007 14:46:41 -0400 ------------------------------------------------------------------------- Previous: 6.4.18/19: OOo fix to handle switch to 2.2.1 final from rc Current: upgraded number comparison and nvidia number handling to account for . or , decimal separators. Now all data sent to number comparison is standardized to use . separators, then number compare tests base system to see which it uses, and converts the compared internal numbers to use correct system method. This should work very well I think, since it removes the randomness factor. The LANG=C export LANG for some reason did not work reliably for all users, why, I have no idea, and I really don't feel like looking into the intracies of global arithmetic handling on pcs and bash to find the answer. ========================================================================= Version Number: 6.4.17 Date of Update: Tue, 12 Jun 2007 22:22:59 -0400 ------------------------------------------------------------------------- 2.9.21.5-slh*-smp-2 kernels added. ========================================================================= Version Number: 6.4.16 Date of Update: Tue, 12 Jun 2007 18:03:45 -0400 ------------------------------------------------------------------------- To deal with an unexpected math compare issue (euro , versus standard .), I added to the top of du-fixes the following, to set script language to default: LANG=C export LANG this seems to have fixed the compare errors with nvidia driver versioning. ========================================================================= Version Number: 6.4.15 Date of Update: Mon, 11 Jun 2007 18:38:58 -0400 ------------------------------------------------------------------------- Added 2.6.21.5-slh*-1 kernels. ========================================================================= Version Number: 6.4.14 Date of Update: Sun, 10 Jun 2007 19:22:24 -0400 ------------------------------------------------------------------------- Removed legacy first major version kernels, not needed. 2.6.19-slh*, 2.6.20-slh*, 2.6.21-slh*. Leaving later minor versions, eg: 2.6.21.2-slh* ========================================================================= Version Number: 6.4.13 Date of Update: Sun, 10 Jun 2007 01:32:43 -0400 ------------------------------------------------------------------------- Yesterday, added 2.6.21.5-rc2-slh*-1 kernels (no up in this bunch) ========================================================================= Version Number: 6.4.12 Date of Update: Fri, 8 Jun 2007 15:26:02 -0400 ------------------------------------------------------------------------- Added 2.6.21.5-rc1-slh*-1 kernels ========================================================================= Version Number: 6.4.11 Date of Update: Tue, 5 Jun 2007 04:03:00 -0400 ------------------------------------------------------------------------- Added libxine1-ffmpeg fix, now script autodetects if libxine1 is installed, if it is, forces libxine1-ffmpeg package install. This lets users play media files again. ========================================================================= Version Number: 6.5.10 Date of Update: Tue, 5 Jun 2007 02:34:29 -0400 ------------------------------------------------------------------------- Removed some legacy kernels from Advanced install, 2.6.16-17 Added 2.6.21.3-slh*5 kernels. Modified kernel installer to default to smp kernels always now. Users of up kernels are given a brief explanation of the change, only if they have up installed. Explanation: no preemption, no dyntick (--> half of the possible battery capacity), no highres timer, no nothing ========================================================================= Version Number: 6.4.8 Date of Update: Fri, 1 Jun 2007 16:10:09 -0400 ------------------------------------------------------------------------- Updated du-fixes to show google earth package install option for package install lib. Main change is the google earth installer in du-fixes-lib-package-install.sh version 2.1.1 This downloads the debian installer package, which then gets the google bin package, then creates a deb, and installs the deb, then cleans up. ========================================================================= Version Number: 6.4.7 Date of Update: Mon, 28 May 2007 12:46:33 -0400 ------------------------------------------------------------------------- Kernels 2.6.21.3-slh*-4 added. Also fixed a small error in regex for sources.list non-free/contrib update. Will now only update sidux.com sources. ========================================================================= Version Number: 6.4.6 Date of Update: Sun, 27 May 2007 12:22:22 -0400 ------------------------------------------------------------------------- Added 2.6.21.3-slh*-3 kernels. Tidied up initial set preferences question, removed legacy styling stuff and made it fit current stylings. ========================================================================= Version Number: 6.4.5 Date of Update: Sat, 26 May 2007 13:30:34 -0400 ------------------------------------------------------------------------- Auto remove abandoned legacy sysv-freeze package, this is causing user problems with things like new hal upgrade. Also tweaked icedove fix text a bit to explain some more things to users. ========================================================================= Version Number: 6.4.3 Date of Update: Fri, 25 May 2007 20:53:34 -0400 ------------------------------------------------------------------------- New fix for icedove upgrade from 1.5 to 2.0: fix offers users chance to first make backup copy of their ~/.mozilla-thunderbird directories for all users, then runs this: apt-get remove --purge icedove apt-get install icedove note: the icedove-locales-* packages are not in sid yet, so if users have those installed, script lets them know they will need to reinstall them later manually. ========================================================================= Version Number: 6.3.79 Date of Update: Fri, 25 May 2007 14:20:53 -0400 ------------------------------------------------------------------------- New kernels: 2.6.21.3-slh*-2 ========================================================================= Version Number: 6.3.78 Date of Update: Thu, 24 May 2007 23:10:55 -0400 ------------------------------------------------------------------------- New kernels: 2.6.21.3-slh*-1 ========================================================================= Version Number: 6.3.77 Date of Update: Thu, 24 May 2007 14:31:53 -0400 ------------------------------------------------------------------------- Got rid of legacy -W option (install kde). That is no longer needed since package install offers desktop installer options instead. This applies also to -C debian testing conversion installs. Added one more test to make sure that LOGIN_PID is not empty. We'll still need to figure out why sometimes we're not catching the login pids, I assume it may be live cd issues, using sudo to get root status, but I'll get that resolved sometime. For now, it's good enough to just leave root session logged in if kill login pid can't get a pid number to kill. ========================================================================= Version Number: 6.3.76 Date of Update: Wed, 23 May 2007 22:19:18 -0400 ------------------------------------------------------------------------- 2.6.21.2-slh*-1 kernels added. ========================================================================= Version Number: 6.3.73 Date of Update: Tue, 22 May 2007 18:25:46 -0400 ------------------------------------------------------------------------- 2.6.21.2-rc1-slh*-3 kernels added ========================================================================= Version Number: Date of Update: Sun, 20 May 2007 19:22:55 -0400 ------------------------------------------------------------------------- ========================================================================= Version Number: 6.3.72 Date of Update: Mon, 14 May 2007 16:47:30 -0400 ------------------------------------------------------------------------- Modified to indicate new misc tweak option found in du-fixes-lib-misc-tweaks for mozilla-tweaks, a more fine tuned moz tweak generator. ========================================================================= Version Number: 6.3.71 Date of Update: Sun, 13 May 2007 22:29:52 -0400 ------------------------------------------------------------------------- new 2.6.21.1-slh*-7 kernels added. ========================================================================= Version Number: 6.3.70 Date of Update: Sun, 13 May 2007 13:27:03 -0400 ------------------------------------------------------------------------- Slight change to new feature, because of other processing, no spaces can be used in the user set hold/install feature. Now to set multiple hold/install packages, use this syntax: hold-install=package1^package2^package3 In other words, the package name separator is now ^, not a space. ========================================================================= Version Number: 6.3.69 Date of Update: Sun, 13 May 2007 13:13:24 -0400 ------------------------------------------------------------------------- New 2.6.21.1-slh*-6 kernels added. ========================================================================= Version Number: 6.3.68 Date of Update: Sat, 12 May 2007 20:36:16 -0400 ------------------------------------------------------------------------- New feature: users can now add packages to put on hold/release, using existing /etc/du-fixes.conf, user simply has to add this to file: hold-install=package1 package2 No " or ', just the package names to be held. ========================================================================= Version Number: 6.3.67 Date of Update: Fri, 11 May 2007 15:26:33 -0400 ------------------------------------------------------------------------- New 2.6.21.1-slh*-5 kernels added. ========================================================================= Version Number: 6.3.66 Date of Update: Fri, 11 May 2007 15:01:03 -0400 ------------------------------------------------------------------------- Moved 2.6.21.1 kernels to latest stable from advanced kernel install in preparation for Tartaros release. ========================================================================= Version Number: 6.3.65 Date of Update: Fri, 11 May 2007 13:48:44 -0400 ------------------------------------------------------------------------- Added 2.6.21.1-slh*-4 kernels as advanced -K kernel install options ========================================================================= Version Number: 6.3.63 Date of Update: Mon, 7 May 2007 21:57:13 -0400 ------------------------------------------------------------------------- New kernels: 2.6.20.11-slh*-1; 2.6.21.1-slh*-3 2.6.20.11 kernels have no up candidate because that will no longer be offered. ========================================================================= Version Number: 6.3.60 Date of Update: Sat, 28 Apr 2007 13:27:25 -0400 ------------------------------------------------------------------------- Added 2.6.21.1-slh*-2 to advanced -K kernel install. ========================================================================= Version Number: 6.3.59 Date of Update: Fri, 27 Apr 2007 23:38:44 -0400 ------------------------------------------------------------------------- new kernels: 2.6.20.10-slh*-1 as stable latest; 2.6.21.1-slh*-1 as advanced -K install latest. ========================================================================= Version Number: 6.3.58 Date of Update: Fri, 27 Apr 2007 03:31:12 -0400 ------------------------------------------------------------------------- Changed slightly the kernel version detections to properly handle cases where users have latest testing installed but kernel installer tells them they don't have the latest version. Now should correctly handle that case again, user will not be asked to install latest if they already have latest testing installed. ========================================================================= Version Number: 6.3.57 Date of Update: Thu, 26 Apr 2007 16:12:06 -0400 ------------------------------------------------------------------------- New kernels 2.6.20.9-slh*-1 kernels added. Also removed 2.6.21 as defaults and left them as -K advanced install option kernels until some issues are fixed with those. ========================================================================= Version Number: 6.3.55 Date of Update: Thu, 26 Apr 2007 12:38:31 -0400 ------------------------------------------------------------------------- Added 2.6.21-slh*-1 kernels. ========================================================================= Version Number: 6.3.54 Date of Update: Wed, 25 Apr 2007 20:26:48 -0400 ------------------------------------------------------------------------- Added 2.6.20.8-slh*-1 kernels. ========================================================================= Version Number: 6.3.53 Date of Update: Wed, 25 Apr 2007 18:11:37 -0400 ------------------------------------------------------------------------- Added 2.6.21-rc7-git8-slh*-1 kernels. ========================================================================= Version Number: 6.3.48 Date of Update: Mon, 16 Apr 2007 18:35:57 -0400 ------------------------------------------------------------------------- Updated the libc6 fix to handle the 2.6.20.7 kernel header issue. A few other smaller fixes as well to keep sid running for users, kernel question warning etc. Changed order, now libc6 fix comes before k3b fix, otherwise issues happen. ========================================================================= Version Number: 6.3.45 Date of Update: Sun, 15 Apr 2007 19:12:08 -0400 ------------------------------------------------------------------------- Added tzdata config for handling some bad tzdata packages. Runs dpkg-reconfigure tzdata after du. ========================================================================= Version Number: 6.3.44 Date of Update: Sun, 15 Apr 2007 14:40:49 -0400 ------------------------------------------------------------------------- added temp fix to get new gtk stuff into system post du. ========================================================================= Version Number: 6.3.38 Date of Update: Sat, 14 Apr 2007 15:55:54 -0400 ------------------------------------------------------------------------- Added remote set of hold/install files. Now no longer required to set these in du-fixes manually, will be administered remotely. ========================================================================= Version Number: 6.3.37 Date of Update: Sat, 14 Apr 2007 13:39:10 -0400 ------------------------------------------------------------------------- Added fix to update libc6, libc6-dev, locales, to fix dependency issues for new 2.6.20.7-slh kernel headers before main du runs. ========================================================================= Version Number: 6.3.36 Date of Update: Sat, 14 Apr 2007 12:50:42 -0400 ------------------------------------------------------------------------- Put package libgtk2.0-0 on auto hold/release to avoid gtk breakage. ========================================================================= Version Number: 6.3.35 Date of Update: Sat, 14 Apr 2007 12:13:32 -0400 ------------------------------------------------------------------------- Added 2.6.20.7-slh*-1 kernels. ========================================================================= Version Number: 6.3.34 Date of Update: Fri, 13 Apr 2007 20:36:53 -0400 ------------------------------------------------------------------------- Added back in libk3b2 purge/remove reinstall k3b fix because zulu9 reports repeat of that failure. Probably not needed, but I'll leave it for now. ========================================================================= Version Number: 6.3.33 Date of Update: Fri, 13 Apr 2007 17:36:12 -0400 ------------------------------------------------------------------------- Redid no connection logic to better handle case of restart after kernel install of du-fixes. Now checks for connection before trying to get version file, and offers a more clear path to the wifi install section. This should make it easier on users to get their wifi stuff handled after new kernel install. Also in lib-kernel.sh redid the logic to now offer up kernel users the rt2570 kernel. ========================================================================= Version Number: 6.3.31 Date of Update: Thu, 12 Apr 2007 14:41:05 -0400 ------------------------------------------------------------------------- Added update after mirror change, with update error handler. ========================================================================= Version Number: 6.3.30 Date of Update: Thu, 12 Apr 2007 13:12:43 -0400 ------------------------------------------------------------------------- Removed k3b fix because new sid k3b version fixes the issues automatically. ========================================================================= Version Number: 6.3.28 Date of Update: Wed, 11 Apr 2007 20:28:09 -0400 ------------------------------------------------------------------------- Those packages were corrected and removed from hold shortly after that. ========================================================================= Version Number: 6.3.27 Date of Update: Tue, 10 Apr 2007 18:38:25 -0400 ------------------------------------------------------------------------- libice6 libfontenc1 libidl0 are placed on auto hold/release for now because of 404 not found errors in ftp.us.debian.org repos. ========================================================================= Version Number: 6.3.26 Date of Update: Tue, 10 Apr 2007 16:03:58 -0400 ------------------------------------------------------------------------- k3b 1.0 fix added: apt-get remove --purge k3b libk3b2 apt-get install k3b ========================================================================= Version Number: 6.3.18 Date of Update: Sat, 7 Apr 2007 03:37:31 -0400 ------------------------------------------------------------------------- Added new 2.6.20.6-slh*-1 kernels. ========================================================================= Version Number: 6.3.14 Date of Update: Mon, 2 Apr 2007 13:02:36 -0400 ------------------------------------------------------------------------- Lifted hold/install on libx264-54 ========================================================================= Version Number: 6.3.13 Date of Update: Mon, 2 Apr 2007 13:02:15 -0400 ------------------------------------------------------------------------- Added 2.6.20.5-rc1-slh**-1 kernels. Also temporary hold/install on libx264-54 ========================================================================= Version Number: 6.3.11 Date of Update: Sat, 24 Mar 2007 19:02:57 -0400 ------------------------------------------------------------------------- Fixed tiny bug, if script is run with -w option the du-fixes-lib-warning.sh file might not be loaded or current, which can generate an error when get_configs is called pre du. So no configs now will show either if -w option is used. Or I'll just make this actually check and load warnings, I'll see. ========================================================================= Version Number: 6.3.10 Date of Update: Sat, 24 Mar 2007 17:38:58 -0400 ------------------------------------------------------------------------- Added new option, by user request, Dutchy in this case, to enable users to try to use European sidux kernel mirrors instead of techpatterns.com mirror. Script will test that download, and if it fails, it will automatically switch to using techpatterns.com stuff. In cases of non-current kernels, it will always of course fail, so it will just revert to techpatterns.com. Most of the changes for this are in du-fixes-lib-kernel-install.sh, one new test, for the $EURO_KERNEL option is true, then try that first, if fails, use techpatterns.com. And so it goes. ========================================================================= Version Number: 6.3.9 Date of Update: Fri, 23 Mar 2007 20:21:51 -0400 ------------------------------------------------------------------------- Added 2.6.20.4-slh***-1 kernels ========================================================================= Version Number: 6.3.7 Date of Update: Tue, 20 Mar 2007 03:43:50 -0400 ------------------------------------------------------------------------- Hopefully finally fixes that bug with the update to non-free contrib sources question. Reworked regex sed pattern, this time it should work. ========================================================================= Version Number: 6.3.6 Date of Update: Mon, 19 Mar 2007 22:19:30 -0400 ------------------------------------------------------------------------- new kernels: 2.6.20.4-rc1-slh**-1 ========================================================================= Version Number: 6.3.4 Date of Update: Wed, 14 Mar 2007 15:45:03 -0400 ------------------------------------------------------------------------- Added new pre-du test for config file data function. This was needed to bring that data to users in the place it will be most useful, right before the dist-upgrade starts. Only prints out if there are config files to answer 'y' to. ========================================================================= Version Number: Date of Update: Wed, 14 Mar 2007 15:34:12 -0400 ------------------------------------------------------------------------- ========================================================================= Version Number: 6.3.3 Date of Update: Wed, 14 Mar 2007 14:05:45 -0400 ------------------------------------------------------------------------- More legacy cleanup. Now all script lib files get version/updated information printed by function print_lib_info. This removes the last part of the old module system, and cleans up all the version/date handling for all lib files. All lib files also updated to handle this consistent method. Obviously, judging from the last round of updates, things are pretty much under control and peaceful, and ready for etch to finally go stable in 2 weeks. ========================================================================= Version Number: 6.3.2 Date of Update: Tue, 13 Mar 2007 19:58:35 -0400 ------------------------------------------------------------------------- slh 2.6.20.3-slh**-1 kernels added. ========================================================================= Version Number: 6.3.0 Date of Update: Tue, 13 Mar 2007 01:03:01 -0400 ------------------------------------------------------------------------- Fixed long standing legacy kanotix hack that was required by different kernel naming conventions and releases. Now always checks system cpu count and assigns best guess defaults to default system information and kernel installs. As always, advanced kernel install still lets you override default, but now default is more accurate. Also greatly simplified entire kernel version detection, made it fully automated to avoid errors, and also automatically uses -K option kernels when present as default smp/up kernels. To add, probably make sure the thing actually is smp or up if it's cut out automatically. ========================================================================= Version Number: 6.2.26 Date of Update: Sun, 11 Mar 2007 15:09:50 -0400 ------------------------------------------------------------------------- Added new 2.6.20.3-rc1-slh**-1 kernels ========================================================================= Version Number: 6.2.19 Date of Update: Fri, 9 Mar 2007 21:41:05 -0500 ------------------------------------------------------------------------- New kernels, 2.6.20.2-slh***-1, replaced rc1 versions. ========================================================================= Version Number: 6.2.18 Date of Update: Fri, 9 Mar 2007 16:19:04 -0500 ------------------------------------------------------------------------- Made the cd to script home function more aggressive. Now handles the cases where users insist on not reading or following the install directions, and place the script somewhere other than /usr/local/bin, that is in the system path. Now the script will detect this, and mv the script to /usr/local/bin, then exit and also logout root. This last step is required because bash appears to remember the path during a single session, but starts fresh on a new session. Now users won't be running two copies at once, and getting into various strange problems, as happens with annoying regularity. ========================================================================= Version Number: 6.2.17 Date of Update: Thu, 8 Mar 2007 16:40:18 -0500 ------------------------------------------------------------------------- Moved 2.6.20.2-rc1-slh*-1 kernels to standard default stable ========================================================================= Version Number: 6.2.16 Date of Update: Thu, 8 Mar 2007 13:27:57 -0500 ------------------------------------------------------------------------- Dropped all but latest version of 2.6.17 and 2.6.18 kernels since those are not really good for much any more. If someones needs one of the dropped ones I can upload it again, but I don't see that happening. ========================================================================= Version Number: 6.2.15 Date of Update: Wed, 7 Mar 2007 22:35:31 -0500 ------------------------------------------------------------------------- New slh 2.6.20.2-rc1-slh**-1 kernels included. Only for -K, advanced kernel option. As a rule, I won't include rc labeled kernels in standard kernel install option. ========================================================================= Version Number: 6.2.13 Date of Update: Fri, 2 Mar 2007 17:51:14 -0500 ------------------------------------------------------------------------- Modified xorg detection to be more robust, now it will detect if xserver-xorg or xserver-xorg-core is updated during script run through, and then show a message on graphics install if either of the two version numbers changed advising nvidia or ati users to reinstall their driver. This should be helpful to users of these non free drivers, since people don't actually know that you need to do this unless someone tells them. ========================================================================= Version Number: 6.2.12 Date of Update: Thu, 1 Mar 2007 20:02:21 -0500 ------------------------------------------------------------------------- Some clean up and tightening, added new function print_hec, which just handles the hit enter to continue option the script uses, also makes it easier to turn off all those at once by using -e option. Got rid of legacy global X_INFO, replaced by locals to handle that feature. ========================================================================= Version Number: 6.2.11 Date of Update: Thu, 1 Mar 2007 05:25:22 -0500 ------------------------------------------------------------------------- Modified the conversion ban to give users who have done a partial conversion in the past 2 months but who did not finalize it re adding required system id and sources.list updates one more chance to update fully. This just required a redirect to the update sources/system id functions, then script restarts with new system id. ========================================================================= Version Number: 6.2.9 Date of Update: Thu, 1 Mar 2007 00:09:29 -0500 ------------------------------------------------------------------------- Updated the dist-upgrade post du information to output messages for successful or failed dist-ugprade, with more precise advice on what to do in either case. Long overdue, that section really needed some updating. ========================================================================= Version Number: 6.2.8 Date of Update: Wed, 28 Feb 2007 19:34:13 -0500 ------------------------------------------------------------------------- Corrected a small error in xorg version detection, was detecting policy for xorg but if no xorg metapackage is installed will return error, so now using xserver-xorg. Also added vdr removal for ALL sources.list for a while until that's cleaned up. ========================================================================= Version Number: 6.2.6 Date of Update: Wed, 28 Feb 2007 04:18:55 -0500 ------------------------------------------------------------------------- Disabled all conversion to kanotix, left one method for debian conversions. Now it's just sidux and sidux conversions for the future, no more non sidux support, especially not for kanotix. The ways have now fully parted. Added conversion /etc/apt/sources.list cleanup, that completes the first part started a few days ago, updating the contrib non-free part. Numerous changes to graphics library to support ati / nv xorg install. ========================================================================= Version Number: 6.2.0 Date of Update: Tue, 27 Feb 2007 14:52:24 -0500 ------------------------------------------------------------------------- Reorganized the post du options. Now it's much more simple: 1 master function now controls: 1. fix fonts 2. package-install 3. package-removal 4. cleanup stuff 5. miscellaneous tweaks All things that qualify as system or script tweaks are now in misc tweaks, which makes a lot more sense, and there's only one step between du completion and graphics install, which also makes more sense. Coming: improved package install, more non free stuff like opera. ========================================================================= Version Number: 6.1.34 Date of Update: Sun, 25 Feb 2007 17:34:38 -0500 ----------------