Upgrading from COL 1.0 to 1.2


 

General suggestions (Caldera should add these to the instructions) :

  1. I made a copy of everything that wasn't user space (/etc, /bin/. etc) onto a DOS drive I had extra space on. This was invaluable for recovering some files (e.g., printcap), and for seeing what was new & what wasn't.
  2. I *wish* I had listed all the softlinks so I could recreate them. The /lib files in particular seem to use many softlinks. Next time I'll do 
    find / -type l -ls > /old_links 
    to preserve this valuable information.
  3. Many (not all) config files that get changed have the old one saved in a file called *.rpmsave. It is very useful to see all these, via 
    find / -mount -name "*rpmsave" -print > /rpmsave_files
  4. superprobe is a great tool for setting up XFree86.


X would not come up

I had been running MetroX, and when I tried startx,  I got some error messages :
Cannot open "keymap/metro" for reading
The X Server has received a fatal error
_X11TransSocketUNIXConnect: Can't connect: errno = 111 giving up
xinit: Connection refused(errno 111): Uniable to connect to X server

This was the tough one. I quickly decided that MetroX was probably a lost cause, since it was no longer being packaged with Caldera, so I decided I would go to XFree86. But when I tried, I got similar errors. Sigh. Spent a few days emailing with Caldera support until I got the solution :

% mount /mnt/cdrom
% cd /mnt/cdrom/Packages/RPMS
% rpm -ivh --nodeps --force XFree86*
% rpm -ivh --nodeps --force tcl-7.6pl2-5.i386.rpm
% rpm -ivh --nodeps --force tclX-7.6.0-5.i386.rpm
% rpm -ivh --nodeps --force tk-4.2pl2-5.i386.rpm
% rpm -ivh --nodeps --force Xaw-3dlook-1.3-4.i386.rpm
% rpm -ivh --nodeps --force Xaw3d-1.3-4.i386.rpm
% XF86Setup

I tried to do xvidtune, but it didn't like anything I did, so I found the old XConfig file MetroX had used, and hand edited the  /etc/XF86Config file with the mode lines from that one. That finally got things running.

The --nodeps was needed because rpm didn't recognize some of the libraries that were there.


Backspace started acting differently than it had.

I had set the option to use vi on the command line (build a file '.inputrc' with the single line 'set editing-mode vi' in it) so to repair my command line I:
% su root
% vi /etc/rc.d/rc.local
Add these two lines...
# fix vim backspace key problem
echo "keycode 14 = BackSpace" | loadkeys

which had been in the old file, but got clobbered.


ispell broke. This is a bug in the update script.

there was no /usr/lib/ispell/english.hash file found, so I tried copying my backup...
 cd /usr/lib/ispell
 cp /mnt/d_drive/linux_backup/usr/lib/ispell/* .
 didn't work - something about the hash has changed
This is a bug in the update script - ispell was updated with
ispell-3.1.20-1.i386.rpm
but apparently the hash files are now rpm'd separately, and the old ones are incompatible with the new ispell code. I had to go in by hand and
rpm -i ispell-english-3.1.20-1.i386.rpm
to get ispell to work.


My Reply-To: address got scragged - it began attaching the machine name to the domain.

The solution was right off the Caldera web pages (I was pointed to it by support)
http://www.caldera.com/tech-ref/col-1.2/faq/faq-12.html#ss12.1
% su root
% cd /etc
% cp sendmail.cf keep.sendmail.cf
% rpm -q sendmail-cf
sendmail-cf-8.8.7-4
% cd /usr/share/sendmail/cf/cf
% cp generic-col1.2.mc foo.mc
edit to add
MASQUERADE_AS(icct.net)
FEATURE(masquerade_envelope)
% m4 ../m4/cf.m4 foo.mc > /etc/sendmail.cf
% cd /etc/rc.d/init.d
% mta stop
% mta start


Some dialup scripts broke because the 'tail' command changed

~/bin/TkDialer
/usr/local/bin/dialup
Fix tail command, change
tail -0 -f
to
tail -n 0 -f


Perl broke - to repair :

ln -s /usr/lib/libdb.so.1 /lib/libdb.so.2
 


Printing was broken - here is what I did to fix it.

In Lisa
- set up printer as a local device
- chose HP DeskJet 500
- First parallel port (/dev/lp1)
- 300x300 resolution
- letter size paper

copied my old /etc/printcap from where I had saved it and wrote over the new one (which was useless)

In printtool
- It was unhappy with the printcap, but it couldn't find the driver or the   filters, so to heck with it. I restarted lpd (from printtool), and the   printer began working.


xplaycd didn't work.

Fortunately it popped up a message that told me what to do :
% su root
% chmod 666 /dev/cdrom


There was no longer a /etc/bashrc file,

so I copied the old one over there.

Edit /etc/aliases to put (back) in who should get root's email (me).


In Lisa, added (back) cron daemon, sendmail startup, print server


My ppp dialup quit working.

Had to do the following:
Copy old options file back into /etc/ppp/options (it got stomped on)
reset permissions (back)
chmod u+s /usr/sbin/pppd
chmod u+s /usr/sbin/chat

xpostit couldn't find my old postit notes

- The old notes are incompatible with the new xpostit.
% cd ~/.xpostit
% cp note* ..
now for each postit note, create a new note, and then open one of the old notes into it. Be sure to copy the old notes first since xpostit will step on the old files.


The Webmaster is Alan Jackson, who may be reached via email at alan@ajackson.org.
Unsolicited Commercial e-mail sent to the webmaster will not be welcomed and will be dealt with agressively