View previous topic :: View next topic |
Author |
Message |
ipic Guru
Joined: 29 Dec 2003 Posts: 400 Location: UK
|
Posted: Sat Nov 02, 2024 5:36 pm Post subject: [SOLVED] git-credential-manager: .NET error |
|
|
I installed dev-vcs/git-credential-manager-2.6.0 and configured things as follows:
:
Code: |
emerge --jobs dev-vcs/git-credential-manager
...installed:
[ebuild N ] dev-dotnet/dotnet-runtime-nugets-6.0.32:6.0.32::gentoo 288,227 KiB
[ebuild N ] dev-dotnet/dotnet-runtime-nugets-8.0.7:8.0.7::gentoo 527,676 KiB
[ebuild N ] dev-dotnet/dotnet-runtime-nugets-7.0.20:7.0.20::gentoo 292,567 KiB
[ebuild N ] app-eselect/eselect-dotnet-1.0.1::gentoo 9 KiB
[ebuild N ] dev-libs/userspace-rcu-0.14.1:0/8::gentoo USE="-static-libs -test" 655 KiB
[ebuild N ] dev-util/lttng-ust-2.12.1:0/2.12::gentoo USE="-examples -numa" 840 KiB
[ebuild N ] dev-dotnet/dotnet-sdk-bin-8.0.107:8.0/8.0.7::gentoo 208,603 KiB
[ebuild N ] virtual/dotnet-sdk-8.0:8.0::gentoo 0 KiB
[ebuild N ] dev-dotnet/csharp-gentoodotnetinfo-1.1.1-r1::gentoo USE="-debug" 692 KiB
[ebuild N ~] dev-vcs/git-credential-manager-2.6.0::gentoo USE="-debug" 225,396 KiB
eselect dotnet list
[1] dotnet-bin-8.0 (/opt/dotnet-sdk-bin-8.0) *
In my user:
ipic@ian2 ~/steam-cellar $ git-credential-manager configure
Configuring component 'Git Credential Manager'...
Configuring component 'Azure Repos provider'...
ipic@ian2 ~/steam-cellar $ git-credential-manager diagnose
Running diagnostics...
[ OK ] Environment
[ OK ] File system
[ OK ] Networking
[ OK ] Git
[ OK ] Credential storage
[ OK ] Microsoft authentication (AAD/MSA)
[ OK ] GitHub API
Diagnostic summary: 7 passed, 0 skipped, 0 failed.
Log files:
/home/ipic/steam-cellar/gcm-diagnose.log
Caution: Log files may include sensitive information - redact before sharing.
ipic@ian2 ~/steam-cellar $
ipic@ian2 ~/steam-cellar $ git config --global credential.credentialStore secretservice
ipic@ian2 ~/steam-cellar $
ipic@ian2 ~/steam-cellar $ git-credential-manager github login
... This popped out a web browser that allowed my to authenticate via github web site
ipic@ian2 ~/steam-cellar $ git-credential-manager github list
pickworthi
ipic@ian2 ~/steam-cellar $
|
However, when I go to pull from the github repository I get this:
Code: | ipic@ian2 ~/steam-cellar $ git pull https://github.com/pickworthi/steam-cellar.git master
You must install .NET to run this application.
App: /usr/share/git-credential-manager-2.6.0/git-credential-manager
Architecture: x64
App host version: 8.0.7
.NET location: Not found
Learn more:
https://aka.ms/dotnet/app-launch-failed
Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=linux-x64&os=gentoo.2.15&apphost_version=8.0.7
Username for 'https://github.com':
< I quit using ctrl-c here> |
Desktop session is XFCE-4.
Does anyone have some pointers as to why it thinks .NET is missing - when it is clearly installed?
Last edited by ipic on Sat Nov 02, 2024 5:43 pm; edited 1 time in total |
|
Back to top |
|
|
ipic Guru
Joined: 29 Dec 2003 Posts: 400 Location: UK
|
Posted: Sat Nov 02, 2024 5:43 pm Post subject: |
|
|
Ahh...
This was a switch it of/on problem.
Logged out of XFCE session, logged back in, and it worked.
I thought that new terminal sessions would should work - but clearly desktop services needed to be reset.
Marked as solved and leaving for others to find. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|