This is the mail archive of the cygwin-apps mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: installed.db does not reflect the correct filename suffix

[Redirected to cygwin-apps]

On Sep 15 08:11, Henri wrote:
> Hi,
> After upgrading vim, I noticed that the suffix of the compressed filename
> in /etc/setup/installed.db did not match the one in setup.ini (and the one
> in my private repo).
> /etc/setup/installed.db:
> vim vim-7.3.1314-1.tar.bz2 0 # .bz2
> <root_my_repo>/<mirror>/x86/setup.ini:
> install: x86/release/vim/vim-7.3.1314-1.tar.xz 911140 f8565 ... # .xz
> Q: will installed.db reflect the correct suffix again in the near future?

Ouch, I just had a quick look and in, method
packagedb::flush, the filename in installed.db is constructed by
appending a fixed string ".tar.bz2" to name and version.

I skimmed the definition of the class packageversion, but I don't
see an easy way to extract the correct filename or, FWIW, just
the correct suffix.  Apparently the filename is not stored for
installed files.  I tried to use the getfirstfile method but it
returned an empty string.

Does anybody have an idea how to fix this?


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpfH6R0Ip_1a.pgp
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]