-
Notifications
You must be signed in to change notification settings - Fork 50
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
How to update a package? #62
Comments
This question will be resolved with my answer at issue #48. The latest version of gcc-g++(version 8.3.0-1) is in the [test] section not [curr]. However, you can resolve it with the least cost by using
If you want to check the section which packages are belongs, use
|
Thanks for the detailed answer! |
Out of curiosity, this is nice when you need to select a specific version, since this is still not supported. But, when you want to upgrade, isn't it "easier" to just remove and then install the package again? I'd also love a one-package update feature, but so far, it seems to me that sticking to the command-line is still faster. |
I come here from transcode-open#22 where they said this support package upgrade, but they did not said how it can upgrade a package.
Look at help, I can only find a option to upgrade all packages:
Currently I have gcc 7.3 instead, but I just saw there is gcc 8 available: https://cygwin.com/packages/summary/gcc-g++.html
What is the command to update gcc from 7.3 to 8?
I already tried just running
apt-cyg install gcc-g++
, but the gcc version still the same:The text was updated successfully, but these errors were encountered: