Edgy Eft

Upgrade from Gutsy to Hardy

I have admittedly put it off for way too long. The recent OpenSSL Vulnerability with weak keys prompted me to change that on one of my systems. I was forced to use dist-upgrade when OpenSSL would not update, leaving me to continuously recreating weak keys. While I normally update packages using the command line, I was hesitant of using the GUI for Adept Manager. My previous attempts with dist-upgrade have all been failures (From Edgy to Feisty to Gutsy…) so I was not really expecting a smoothe transition.  I used the GUI Adept Manager because it was the recommended method per the Kubuntu Hardy Heron upgrade documentation. Adept immediately gave me an error and closed the first time I tried. I rebooted and tried again with the same error. I kept trying, and it finally decided it would do it…and it did it well. I rebooted and I was almost unable to tell any difference. I did notice I had the new wallpaper available, but otherwise, OpenSSL let me create new, uncompromised keys… and that was what was important to me. It was so painless, I felt brave and tried it on another server. This time, no error message, and it upgraded just as easily. I still have one workstation remaining on Gutsy, a laptop that I don’t have any pressing need to update. The slow server took about two hours to update, and the faster one took about one hour.

Adept Manager
Edgy Eft
Feisty Fawn
Gutsy Gibbon
Hardy Heron
Kubuntu
OpenSSH
Server

Comments (0)

Permalink

Making the Shell Play “nice”

Being a big fan of the shell, I make it work hard for me. Often times the commands I’ll issue through the shell are greedy and eat CPU cycles like candy. Sometimes those commands might take several minutes to complete, and I want my CPU’s priority to be focused on other things (like letting me get back to blogging).To handle those special situations for me, I use the “nice” command. It’s really easy. You simply precede any command with the word “nice” and it works it’s magic.

For example, when I’m backing up my email and favorites, I can use the command like this:

nice tar -cf mybackup.tar outlookdata.dat myfavorites.dat

You can tailor nice’s effectiveness to suit your needs, using the -n argument. For example, maybe I want my backup to be priority so that I can get back to what I’d rather be doing. In that case, I’d use:

nice -n=-20 tar -cf mybackup.tar outlookdata.dat myfavorites.dat

Possible values range from -20 (least “favorable”) to 19 (most “favorable”).

Edgy Eft
Feisty Fawn
Shell
Tips & Tricks
bash

Comments (0)

Permalink