I did the removal indicated below and got this:
TCNJ-97-131:~ depasqua$ sudo dpkg -r --force-all xfree86-shlibs Password:
(Reading database ... dpkg: serious warning: files list file for package `xfree86' missing, assuming package has no files currently installed.
20525 files and directories currently installed.)
Removing xfree86-shlibs ...
dpkg - warning: while removing xfree86-shlibs, directory `/usr/X11R6/lib' not empty so not removed.
dpkg - warning: while removing xfree86-shlibs, directory `/usr/X11R6' not empty so not removed.
dpkg - warning: while removing xfree86-shlibs, directory `/usr' not empty so not removed.
TCNJ-97-131:~ depasqua$
Ok, fine, whatever. I rerun fink commander and now xfree86shlib's listing as "archive". Good, that seems to make sense....
Next, I try to do an installation of "xfree86" as indicated by Martin earlier...
For Fink's X11, you have to install the packages xfree86 and xfree86-shlibs, either via "fink install" from source (might not take long if you did not erase the *.deb files from your last attempt) or via "apt-get install" from binary.
When I do that, I get:
Information about 1496 packages read in 1 seconds.
The following package will be installed or updated:
xfree86
The following additional package will be installed:
xfree86-shlibs
Do you want to continue? [Y/n] dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86_4.3.99.16-2_darwin-powerpc.deb /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86-shlibs_4.3.99.16-2_darwin-powerpc.deb
(Reading database ... dpkg: serious warning: files list file for package `xfree86' missing, assuming package has no files currently installed.
20411 files and directories currently installed.)
Preparing to replace xfree86 4.3.99.16-2 (using .../xfree86_4.3.99.16-2_darwin-powerpc.deb) ...
WARNING: if you compile X11 applications against this XFree86 release,
you will *not* be able to run them if you decide to revert to Apple's
X11 provided with Panther.
Unpacking replacement xfree86 ...
Selecting previously deselected package xfree86-shlibs.
Unpacking xfree86-shlibs (from .../xfree86-shlibs_4.3.99.16-2_darwin-powerpc.deb) ...
Setting up xfree86-shlibs (4.3.99.16-2) ...
Setting up xfree86 (4.3.99.16-2) ... ERROR: /etc/X11 exists, but is not a symlink to /usr/X11R6/etc. dpkg: error processing xfree86 (--install): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: xfree86 ### execution of dpkg failed, exit code 1 Failed: can't batch-install packages: /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86_4.3.99.16-2_darwin-powerpc.deb /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86-shlibs_4.3.99.16-2_darwin-powerpc.deb
Note that I chose "Y" for the installation of xfree86-shlibs
Sigh... Should I symlink?
(I'm not doing ANYTHING until I hear from the community here. I wonder why this process is such a mess.....)
Thanks (again)
Alexander K. Hansen wrote:
Ah--the problem is that you removed the files for xfree86-shlibs without removing the its package entry. You should do
sudo dpkg -r --force-all xfree86-shlibs
To make sure that everything is gone.
On Mar 31, 2004, at 10:56 AM, Peter DePasquale wrote:
OK, I removed X11 as instructed below, and then rebooted and attempted to get an X11 window (xterm) going to my Linux box. All was well.
Then, I started Fink commander and attempted to install the xfree86-shlibs and xfree86 packages.
shlibs was already installed (listed as "current") and when I attempted to install xfree86, I got this:
====
Information about 1499 packages read in 0 seconds.
The following package will be installed or updated:
xfree86
dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/ xfree86_4.3.99.16-2_darwin-powerpc.deb
Selecting previously deselected package xfree86.
(Reading database ... 20525 files and directories currently installed.)
Unpacking xfree86 (from .../xfree86_4.3.99.16-2_darwin-powerpc.deb) ...
WARNING: if you compile X11 applications against this XFree86 release,
you will *not* be able to run them if you decide to revert to Apple's
X11 provided with Panther.
You have an existing X11 installation in /usr/X11R6 and/or /etc/X11.
This package refuses to overwrite these. Remove them, then tell Fink to
install xfree86 again. (The package won't be recompiled.) If you want
to keep your X11 installation, install system-xfree86 resp. system-xtools
instead to make this known to Fink's package system.
Press Return to continue.
=====
I have seen this before and when I did, I moved the old (apple installed) X11 libs, but now I'm not sure why I did that...
Anyway, I'm unsure of how to proceed....
Thanks...
Martin Costabel wrote:
Peter DePasquale wrote: []
Sure. Here's the output:
As I suspected, you have an incomplete mixture of Apple's and Fink's X11. There are some headers and symbolic links missing that are essential for compiling things based on X11, and there is a half-installed Fink package. In particular
iU xfree86 4.3.99.16-2 Free X11 implementation for Darwin and Mac OS X
looks bad (U = unpacked, but not configured. And xfree86-shlibs is missing).
I think you should clean out your X11 installation:
sudo dpkg -r --force-all xfree86
sudo rm -rf /usr/X11R6 /etc/X11
and then reinstall X11. Here you have the choice between the Fink package and Apple's X11. There are valid reasons to prefer Fink's xfree86, but if you don't know of one, I would recommend to stay with Apple's X11.
For Apple's X11, you have to install the X11User.pkg and the X11SDK.pkg from your system disks.
For Fink's X11, you have to install the packages xfree86 and xfree86-shlibs, either via "fink install" from source (might not take long if you did not erase the *.deb files from your last attempt) or via "apt-get install" from binary.
Let us know how it goes.
-- Peter J. DePasquale, Ph.D. Department of Computer Science The College of New Jersey (e) depasqua [at] tcnj [dot] edu (p) 609-771-2806 (f) 609-637-5190
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
-- Peter J. DePasquale, Ph.D. Department of Computer Science The College of New Jersey (e) depasqua [at] tcnj [dot] edu (p) 609-771-2806 (f) 609-637-5190
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners