X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <4803E1B3.8070809@cwilson.fastmail.fm> Date: Mon, 14 Apr 2008 18:58:59 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [Attn: alternatives maintainer] - ghostscript preremove breakage References: <7zk5j0yt70 DOT fsf AT vzell-de DOT de DOT oracle DOT com> In-Reply-To: <7zk5j0yt70.fsf@vzell-de.de.oracle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Dr. Volker Zell wrote: > What does this > > path to alternate expected in /var/lib/alternatives/gs > > mean ? Some sort of parsing error. At that line in the code, the program expects that the line contains exactly an absolute path to the target program. e.g. line = parseLine(&bufp); while (line && *line) { set->alts = realloc(set->alts, (set->numAlts + 1) * sizeof(*set->alts)); if (*line != '/') { PARANOID_FREE(buf); fprintf(stderr, _("path to alternate expected in %s\n"), path); return 1;\ } ... So, line does not start with '/'. So, it's either somehow in the wrong state when parsing that particular line, or the line has a relative path or something. What you did not post, was your actual, problematic /var/lib/alternatives/gs file... FWIW, I can't reproduce this. I even tried mounting /var/lib/alternatives in text mode to see if that was the problem. It wasn't. Here is what gs SHOULD look like, if you have both ghostscript and ghostscript-x11 installed: ------ snip ------- auto /usr/bin/gs /usr/bin/gs-native 10 /usr/bin/gs-x11 20 ------ snip ------ -- Chuck -- 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/