Skip to content

Installing specific version of the  #83

@sskras

Description

@sskras

I am trying to install gcc:

$ cygcheck -p bin/gcc
Found 10 matches for bin/gcc
gcc-core-10.2.0-1 - gcc-core: GNU Compiler Collection (C, OpenMP)
gcc-core-11.2.0-0 - gcc-core: GNU Compiler Collection (C, OpenMP)
gcc-core-11.2.0-1 - gcc-core: GNU Compiler Collection (C, OpenMP)
gcc-core-7.4.0-1 - gcc-core: GNU Compiler Collection (C, OpenMP)
gcc-core-9.3.0-2 - gcc-core: GNU Compiler Collection (C, OpenMP)
gcc-debuginfo-10.2.0-1 - gcc-debuginfo: Debug info for gcc
gcc-debuginfo-7.4.0-1 - gcc-debuginfo: Debug info for gcc
gcc-debuginfo-9.3.0-2 - gcc-debuginfo: Debug info for gcc
gccmakedep-1.0.2-1 - gccmakedep: X Makefile dependency tool for GCC (installed binaries and support files)
gccmakedep-1.0.3-1 - gccmakedep: X Makefile dependency tool for GCC (installed binaries and support files)

So I try to put the whole name into command line:

$ apt-cyg install gcc-core-10.2.0-1 2>&1 | tail
gpg: Signature made Fri Dec 24 15:52:56 2021 EET using RSA key ID E2E56300
gpg: Good signature from "Cygwin <cygwin@cygwin.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 5640 5CF6 FCC8 1574 682A  5D56 1A69 8DE9 E2E5 6300
signature verified: setup.ini.sig
Updated setup.ini

Installing gcc-core-10.2.0-1
Package gcc-core-10.2.0-1 not found or ambiguous name, exiting

As the format seems to be wrong, I try another format -- now using = before the version:

$ apt-cyg install gcc-core=10.2.0-1 2>&1 | tail
gpg: Signature made Fri Dec 24 15:52:56 2021 EET using RSA key ID E2E56300
gpg: Good signature from "Cygwin <cygwin@cygwin.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 5640 5CF6 FCC8 1574 682A  5D56 1A69 8DE9 E2E5 6300
signature verified: setup.ini.sig
Updated setup.ini

Installing gcc-core=10.2.0-1
Package gcc-core=10.2.0-1 not found or ambiguous name, exiting

But it also fails.
Can this be fixed, please?


Now if I try pointing the latter format to the Cygwin installer:

$ Downloads/setup-x86_64.exe -P gcc-core=9.3.0-2
note: Hand installation over to elevated child process.

... it parses this fine and goes forward:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions