Upgrades

I tared and bziped all the files I wanted to save from my home directory and
copied my /etc directory and /boot/loader.conf file to my recovery partition.

I opened konqueror and navigated to my smb shares to copy the 660MB.tar.bz2
file over. Thats not to bad for 800+ MB of files hehe.

Booted off the 1.3 install disk (disk 1) and slected an upgrade for my 1.3
install. Yes to allow NTP and BSDStats. THen it stated with the update.

Reboot whent without problem, it generated a new ssh keys e.t.c. I was unable
to login, I wasn’t sure if KDE wasn’t starting or if the update broke my login
database or some thing because I had rebuilt it after making some
configuration changes or what. I switched to a ttyv and tried to login, I got
as far as the new motd and bombed out back to getty with the error message that
/usr/local/bin/zsh didn’t exsist. Ok no problem there, logged in as root and
did a portinstall of shells/zsh

Desktop was mostly normal the only changes being my icon set and wallpaper was delted so I got the defaults. Even Vim which Iinstalled from source was removed. Aramroki.pbi is broken by this update:

Amarok could not find any sound-engine plugins. Amarok is now updating the KDE configuration database. Please wait a couple of minutes, then restart Amarok.
If this does not help, it is likely that Amarok is installed under the wrong prefix, please fix your installation using:
$ cd /path/to/amarok/source-code/
$ su -c “make uninstall”
$ ./configure –prefix=`kde-config –prefix` && su -c “make install”
$ kbuildsycoca
$ amarok
More information can be found in the README file. For further assistance join us at #amarok on irc.freenode.net.

Gee thanks PC-BSD.

My USB stick does not automount when I plug it in. I don’t really mind since I tend to leave it in and have to mount it by hand. Now look at this:

Terry@Dixie$ mount /mnt/da0s1 17:24
mount: /mnt/da0s1: unknown special file or file system
Terry@Dixie$ mount_msdosfs /dev/da0s1 /mnt/da0s1 17:25

EXACTLY the samerly thing that was in the RC, fixed my ass. The onyl difference is it failed to mount the drive. On my fresh install on the desktop it auto-mounted to /media/LEXAR a temp mnt point that bypassed the documented /mnt/da0s* all together. On here I have to mount it specifically as a fat32 fs from the CLI.

Now very strangely every thing that was installed into /usr/local/ is gone. Yet for example wmclockmon and blackbox. They are no longer in the database /var/db/pkg according to pkg_info but they are still installed into /usr/X11R6/ so I think they did a booboo here. I’m very interested in just what exactly the installers upgrade feature does to my system.

The end result is that every PBI must be reinstalled from Seamonkey to Java. The least they could’ve done if they wanted to erase every thing installed into /usr/local period was to rm all in /Programs too. So now if I ever have a problem installing a new version of blackbox or any thing window maker before the translition is comlete. They will here from me directly !!

Even the entire linux compat was FUBAR. Realplayer.pbi made by Kris Moore RPM’d in its deps but they are gone. Yet the 1.3 upgrade installed a FC4 Linux ABI. Complete with linux flashplugin wrapper. Since I need gmake to build most stuff I know of using GTK, if QT needs any thing other then qmake probably you need gmake for QT/KDE apps too.

Luckly my gkrellm2.pbi is ran from my Autostart directory stright from the PBI in /Programs rather then my path. So no problem there. Copied over my wallpapers and its good I have the old icon sets as part of my KDE icon sets PBI that I was working on. It would auto install any of them if not detected and delete them all at removal if one wanted.

THANK GOD the new Kaffeine is more stable it was driving me crazy. At least I have some thing that will play .ogg files now danke !

Since my install of the allcodecs PBI installed to /usr/lib I don’t expect any problems with media playback unless I install some thing from ports. Personally I think I will just cut up the pbi db and rm most of /Programs/* and start over. At least my system seems stable. I see changes in /PCBSD/cardDetect but as long as I don’t have to screw around to get my resolution back I’m happy enough.

It seems they didn’t meddle with /etc to much good because I lost my backup of it. I fixed /etc/login.conf and a few fles to spec and rebuild the db. Think I lost al changes in /etc/ssh but I can borrow a copy from Vectra.

So far the half assed job of uninstalling software before hand and breaking most of my PBIs aside and making me have to type 2x as much to mount my USB stick aside. I’m happier with the upgrade then with the fresh install. I see they owned my loader.conf file so is it a wonder my Atheros card is not detected ? I’ll merge these real quick after checking the diff. I don’t know what they did that I see no sound drivers being loaded at without using loader.conf or defualts/loader.conf but hopefully it will help people getting sound working.

I loaded my wlan and ath modules and got back online in a snap. Unpacked my always on hand copy of the vim source code in /tmp and began to configure and gmake it with gtk20 support. The changes made to konquerors profiles were lost on me since I customized most of them in my home directory. I usually use PersonalBrowser and SmallExplorer or Kommander the ones I made any way.

To clean up the PBI problem I removed all broken PBI directories from /Programs.
I removed the scripts in /Programs/.sbin that they used. I removed the entries from /Programs/.config/ProgList after backing it up just in case. It says not to edit by hand but I don’t think I can do much damage with a backup in hand. Still I don’t trust any of the PC-BSD utils as far as I can throw a 100 Ton Atlas. I removed a few things in /usr/local/share that were left over. I changed over to /usr/local/share/applnk/My Programs where the K-Menu entries for PBI are kept. And eracticated the ones left.

I removed the borken links in /usr/X11R6/* and /usr/home/Terry/.kde/share/applnk/M Programs/. Of course I could have used PC-BSDs software manager to do most of this but I would rather keep that strong connection with my system that I have from regular usage. So far life is good, I’ll just make an alias or a script for mounting my USB stick and assuming that the Amarok.pbi is totally incompabible with PC-BSD 1.3 I will half to make some packages on my desktop and jet them over. Hopefully there won’t be much problem with it

So far the update looks to have gone good. Stabiltiy may be better then it was
before, software is up to date without me having to compile it all for 24
hours. BSDStats should now track my system and it seems the denyhosts stuff was
setup but I don’t think PF was, good I’ve been needing to read the manual on
that any way.

What was the cost? Downloading the install disks ISO and burning it to a CD-R.
Having to reinstall much software, most of which was installed via PBI or
stright from sources, having to clean up after the upgrade broke/remove it all
(I did it the harder way), Loosing my many icon sets and wallpapers. Lucky for
me I keep my wallpapers in my home directory and copy them over to KDE hehe ^_^
and I was working on a PBI full of icon sets. The highest price, Amarok my
favorite music player. Also my /usr/local/projects folder with the files for my
KDE icon sets, Amarok styles (lucky I have this one in my home dir), Ogle, Vim,
Blackbox, xmss and others that I forgot to backup before PC-BSD wasted it by
mistake.

Oh wells theres always ports 🙂

Well it approches new years… I don’t have any thing I wish to say about the holidays at the moement. SO far, I feel as if I’m ready to spread out but I’m told to wear shoes two sizes to small. I could go so much further given what I need.. yet I’m stuck shoveling $|-|1+. To day at work I thought up an interesting project, one that I could use to teach me a lot more about Object Oriented design and implementations. Some thing I could sit down and attack it till I learned every thing I’d need to finish it, then vim around till it was a master peice some day. The end result? I don’t ph|_|{|<1||6 have the bloody time to do it. Ether to program it all or to learn what I need and would love to learn to do it. Finnally this weekend I get some time off, four days and I’m spending it on the servers. Get my fat NCO arsch back to duty. Even my studies for a new language have been going slow. I wanted to work on learning a word a day, complete with the words sex, spelling, and pronouciation.

PBI Backup and Recovery planning

Well to make a long story short. On my desktop every *mozilla program I install on BSD or GNU/Linux has funky issues with text fields, all other GTK+ apps are fine though. The only ones not to be borked are the PBI versions I’ve used on it and my laptop. So needless to say I was a little apprehensive about updating from Seamonkey 1.0.4 to 1.0.6. I like _stable_ software more then bleeding edge. Now I don’t mean to offend any one because I don’t but, huh www.pbidir.com ‘s content is not always ‘stable’ by the time its approved. So, having no way to reinstall Seamonkey 1.0.4. from PBI I desided I’d do a little test on how to back it up manually so I could reinstall it with the least effort. Now of course the fact that speed and power are to of my favorite reasons to use the command line, I’ll include a screen dump of my seassion as well as an explanation of doing it the *GUI* way. Be warned offten there is a /Programs/.sbin/program shell script to be backed up. I think its to do with making sure PBI apps use there /Programs/$1/libs directory, proper GTK/Pango crap and give us that annoying crash handler when they get killed. Any way here we go laddy. The best thing to do would be to open Konqueror as root, you can do that by using the K-Menu to find it, or type kdesu konqueror in konsole or use the run dialog. First lets look in /Programs/ to find are app, in my case SeaMonkey1.0.4. We want to back up this directory. A quick tarball will do the job, in Konqi you can do this with a right click since Ark is installed. I’d suggest ether a gzipped tar file or zip file depending on your needs. I keep my backups on ad0s1 which is a 20GB UFS2 partition. I have my mailbox and roaming profile on my USB stick so I backed that up as well. The “/usr/local/share/applnk/My Applications/Seamonkey” folder has our K-Menu entry so we want to back that up, beats rewritting the .desktop file(s). Plus to be safe and keep all my settings I backed up my ~/.mozilla folder. If this was a multi-user laptop a shell script would be good, I wrote a quick run’n’tosser in vi to back it up. If one wanted a script could be made to backup and restore the thing. After completing my backups I uninstalled the PBI and installed the new one, it had been downloading while I backed up.

Terry@Dixie$ cd /Programs                                                  4:17
Terry@Dixie$ su 4:18
Password:
Dixie# mkdir /Backups/Seamonkey1.0.4
Dixie# cd SeaMonkey1.0.4/
Dixie# ls
PBI.FirstRun.sh etc pangorc
PBI.RemoveScript.sh include seamonkey.png
PBI.SetupScript.sh lib share
bin libdata
Dixie# cd ..
Dixie# tar -czf SeaMonkey1.0.4_BACKUP.tar.tgz ./SeaMonkey1.0.4
Dixie# cp -r /usr/local/share/applnk/My Programs/SeaMonkey /Backups/Seamonkey1.0.4/SeaMonkey_KMenu_Entry.d
Dixie# mv SeaMonkey1.0.4_BACKUP.tar.tgz /Backups/Seamonkey1.0.4/
Dixie# ls /Backups/Seamonkey1.0.4/
SeaMonkey1.0.4_BACKUP.tar.tgz SeaMonkey_KMenu_Entry.d
Dixie# PBIdelete -list|grep -i Seamonkey
SeaMonkey1.0.4
Dixie# cp -rp /Lexar/Mozilla /Backups/Seamonkey1.0.4/
Dixie# cd /Backups/Seamonkey1.0.4/
Dixie# tar -czf ./SM_Mail.tar.gz /Lexar/Mail
tar: Removing leading '/' from member names
vi /Backups/Seamonkey1.0.4/profiledump.sh
#!/bin/sh

export PATH='/bin'

for n in `ls /usr/home/`
do
cp -rp /usr/home/$n/.mozilla /Backups/Seamonkey1.0.4/$n.mozilla
done
Dixie# chmod 700 .//profiledump.sh
Dixie# ./profiledump.sh
Dixie# ls -l
total 45478
-rw-r--r-- 1 root wheel 19905054 Dec 24 04:26 SM_Mail.tar.gz
-rw-r--r-- 1 root wheel 26620953 Dec 24 04:20 SeaMonkey1.0.4_BACKUP.tar.tgz
drwxr-xr-x 2 root wheel 512 Dec 24 04:23 SeaMonkey_KMenu_Entry.d
drwx------ 3 Terry Terry 512 Dec 21 21:48 Terry.mozilla
-rwx------ 1 root wheel 129 Dec 24 04:47 profiledump.sh
Dixie# PBIdelete -remove SeaMonkey1.0.4
Removing SeaMonkey1.0.4
Running custom removal script
Removing Directory
Cleaning PBI List
SeaMonkey1.0.4 was removed successfully!
Dixie#

To restore it I could have put things back as the were. There was no .sbin/seamonkey file to backup that I noticed so I’d hope it would’ve still worked but. Alas thats PC-BSD…

headaches

Sheesh, between mothers, school, and demos my head hurts !

Installed MOHAA just for fun while I downloaded the ArmA demo. Our DSL got upped to a 2.9MBps down / 322KBps up range just in time to Download from a slow server. The game looks good but I don’t know how well I can play it. Needless to say I think my video card is lower spec then older models. Geforce 6200 and a TV Tuner not what I had in mind, I wanted a Geforce 6600 at least but I got a pre-build :@

The game is nice, I hope there will be a way to have focus follows crosshair style movement it would be kinda nice. It also looks like a game where it pays to top off the ammo supply before moving out.

Memories.

Was reading a few of my old files, dunno if I feel better or worse from the thoughts incured.

I remember when I was transfering files to my desktop, most basically live on my laptop now. I cleaned up a directory of my personal writings. I delted a few and saved a couple. The book I was writing, balls never finished that. A little play’esq script, few old love notes…. closest I ever came to writing poetry.

*sigh* some times life sucks. My mind sure doesn’t help me any, I’m supposed to be sleeping but I’m wide awake.

Fuuy, maybe I should try to forget some of the past, good times with the bad and be done. Doesn’t help much though does it…

I’m going to bed, s’only work tomorrow. Same old boring labor, nothing new to learn.. I want to grow but I keep hitting the walls. If I could do more in the [SAS] I’d have joy in that but I still got to work. If I had the time to devote to study, I could maybe make a decent programmer or system admin but I’ve got work and school to do. Bastard of a system, who cares for tests about the ‘laws of english’ compared to artistry ? To me at least computing from a programming perspective is an art form, not a lot of people under stand that about me. To them its just me wasting time infront of a computer, to me its expression, its art, its design, its apart of me…

The more time I have to spend at it, the more often I enjoy it and the better I grow at it. Frig man, I’ve got my figers in C, C++, Java, Perl, Python, Ruby, not to mention sh script, and html/css markup. I might not be good at any of them but when your lucky to be able to devote more then a few hours a week. You can’t be expected to master a life time of ability over night.

**** it, I’m going to bed, worry about it later.

Nutz

I’m going crazy… Positively crazy. Its like no matter what day it is, I get a
headache around the 2200-0100 GMT range, maybe its because thats the time ma
gets active again on her days off..

Driving me nuts. Sucks to live with a headache, can’t take aspirin
e.t.c. For it all the time because then you kill your stomach.

QNote

I want to rewrite the mkXML function and merge it withmuch of the code from fkBranch_AutoPB.sh. That way I can turn it into a flexible routine that will generate a PBC file accordingly iiregardless if it’s run from interactive or batch modes.

Mergemaster

Started merging files today, after a fit of the screamming heeby jeebies. Phone ringing off the hook, getting A.F.K.’d every 2 minutes and playing 20 Questions with ma. My brain could sync back to work…

mkProject has become a mondo sized function but is now fairly complete and handles the split between interactive and batch modes it self. The batchJob function will be most of fkBranch_AutoPB.sh.

Rather then line of execution being

Interactive or batch test
run mkHome, mkProject, mainLoop e.t.c.
or run batchJob
fkBuild

It is now more like this
mkhome
mkproject
Interactive or batch test
run batchJob if batch
run mainLoop if interactive
fkBuild

Where mainLoop is the interactive root function that all the interactive I/O and configuration methods lay. The batchJob call just starts processing the information from the data. I’m also adding a usage function.

scrap

Well, I’m a bit leery about it but I’ve done it. I’ve posted fkBranch_AutoPB.sh on PC-BSDs forums. I had hoped to have a proof-of-concept out of this scraptest file before I delete it but I doubt that will happen without help. I also wanted to merge it into pbshell.sh and complete the last stuff so I’d have both interactive and batch modes covered plus the planB method of PBI Creation.

The scripts not pretty but its just garbage for testing work, glad I don’t really write finished shell scripts like that..

Been busy attacking an old Java source book. it dates back to before JDK1.0 but its a fun read. Maybe I’ll take up Java I dunno. Recently I’ve been rather bored with most languages. Perl and Java study have kept me busy but the more I look into perl the more it looks like a great tool you don’t want to have to read what some one else wrote some day just to quickly fix a problem and never rewrote it. Java I’ve never cared for the extra OOTyping needed but its more C/C++ like then Ruby or Python and still a nice language. AWT looks like a simple to learn setup but I’ve yet to see many Java apps that look nice. I don’t know what is the most often used these days though, AWT, SWT, Swing, or other standard issue.

Being idle recently has been annoying, without any thing to work on what fun is there having some of the greatest tools ever made?

You know as long as no one changed the hier for home directories I could interate through each one setting up the icon files. If I could use PBC to just pack the project directory and do the rest with my script. It could work but that would mean for batch mode to work a special but very simple for joe blow to write project file would have to be created. HmmmmmM !!!!

bored

Without being able to make any progess with getting an automated PBI creAted. And about as much info about whats wrong with the PBC file I ran through PBC.

I basically have nothing better to do then toy with typing tests and ancient computer history. It would be so nice if some one could help figure out why PBC does not work with the PBC files.

sigh…