This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Why does /etc/setup/installed.db list tar.bz2 even if tar.xz
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 4 Feb 2018 12:09:55 +0100
- Subject: Re: Why does /etc/setup/installed.db list tar.bz2 even if tar.xz
- Authentication-results: sourceware.org; auth=none
- References: <21082.6128.77635.626785@consult.pretender> <5a766dad.0755ca0a.aa858.d50e@mx.google.com>
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