On Mar 15, 2004, at 11:11 PM, Brett Duncan wrote:


At 9:20 PM -0500 15/3/04, Alexander Hansen wrote:
I'd say your best bet is to:

1) Clear out Apple's X11--but since you have a working setup according to the presence of the virtual packages, don't delete it but rename it:

sudo mv /etc/X11 /etc/X11.bak
sudo mv /usr/X11R6 /usr/X11R6.bak

2) clear out the stray packages:

dpkg --purge --force-depends xfree86 system-xfree86 system-xfree86-42 system-xfree86-43

3) Put Apple's X11 back:

sudo mv /etc/X11.bak /etc/X11
sudo mv /usr/X11R6.bak /usr/X11R6

(or use the Installer files, if you prefer)

4) Make sure you have system-xfree86, system-xfree86-shlibs and system-xfree86-dev


I attempted to clear out the packages, and got...

---------------
dpkg: error processing xfree86 (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
dpkg - warning: ignoring request to remove system-xfree86 which isn't installed.
dpkg - warning: ignoring request to remove system-xfree86-42 which isn't installed.
dpkg: error processing system-xfree86-43 (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
xfree86
system-xfree86-43
---------------


Okay, reinstall it says, so fire up FinkCommander...

---------------
Failed: can't build system-xfree86-43-4.3-3 because no package description is available



This package doesn't exist any more, so you can't reinstall it.


Try

sudo dpkg --purge --force-depends,remove-reinstreq system-xfree86-43

where remove-reinstreq overrides the error you're getting. This looks odd, but it's the syntax that dpkg wants, comma and all.

---------------

Try fink directly - same message.

So... I can't remove the offending packages unless I reinstall them first, but I can't reinstall them. Why can't I see the package descriptions?

B¬(
--

Brett Duncan,
Information Technology Coordinator
________________________________________________
John Wycliffe     |
Christian School  |  P  02 4753 6422 ext 26
Rickard Road      |  F  02 4753 6082
Warrimoo          |  E  [EMAIL PROTECTED]
NSW Australia     |
2774              |



--
Alexander K. Hansen
Fink Documentarian
Day Job:  Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX



-------------------------------------------------------
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_id70&alloc_id638&op=click
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to