delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/02/04/06:10:15

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=DceAqlav5W26wfEp
jnWZ1Cy8pOMjUAQLRin5CZWTvu7GDzbsdNmexpMf35F5gbQ6n3MMNygzwDVB2pXo
zay2wAnECXoTD0NQZaYC20r/h7Y8EGrFikQAKCDAvRDRr4+ISw005sQ7cAnOVwmi
mFdRMAdGP2EaN0CL/CdIXoX6hHg=
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=ojBYAPquPvaVx3lUJjHSAs
q+5To=; b=bVZA15FfB+joZF4M4cP3jrYSgLCNs5kXPIZO7km7Fvf5zEk/BwG0xw
mHDUyrPXx5mgURAZ2WfDEWl5PyuQ1d1YeiSJDz4KOF7ZUoWYD2czyRV0vyimsizZ
mOZy4wNRXg6/NBTCqCS9XjS1C5KAOx9F1QCRV9kxueHCLyrvb1rwQ=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=penny, shortcut, Hx-languages-length:888, H*u:6.1
X-HELO: mail-wm0-f53.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Eh5Vn25ESCAtrd1cH2Pzjt+ZaA+IJzGUDlRVhIqgaI4=; b=C3vqtbRYZkiX7hNQwq3mgoyTuDlrmLRQijtjo+NxmiarTfxJYl1SRZeqF4GARLW2p1 r5vTxGSL7Zw7vrZIB6KS4znk/pyYpqHe0cunozNiTvqPdHKtENXpCrCxLfsNbWAo9bk8 6kF4ok7Pi9Vrtom03VQZqMVszm4ib2EZeqlbHnDXICdsz6R+2TJrZC34rKSoFdr8iIGV pNNmbdRTYijIb62/rlX+AExzlb7CLbRSSR55eWtNM+Qj1N6eFo2NYMj1dNPOahauem3N rZSG2dYoVKozt9GzV1/wPnDSryZs7ucOeifDU9omW+DoiM1+bUqoEMcftSySwCC+eE2+ wCsw==
X-Gm-Message-State: AKwxytcrL62uSVzYZOnwTeGeKtuTqHsmO9pa5omHb9uj6vUFTeaml4Yr FEwmU0mF3ULvtQ9kNekCzRRRYA==
X-Google-Smtp-Source: AH8x226fxvB1oQzZDKc9+ktDvms0scFPczPYIFuIgNVUSOoavb+1HJFGHtnLtwnLy3Avh+QrW1D9ow==
X-Received: by 10.80.219.135 with SMTP id p7mr76703459edk.198.1517742599477; Sun, 04 Feb 2018 03:09:59 -0800 (PST)
Subject: Re: Why does /etc/setup/installed.db list tar.bz2 even if tar.xz
To: cygwin AT cygwin DOT com
References: <21082 DOT 6128 DOT 77635 DOT 626785 AT consult DOT pretender> <5a766dad DOT 0755ca0a DOT aa858 DOT d50e AT mx DOT google DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <1abb07fb-fc61-1ed1-1045-1d8a76012c64@gmail.com>
Date: Sun, 4 Feb 2018 12:09:55 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <5a766dad.0755ca0a.aa858.d50e@mx.google.com>
X-IsSubscribed: yes

On 04/02/2018 03:19, Steven Penny wrote:
> On Sat, 12 Oct 2013 23:48:00, <cygwin at kosowsky dot org> wrote:
>> The installed.db seems to always list packages as being tar.bz2 even
>> when they are tar.xz.
>>
>> Is there any reason for this? Or is it a bug?
> 
> http://cygwin.com/ml/cygwin/2013-10/msg00170.html
> 
> This is an old thread, but it appears this issue was never answered and
> persists. For example, /etc/setup/installed.db has entries like this:
> 

it is an historical shortcut in the setup code.
".tar.bz2" is just added to package name and version,
it is not really derived from the package file


$ grep -H  "tar.bz2" package_db.cc
package_db.cc:      pkgm.name + "-" + 
std::string(pkgm.installed.Canonical_version()) + ".tar.bz2 " +


When we moved from bz2 to xz, that shortcut was not changed.

Regards
Marco





--
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

- Raw text -


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