X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=vgRB+dQAyKzDnjSI UNnmXysFVaBcRhprQNOo7ZP8FY+u4m1oFBHlJOOm1nZL4zhH1uPzc6vjMBPhApu3 sxO2nvk1oCKcqmoH2H8GpT+OH1kaDw/wSZAO1jl7vNcKZk5pzmWY+xicxGKf/WlO +cqc4QTnKZ0RBmmkt7CgrD+cZDE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=2RBO7w7ICsFkgsPUM1SF6y SDTmI=; b=hnzfo+ZKuBGhfqYXrrpe5zX/Q82zO2vPjFJbopj3ycLwXWs9FrKdkU k4SY/RVKZuCBEX0GYvBPUsPqQeDzI75YmNElMEmJkCimkwzDwwX/Wb8I1V8qtrsd 2QHOjJ27hk/+x5LWSrimIYZjqX9K3QlaW10gTgMSS3hN+cOuFTbEU= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=downloaded, UD:setup-x86_64.exe, sk:setupx, sk:setup-x X-HELO: limerock01.mail.cornell.edu X-CornellRouted: This message has been Routed already. Subject: Re: setup-x86_64.exe v2.889 doesn't select additionally downloaded packages when installing from local directory To: cygwin AT cygwin DOT com References: <8571f617c5a740608e267364827e7733 AT merl DOT com> <2adead6b-07d0-e457-0191-5b9bac7c2e8f AT dronecode DOT org DOT uk> From: Ken Brown Message-ID: <92c3950f-5f52-43a2-8427-83bc4cb6dc2c@cornell.edu> Date: Thu, 22 Mar 2018 17:47:59 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes Note-from-DJ: This may be spam On 3/7/2018 3:15 PM, Jon Turney wrote: > Yeah, this looks like an ordering problem between libxml2 and > libfontconfig-common. > >> $ cat /etc/postinstall/fontconfig_dtd.sh >> if [ -x /usr/bin/xmlcatalog ] ; then >>     /usr/bin/xmlcatalog --noout --add "system" "fonts.dtd" >> /usr/share/xml/fontconfig/fonts.dtd /etc/xml/catalog >> fi >> >> $ cat /etc/postinstall/libxml2.sh >> if test ! -f /etc/xml/catalog; then >>         /bin/mkdir -p /etc/xml >>         /usr/bin/xmlcatalog --noout --create /etc/xml/catalog >> fi > > Not sure how to fix this. > > I think there's no actual dependency of libfontconfig-common on > xmlcatalog, but we lack a triggering mechanism to say "run this script > when this other package is installed" /etc/postinstall/fontconfig_dtd.sh could check whether /etc/postinstall/libxml2.sh exists. If so, it could run it and then add '.done' so it isn't run again. Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple