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

debian auto-updating package? #8937

Closed
Petermarcu opened this issue Dec 11, 2017 · 9 comments
Closed

debian auto-updating package? #8937

Petermarcu opened this issue Dec 11, 2017 · 9 comments
Labels
Milestone

Comments

@Petermarcu
Copy link
Member

@Spongman commented on Fri Dec 08 2017

currently the debian packages are version-specific.

for example, the current package is dotnet-sdk-2.0.2. this package will not upgrade automatically when a new version comes out.

can we get a set of virtual packages doetnet-sdk , dotnet-sdk-x, and dotnet-sdk-x.y that automatically update? (and similar for the runtimes?)

for example, there's only one openjdk-8-jdk package. it installs the latest SDK, and it updates automatically. all packages that follow SemVer correctly can behave in this way without breaking existing clients.

EDIT: oh look at that, the docs i was looking at (https://www.microsoft.com/net/learn/get-started/linuxdebian) are out of date. the latest package is actually dotnet-sdk-2.0.3. i think this illustrates perfectly the need for non-version-specific packages.


@richlander commented on Sat Dec 09 2017

PTAL @leecow

@leecow
Copy link
Member

leecow commented Dec 11, 2017

@wli3 @rakeshsinghranchi - This covers one of the bigger issues we need to work out with all of our native installer on Linux. I'll book some time to talk things through.

@wli3
Copy link

wli3 commented Dec 11, 2017

Agree, it is a hard problem. We don't know which point the user want to upgrade instead of running it side by side. Also, we would need more test coverage on different SDK * runtime version.

@Spongman
Copy link

As long as you're following SemVer correctly (specifically: point releases are backwardly compatible) then SxS should not be necessary.

@wli3
Copy link

wli3 commented Dec 29, 2017

I think we need to solve the problem below to enable it with confident.

For Windows and Mac installer. When you install a specific version of SDK, you will get a specific version of runtime, in most of the case, the latest. However, if we allow SDK(say 2.1.X) to depend on a range of runtime, say >= 2.0.0. When the user install the latest SDK, if there is a compatible runtime existed. Runtime won't get updated. This is a good behavior for user, however, I don't think we have enough test coverage for new SDK to run on old runtime (also multiply with asp.net runtime).

Also, I believe this will require runtime and SDK version to be 100% semver @KathleenDollard , or we need another place to track which SDK can run on which runtime. And which version range of SDK my Debian package can depend on.

Also, the dependency range(written by msbuild) should be in sync with runtime policy, which is C++ code.

The version selection is a behavior of apt-get/yum and its feed, to fully test it, we also need end to end infrastructure to avoid things like prerelease has high priority over release. But during development, due to prerelease runtime won't move forward, we usually test a specific version with a specific runtime. It is hard for us to discover bugs that comes from different versions compatibility and the version selection itself (say a typo of >= 2.0 vs >=2.0.0), until the actual release.

@Spongman
Copy link

However, if we allow SDK(say 2.1.X) to depend on a range of runtime, say >= 2.0.0

why wouldn't you just specify the minimum runtime version that the SDK requires? and have the package manager automatically update to that if necessary? this is precisely the problem that dpkg/apt is designed to solve.

@Petermarcu
Copy link
Member Author

@wli3 , sounds like we need to ensure there is SDK test coverage for running on the latest as well as min version for each train as part of this.

@omajid
Copy link
Member

omajid commented Mar 16, 2018

See dotnet/docs#4538 for the updated package design that should make this much better. It incorporates the design of (auto-updating) RHEL/Fedora (copr) packages.

@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 2020
@msftgits msftgits added this to the Backlog milestone Jan 31, 2020
Copy link
Contributor

Due to lack of recent activity, this issue has been labeled as 'stale'. It will be closed if no further activity occurs within 30 more days. Any new comment will remove the label.

@github-actions github-actions bot added the stale label Apr 25, 2024
Copy link
Contributor

This issue will now be closed since it has been labeled 'stale' without activity for 30 days.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants