using apt as an option

Well, fink continually fails to install xfree86-*, as it turns out.
mkdir -p /sw/src/root-xfree86-rootless-4.2.0-12/DEBIAN
install -d -m 755 /sw/src/root-xfree86-rootless-4.2.0-12/sw/..
mv /sw/src/root-xfree86-base-4.2.0-12/sw/../Applications /sw/src/root-xfree86-rootless-4.2.0-12/sw/../
mv: rename /sw/src/root-xfree86-base-4.2.0-12/sw/../Applications to /sw/src/root-xfree86-rootless-4.2.0-12/sw/..//Applications: No such file or directory
### execution of mv failed, exit code 1
Failed: installing xfree86-rootless-4.2.0-12 failed

Whatever . . . .

How about we try apt-get? I never used apt-get when I used fink before . . . .

[/Developer/Sources/TclTk/tcl/unix]# apt-get update
. . . a lot of stuff to stdout . . . .
[/Developer/Sources/TclTk/tcl/unix]# apt-get install tcltk
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
manconf system-xfree86 tcltk-shlibs
The following NEW packages will be installed:
manconf system-xfree86 tcltk tcltk-shlibs
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1521kB of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n]

Well, that’s easy enough. Except xfree86-* still failed to install. Turns out there is an old X11 installation on this machine (circa 2002) and neither system-xfree86 (what you’re supposed to install as a placeholder for a manually installed version of X11) nor xfree86-base will install. So I blew /usr/X11R6 and /etc/X11 away.

Still fails to install: claims it can’t overwrite a directory (that doesn’t exist) with something that isn’t a directory. Huh?

But along the way, we did get tcltk installed. Of course, for some reason, it’s marked as broken:

Checking available versions of Object.3, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
update-alternatives: unable to open /var/lib/dpkg/alternatives/Object.3.dpkg-new for write: No such file or directory
dpkg: error processing tcltk (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
tcltk
E: Sub-process /sw/bin/dpkg returned an error code (1)

So removed it and am reinstalling it. It shows no dependencies this time (yay!). apt-get fails for unknown reasons, so we’ll try building it through fink. Again. Still no dependencies, so that’s reason to be optimistic.