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:reply-to:subject:references:to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=TaZKet2g68U40/XM g3DTFLPBsp/j/0MBUsfj+jOIk4YOa3iqMK/yNKdeveD4vtWGG1QbC6T9e+aVyucS x3EaMpJDmraR2zRP4oyzppuh4bgUNpWpeJMz0hkWfhs9f1hdkuXhj0QTM6tbBnJn z1i6TqjCKpW1RAdZsvmXYgoqP7c= 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:reply-to:subject:references:to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=1YEIpJzyqk4bbBNO8pm2cW OK4Xg=; b=XtboUkQX3zONHkLC+VNLDZTcexb+2wBiwwbjn+sBfVH7hom5pSSaxF Z6iv1WMYx3AeDqNeZ8HKp1IyLBaG2Adfh/u5Yi2u17RPJqOXj1sozPx8gjC4AKAR XlorETj1Y/Qsn7lhZ/NknUyKI3HLMLx1UHVM1D+xBlcOpFq2Iqeoc= 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=1.0 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*r:ip*192.168.1.100, H*RU:64.59.134.12, Hx-spam-relays-external:64.59.134.12, H*RU:!192.168.1.100! X-HELO: smtp-out-no.shaw.ca X-Authority-Analysis: v=2.2 cv=Qb8khYTv c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=CCpqsmhAAAAA:8 a=zcTOPAD6-9WoMvkIl9IA:9 a=QEXdDO2ut3YA:10 a=ul9cdbp4aOFLsgKbc677:22 Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: Line ending digits in /etc/setup/installed.db References: <000001d2125a$fb1e4fb0$f15aef10$@bonhard.uklinux.net> <591afcbb-fb79-a04c-8123-b2381bf3560c AT dronecode DOT org DOT uk> To: cygwin AT cygwin DOT com From: Brian Inglis Message-ID: <21adb4b0-78d9-105a-7b6f-a6cabc20362d@SystematicSw.ab.ca> Date: Mon, 19 Sep 2016 11:13:30 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <591afcbb-fb79-a04c-8123-b2381bf3560c@dronecode.org.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfHYn62HbY+rVXNWfnRas8zx5KDTarD6q3Lq3r4F39Y03jJMNqwVjPRSSURWlfa7TqcTuwauQPrVYen5sCYgEgS60qm0RniE8pArSIoNJVagcySKarp+d PhAOz0ZN56mSF59rw4svD/fvHwi7eDcCYlbmsTkNvMXDmS9sJwwza4fmxaTln3Vab2IWsmyjDjpWNg== X-IsSubscribed: yes On 2016-09-19 05:47, Jon Turney wrote: > On 19/09/2016 10:48, Fergus wrote: >> About 18% of the lines in my /etc/setup/installed.db end in " 1", >> the rest i.e. large majority end in " 0". Running setup does NOT >> attempt to re-install the packages identified by " 0". (Strange - >> that's exactly what I thought it would do ...) The set-up seems to >> possess full functionality. Can anybody explain / interpret the >> different endings? > > https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;a=commitdiff; > h=f6d6c600edffdb83a57ed13384e38a504fdc366b >https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;a=blob;f=package_db.cc; > h=eb7ff6b5d1d15def09a1ebff837986e2e3ea3290;hb=HEAD#l159 For the code challenged 0 means dependencies of packages you picked flagged by 1. > Packages which aren't installed aren't recorded in installed.db > (hence the name). This hasn't changed. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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