Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: apt-cyg install (previous version) #48

Open
userdocs opened this issue May 8, 2019 · 3 comments
Open

Question: apt-cyg install (previous version) #48

userdocs opened this issue May 8, 2019 · 3 comments

Comments

@userdocs
Copy link

userdocs commented May 8, 2019

Just a question.

When i do apt-cyg find openssh I only get the option to install the current version of 8.0 but i would really like to install 7.9

Is it possible to install a previous version of some app like in the setup.exe does?

I cannot seem to figure out how to do this or if it is possible.

@kou1okada
Copy link
Owner

kou1okada commented May 9, 2019

Sorry, currently the feature of selecting a version is not implemented.
Please wait for a while.
I'll try to implement it when I have time to spare.

For you, who are waiting it, I suggest another way to install a previous version easily.
Try following command:

apt-cyg setup -- -B -M -P openssh

setup-x86{_64,}.exe will be stopped at the dialog of Cygwin Setup - Select Packages.
This makes easy for you to choose a version which you want to install.

If you already installed oppenssh and you want to replace it, try this one:

apt-cyg setup -- -q -B -M -x openssh -P openssh

image

@userdocs
Copy link
Author

userdocs commented May 9, 2019

Thank you for the reply. It was very helpful and informative.

It works for what i need it to do now i understand how the command is formatted.

I'll just add this for anyone else reading.

In this command apt-cyg setup -- -B -M -P openssh

-B -M -P are switches passed to the setup.exe from here https://www.cygwin.com/faq/faq.html#faq.setup.cli

@kou1okada
Copy link
Owner

Yes.
Also you can read it with following command:

apt-cyg setup -- --help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants