www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/16/04:10:38

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Tim <tk_w AT gmx DOT de>
Subject: Re: [Attn: alternatives maintainer] - ghostscript preremove breakage
Date: Tue, 15 Apr 2008 11:43:54 +0000 (UTC)
Lines: 27
Message-ID: <loom.20080415T113629-818@post.gmane.org>
References: <7zk5j0yt70 DOT fsf AT vzell-de DOT de DOT oracle DOT com> <4803E1B3 DOT 8070809 AT cwilson DOT fastmail DOT fm> <7zbq4ct3wv DOT fsf AT vzell-de DOT de DOT oracle DOT com> <48040493 DOT 7010205 AT cwilson DOT fastmail DOT fm>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Charles Wilson <cygwin <at> cwilson.fastmail.fm> writes:
> > I just tried again:
> > 
> > I deleted /usr/bin/gs symlink, /etc/alternatives/gs symlink and
/var/lib/alternatives/gs.
> >
> > 12:13 AM [506]> update-alternatives --install /usr/bin/gs gs
/usr/bin/gs-native 10
> > 01:20 AM [507]> update-alternatives --install /usr/bin/gs gs
/usr/bin/gs-x11 20
> > path to alternate expected in /var/lib/alternatives/gs
> > 01:20 AM [508]> cat /var/lib/alternatives/gs 
> > auto
> > /usr/bin/gs
> > 
> > /usr/bin/gs-native
> > 10
> 
> Still can't reproduce:
[...]

I've had the same issue.
I solved it by rm /usr/bin/gs.exe which was actually a symlink to /usr/bin/gs
which I created for whatever reason times ago. After this, repeat the foregoing
procedure and everything should work fine.

Tim


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019