From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18655 invoked by alias); 19 Sep 2016 17:13:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 18641 invoked by uid 89); 19 Sep 2016 17:13:43 -0000 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 Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.12) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Sep 2016 17:13:33 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id m28Ib4se0FfiXm28JbYxyO; Mon, 19 Sep 2016 11:13:32 -0600 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.Inglis@SystematicSw.ab.ca Subject: Re: Line ending digits in /etc/setup/installed.db References: <000001d2125a$fb1e4fb0$f15aef10$@bonhard.uklinux.net> <591afcbb-fb79-a04c-8123-b2381bf3560c@dronecode.org.uk> To: cygwin@cygwin.com From: Brian Inglis Message-ID: <21adb4b0-78d9-105a-7b6f-a6cabc20362d@SystematicSw.ab.ca> Date: Mon, 19 Sep 2016 18:03:00 -0000 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 X-SW-Source: 2016-09/txt/msg00247.txt.bz2 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