Hello,
When I upgrade the package, I get failed to prepare transaction (conflicting dependencies: dotnet-runtime-bin)
. I have removed dotnet-* packages and the issue still persists.
Git Clone URL: | https://aur.archlinux.org/dotnet-core-bin.git (read-only, click to copy) |
---|---|
Package Base: | dotnet-core-bin |
Description: | The ASP.NET Core targeting pack (binary) |
Upstream URL: | https://www.microsoft.com/net/core |
Keywords: | .net dotnet microsoft |
Licenses: | MIT |
Conflicts: | aspnet-targeting-pack, aspnet-targeting-pack-9.0 |
Provides: | aspnet-targeting-pack, aspnet-targeting-pack-9.0 |
Submitter: | Gr3q |
Maintainer: | Gr3q (natep) |
Last Packager: | Gr3q |
Votes: | 43 |
Popularity: | 1.33 |
First Submitted: | 2019-10-02 17:13 (UTC) |
Last Updated: | 2024-11-13 09:45 (UTC) |
« First ‹ Previous 1 .. 4 5 6 7 8 9 10 Next › Last »
Hello,
When I upgrade the package, I get failed to prepare transaction (conflicting dependencies: dotnet-runtime-bin)
. I have removed dotnet-* packages and the issue still persists.
I get it now, thanks
Isn't this is obvious? To let other packages know what these packages provide and for easy version comparison. Example: A package that only requires the dotnet runtime later or equals to 3, this can be easily be described with dotnet-runtime>=3 in the PKGBUILD. The official one is fine with this, but not with this package is not since it only provide dotnet-runtime-3.1 but not dotnet-runtime, so it can't be recognized and compared. Another example is a package that don't have this requirement, any version of dotnet runtime is fine.
I'm happy to add it to the array, but could you explain it to me what is the benefit of doing this?
The packages should add to their provide array with their corresponding version like: provides=('dotnet-sdk=3.1.1.sdk101'), or use with variable: provides=("dotnet-sdk=$pkgver") (the official ones don't need to do this because they are implicitly added with their package name and version)
For dotnet to work you need to EXPLICITLY install:
If you keep the install order in mind and you don't rely on pacman to resolve your dependencies you will be fine.
Longer explanation:
Every dotnet-sdk is dependent on a specific version of dotnet-runtime, this is built into dotnet.
Technically you only need the latest dotnet-sdk because it can build to any earlier versions.
Thank you again @Gr3q!
@riscie the community package will be updated as far as I know, it is in the works.
The purpose of this package was that I could use dotnet on armv7f architecture as well, what is missing from the repos.
Hey @Gr3q thank you so much for your work. It seems with the help of your effort we no have a way to use dotnet core 3.0 on arch. Does that mean the community packages of dotnet will no longer be updated? They were flagged out-of-date quite a while ago.
Pinned Comments
Gr3q commented on 2019-10-05 07:28 (UTC) (edited on 2021-02-13 09:06 (UTC) by Gr3q)
IMPORTANT INSTALLATION INFO (a reminder for myself as well):
For dotnet to work you need to EXPLICITLY install:
If you keep the install order in mind and you don't rely on pacman to resolve your dependencies you will be fine.
Longer explanation:
Every dotnet-sdk is dependent on a specific version of dotnet-runtime, this is built into dotnet.
Technically you only need the latest dotnet-sdk because it can build to any earlier versions.