altivo: Clydesdale Pegasus (pegasus)
Altivo ([personal profile] altivo) wrote2007-03-25 05:05 pm
Entry tags:

The endless upgrade

Soooo... Having no car at my disposal other than Gary's, which I prefer not to drive, I stayed home all weekend. Much of Saturday was spent updating my Linux here.

I needed to be able to edit open document format (.odt) files and the version of OpenOffice I was running (1.1.4) didn't cut it. Unfortunately, I tried and failed at getting the current version 2.1 to install. It wanted newer libraries and dependencies, apparently. So I had to bite the bullet and upgrade my Slackware from 10.1 to either 10.2 or 11. I chose 10.2 since I'm running that at work and I prefer to move by baby steps in these matters. Brought home my CDs from the library, and this time read the upgrade instructions. (In the past, I've usually upgraded by backing up my personal files, erasing the partition, doing a new install, and then restoring my home directory.) I was apprehensive about upgrading by replacing packages, which is the usual Slackware approach, but decided to try it.

It did work. Volkerding's instructions were spot on and could be followed literally except for one hitch. KDE is on a separate CD now, and he neglected to tell you to mount the second CD and repeat the steps to get KDE updated. I don't use KDE itself, but I do use selected applications from the KDE distribution, so I updated it along with everything else. Ran the LILO configuration, rebooted, and the system came up just fine.

Well, almost. The driver for my modem card got lost, but that was expected. It's a separately compiled module that gets copied into the module tree after compiling, and isn't actually patched into the kernel source. So each time the kernel modules are reinstalled, it goes away. It's easy to reinstall though. Then I realized that I had a real kernel patch that needed reinstallation. That's the one to enable pptp for VPN and I do use it. So I went and got the patch to fit the new kernel version (2.4.31) installed it, reran the menuconfig to turn on mppe compression, and again recompiled the modules and kernel. Of course that once more lost the modem so I had to recompile it again. A couple of minor tweaks to the startup scripts because networking startup changed a bit, and I was done. It wouldn't have taken so long if I hadn't had to recompile the kernel (takes about an hour on my machine) and hadn't messed up the config the first time so it took two runs to get it right. Anyway, it's all working now and this is a note to remind myself for next time, hopefully avoiding having to do things twice. I really should go to version 11 and the 2.6 kernel sometime, but I don't like fixing things that aren't broken.

The weather has been really springlike, maybe the lion read my post of earlier in the week. Not that I want to chase lions away, not at all. But I much prefer that they be, shall we say, gentle and sexy rather than fierce and angry. Made it into the 60s yesterday and the 70s today. The windows are open now, revealing all the dust that has clogged the screens since last year. I'm going to have to clean windows and screens, Yuck.

Frogs are shouting "Sex! Sex! Sex!" from every nearby wet spot. Cardinals, red-wing blackbirds, and chickadees join in with their own courting songs, and the woodpeckers are drumming furiously on anything they can find. I'm studiously avoiding the work I should be doing, finishing up a story for submission, cutting and sewing that shirt, or my spinning. The weather is too nice, and enjoyable even indoors now that the windows are all open. Last year's fox appears to have returned to the same spot, digging the den out again where the neighbor's chickens were disappearing. I hope to spot him again with any luck. Inspected the apple trees yesterday, and they had no deer damage, even though we failed to put the portable cages back around them this winter. I think the deer have fled the area since the subdivision construction began to the north of us. They used to come into and exit from our land over that route. Dogs and horses are shedding, and the sheep are sitting around looking distinctly uncomfortable this afternoon. We need to get the shearing guy out soon.

[identity profile] octatonic.livejournal.com 2007-03-25 10:46 pm (UTC)(link)

"Frogs are shouting "Sex! Sex! Sex!" from every nearby wet spot."

That just stopped me in my tracks.

*sniffs about the sentence*

Could I steal that someday?

XD

[identity profile] damnbear.livejournal.com 2007-03-25 11:11 pm (UTC)(link)
You know, every time I pass an obese lady I'm going to think about the sex hungry frogs in her wet spot...
ext_39907: The Clydesdale Librarian (Default)

[identity profile] altivo.livejournal.com 2007-03-25 11:29 pm (UTC)(link)
*whacks you with an umbrella*

[falsetto] You dirty minded bear, you!

XD

[identity profile] octatonic.livejournal.com 2007-03-25 11:44 pm (UTC)(link)
You need a good hard spanking.
ext_39907: The Clydesdale Librarian (running clyde)

[identity profile] altivo.livejournal.com 2007-03-26 12:40 am (UTC)(link)
I agree he needs something good an hard all right.

[identity profile] octatonic.livejournal.com 2007-03-26 12:48 am (UTC)(link)
*facepaws*

[identity profile] damnbear.livejournal.com 2007-03-26 02:47 am (UTC)(link)
I'll take a raincheck on that
ext_39907: The Clydesdale Librarian (studious)

[identity profile] altivo.livejournal.com 2007-03-25 11:28 pm (UTC)(link)
Sure. I think it started with Aristophanes about 3000 years ago, so feel free.

[identity profile] vakkotaur.livejournal.com 2007-03-25 11:13 pm (UTC)(link)

I'm not sure of the exact details, but I recall the Wolvix folks having to make modification when they switched to using Slackware 11 as their base for their upcoming version (still in alpha). It seems that only USB mice worked until they tweaked things. I don't recall if it was kernel or module stuff, but it was an irritant for them.

ext_39907: The Clydesdale Librarian (Default)

[identity profile] altivo.livejournal.com 2007-03-25 11:30 pm (UTC)(link)
Sounds weird but I suppose possible. I'll have to check that before trying 11, because I use a KVM switch and a PS/2 mouse (actually, worse, a USB mouse with a PS/2 adapter dongle.)

[identity profile] damnbear.livejournal.com 2007-03-26 02:46 am (UTC)(link)
adapter dongles are woman's best friend though...
ext_39907: The Clydesdale Librarian (centaur)

[identity profile] altivo.livejournal.com 2007-03-26 11:01 am (UTC)(link)
Only women who aren't USB compatible.

[identity profile] cabcat.livejournal.com 2007-03-26 01:56 am (UTC)(link)
I spent yesterday cleaning windows and flyscreens :D, Ideally I'd rather not have them at all because they really stop air flow but during mosquito season that's just not feasible.

Gad updating linux sounds rather evil O.O
ext_39907: The Clydesdale Librarian (Default)

[identity profile] altivo.livejournal.com 2007-03-26 10:59 am (UTC)(link)
Updating Linux is no more and no less evil than updating Windows.

It sounds bad because I have customized the system significantly, in ways that you can't even do with Windows. Putting a new version on of course means that the customizations have to be reinstalled.

[identity profile] kakoukorakos.livejournal.com 2007-03-26 04:44 pm (UTC)(link)
I'm looking forward to seeing how effective the new version updater for K/Ubuntu works. It's supposed to make a good bit of the process easier, or at least less-prone to catastrophic failure. I don't exactly have a Windows installation to upgrade to Linux from either, but they're adding a migration tool as well that's supposed to import your personal settings and such from Windows into the appropriate applications and utilities.

I'm guessing it's not going to be immune to the broken customizations you describe, but maybe it'll be a step closer to user-friendly. The devs have been paying some attention it would seem.
ext_39907: The Clydesdale Librarian (Default)

[identity profile] altivo.livejournal.com 2007-03-26 04:54 pm (UTC)(link)
The basic update procedure for Slackware is actually quite easy. In fact, the printed instructions fit on one page. Someone who runs a default system, where the only customizations are user settings and preference stuff, could just follow those instructions literally and be fine.

However, the instructions use command prompt. (OMG!) And you have to log in as root to do it. (That seems reasonable. I wouldn't want the ordinary user to be able to do something like that.)

In essence:
  1. Switch to single user mode
  2. Mount the CD with the new version packages, or copy them to a directory on the HD
  3. Update the package installer itself
  4. Update the rest of the packages, by using a single command with a regular expression in it
  5. If LILO is used for booting, update LILO to get the new kernel
  6. Make a boot diskette (optional but a good idea)
  7. Reboot the now upgraded system


You could do it without understanding the commands as long as you check to avoid any typos. It could be scripted, I suppose, but the Slackware philosophy is really to try to get people to LEARN stuff.

[identity profile] bariki.livejournal.com 2007-03-27 12:44 am (UTC)(link)
Ooh! I tried that myself on my 'lil Ubuntu fileserver three weeks ago. apt-get dist-upgrade worked perfectly on my 6.06 > 6.10 upgrade, which was very pleasing. In the past, it just broke everything and wasted a few hours of my time. Just needed the usual recompiles for a few custom kernel modules. ^)^

[identity profile] lobowolf.livejournal.com 2007-03-26 03:01 am (UTC)(link)
Awww, our frogs aren't getting any yet...we got late spring snow last night, and although things are finally melting, the frog-pond still has a layer of ice on it. In a couple of weeks, though, it'll be a veritable amphibian red-light district!
ext_39907: The Clydesdale Librarian (studious)

[identity profile] altivo.livejournal.com 2007-03-26 10:56 am (UTC)(link)
The ones around here have to hurry. If the last few years are any indication, all that water will be dried up soon. In fact, I'm surprised we still have so many frogs because I'm not sure the ponds and puddles lasted long enough for them to mature in 2004 and 2005. Last year there was a bit too much rain though.

[identity profile] alaskawolf.livejournal.com 2007-03-26 02:46 pm (UTC)(link)
i sure hope you get a car back soon, it sucks not being able to go any where.

it sounds really nice down there. i just realised that i havent seen a real live frog in over 8 years
ext_39907: The Clydesdale Librarian (Default)

[identity profile] altivo.livejournal.com 2007-03-26 03:05 pm (UTC)(link)
Should be this afternoon unless they have trouble getting a tire in for it. Actually, I don't usually go much of anywhere anyway. There's plenty to do at the farm.

Surely there are frogs in Alaska. You're just living in too urban an area, no?

[identity profile] bariki.livejournal.com 2007-03-27 12:48 am (UTC)(link)
Doesn't pptp come as part of the 2.6.x kernel? Surely that'd be a little easier than having to patch the kernel for something that already exists.. unless it breaks something else that you're using? ^)^

Heh, it's your fault that I loath the 2.4.x kernels: Debian 'Sarge' 3.1r and it's default 2.4 kernel hated my old Compaq box and its weird ACPI controller, and your encouragement in 2005 prodded me into learning more about linux in the first place. So, your fault and - thank you! *noses*
ext_39907: The Clydesdale Librarian (Default)

[identity profile] altivo.livejournal.com 2007-03-27 01:29 am (UTC)(link)
The kernel issue isn't pptp itself, but rather the weird MPPE compression algorithm (which is patented and copyright and all that jazz so it wasn't built in for a while.) Beyond that, pptp appears to be just an encapsulation filter. The ppp daemon does most of the actual work, and ppp is in the 2.4 kernel already.

As for Compaq hardware, well, it always was weird. *noses back*

[identity profile] bariki.livejournal.com 2007-03-27 10:12 am (UTC)(link)
Ahh, tainting your kernels, eh? :P

Hehe, that said, I've got /another/ Compaq box under my hooves at the moment that's acting as a fileserver, running Ubuntu 6.10 (and kernel 2.6.11). It's mostly happy, but once again, it won't turn off at shutdown - just halts, despite being told to turn off and having acpid running properly.
ext_39907: The Clydesdale Librarian (Default)

[identity profile] altivo.livejournal.com 2007-03-27 10:41 am (UTC)(link)
There is a kernel option for that shutdown, I think. It tells the kernel to use a BIOS call, which apparently works with a lot of peculiar hardware like some Compaq designs. It's under APM, something like CONFIG_APM_REAL_MODE_POWER_OFF...

Some old Compaqs don't have an automated poweroff function. I have one of those here.

Nope, I'm not tainting my kernel. The pptp compression patch is open source, not some proprietary secret. Like mp3 compression, though, the legality of using it is technically in question in some countries, or was. I guess that's why it was not included in the kernel prior to 2.6.x.