Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
130 views
How to use Windows app Teltonika Configurator (MS .NET) on Linux? (how to use Wine or mono or other solution)
I have been a Debian user for many years, but at a basic level. Now I need to work with an application available only for Windows - Teltonika Configurator (version for GH5200 tracker): https://wiki.teltonika-gps.com/view/Teltonika_Configurator_versions#For_GH5200_&_TMT250 It requires the environment...
I have been a Debian user for many years, but at a basic level. Now I need to work with an application available only for Windows - Teltonika Configurator (version for GH5200 tracker): https://wiki.teltonika-gps.com/view/Teltonika_Configurator_versions#For_GH5200_&_TMT250 It requires the environment of MS .NET or .NET Framework: https://wiki.teltonika-gps.com/view/GH5200_First_Start#PC_Connection_(Windows) I don't even know how they differ from each other. In addition, I see here the availability of packages for Linux: https://dotnet.microsoft.com/en-us/download/dotnet-framework https://dotnet.microsoft.com/en-us/download/dotnet and I just don't know: - Which one to use? - How to use it? - Do you use Wine or mono? And if so - how to use correctly?
DarekH (157 rep)
Feb 19, 2025, 05:08 PM • Last activity: Feb 20, 2025, 09:15 AM
0 votes
0 answers
84 views
Port not working using systemd
I'm migrating to a Linux Red Hat 9 server and can't get my .NET web application to work on a specific port (8343) when using systemd. I'm specifically using Kestrel. I see the following error when debugging: ``` dbug: Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher[4] Create...
I'm migrating to a Linux Red Hat 9 server and can't get my .NET web application to work on a specific port (8343) when using systemd. I'm specifically using Kestrel. I see the following error when debugging:
dbug: Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher
      Created directory watcher for '/etc/pki/tls'.
dbug: Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher
      Created directory watcher for '/etc/pki/tls/cert.pfx'.
dbug: Microsoft.AspNetCore.Server.Kestrel
      Failed to bind to http://[::]:8343  (IPv6Any). Attempting to bind to http://0.0.0.0:8343  instead.
info: Microsoft.Hosting.Lifetime
      Now listening on: https://0.0.0.0:8343 
It doesn't bind right away when the service starts up and then eventually listens on https://0.0.0.0:8343 . When I try and go to https://someurl.com:8343/ or https://someurl.com:8343/healthcheck its not coming up. Here's my service file and shell script below:
#TestApp.service

[Unit]
Description=TestApp
Documentation=''
After=multi-user.target

[Service]
User=someuser
ExecStart=/bin/sh -c /www/someurl.com/TestApp/app.sh
Restart=on-failure
RestartSec=60s

[Install]
WantedBy=multi-user.target
#app.sh

#!/bin/bash
now=$(date +"%Y%m%d_%H%M%S")
cd /www/someurl.com/TestApp/app
set -o pipefail
Kestrel__Endpoints__Https__Certificate__Path="/etc/pki/tls/cert.pfx" Kestrel__Endpoints__Https__Certificate__Password="**********" Kestrel__Endpoints__Https__Url="https://*:8343 " DOTNET_ENVIRONMENT="Staging" ./TestApp 2>&1 | tee /apps/logs/TestApp/output_&now.log
Any insight or suggestions would be greatly appreciated! Thanks!
user692646 (1 rep)
Dec 26, 2024, 07:31 PM • Last activity: Dec 26, 2024, 11:57 PM
0 votes
0 answers
93 views
Linux ls shows some abnormal files with “?” No message of desired type
Help me understand the following problem - there is software that interacts with files in XML format. The software is wrapped in a docker container. When the software works with the file, the error "No message of desired type" occurs after a random time. When trying to see what is with the file in t...
Help me understand the following problem - there is software that interacts with files in XML format. The software is wrapped in a docker container. When the software works with the file, the error "No message of desired type" occurs after a random time. When trying to see what is with the file in the container, by the path of its location, Linux responds that the file is there, but nothing can be done with it. For example, ls returns the following:`
# # ls -lah
ls: cannot access 'file.xml': No message of desired type
total 16K
drwxr-xr-x 1 root root 4.0K Nov 5 11:12 .
drwxr-xr-x 1 root root 4.0K Dec 4 12:42 ..
-????????? ? ? ? ? ? file.xml
No problems with the file system were found. When the container is restarted, the file is correct, but after some time the file breaks. Made a copy of the files in the top level of the directory (while continuing to work with the internal files) - the external files remained intact, but the internal ones broke. From the point of view of the code - the code is in C#, working with the file - opened for reading in FileStream, after work the stream was closed and disposed. As far as we could understand, no one interacts with the file except the utility.
dimkqa (1 rep)
Dec 4, 2024, 09:53 AM
0 votes
2 answers
2359 views
installing .Net dotnet on debian
I downloaded ./dotnet-install.sh and successfully installed: $ ./dotnet-install.sh -c Current dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where: dotnet-install: - The SDK needs to be installed without user interaction and without admin righ...
I downloaded ./dotnet-install.sh and successfully installed: $ ./dotnet-install.sh -c Current dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, where: dotnet-install: - The SDK needs to be installed without user interaction and without admin rights. dotnet-install: - The SDK installation doesn't need to persist across multiple CI runs. dotnet-install: To set up a development environment or to run apps, use installers rather than this script. Visit https://dotnet.microsoft.com/download to get the installer. dotnet-install: .NET Core SDK version 5.0.207 is already installed. dotnet-install: Adding to current process PATH: /home/tesla/.dotnet. Note: This change will be visible only when sourcing script. dotnet-install: Note that the script does not resolve dependencies during installation. dotnet-install: To check the list of dependencies, go to https://docs.microsoft.com/dotnet/core/install , select your operating system and check the "Dependencies" section. dotnet-install: Installation finished successfully. I added path └─$ export PATH=$PATH:/home/tesla/.dotnet dotnet --version 5.0.207 I have two issues: First, everytime I restart the PC, I need to reinstall Second vs code terminal does not see dotnet --version command: "Command 'dotnet' not found, but can be installed with: sudo snap install dotnet-sdk # version 5.0.401, or sudo apt install dotnet-host See 'snap info dotnet-sdk' for additional versions. " If I set the path on vscode terminal, after re staring the vscode, it does not recognize dotnet command
Yilmaz (417 rep)
Sep 20, 2021, 07:01 AM • Last activity: Oct 25, 2024, 04:02 PM
1 votes
1 answers
66 views
Is it possible for runtime .NET Core 3.1 and 6.0 to coexist on an Ubuntu system
Is it possible for runtime .NET Core 3.1 and 6.0 to coexist on an Ubuntu system (for example, Ubuntu 22.04)? Let me explain, I have a computer where I need both runtimes, but either I install one or the other. I can't seem to get them to work together. The installation for version 3.1 is done like t...
Is it possible for runtime .NET Core 3.1 and 6.0 to coexist on an Ubuntu system (for example, Ubuntu 22.04)? Let me explain, I have a computer where I need both runtimes, but either I install one or the other. I can't seem to get them to work together. The installation for version 3.1 is done like this:
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb 
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb   
dpkg -i packages-microsoft-prod.deb  
apt update  
apt install apt-transport-https dotnet-runtime-3.1 -y
And for version 6.0, I use the following steps:
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb  -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt-get update
sudo apt install aspnetcore-runtime-6.0
However, when I run dotnet --list-runtimes, I only see version 3.1. If I only perform the installation of 6.0, only that one is displayed. But never both.
Francisco de Javier (1311 rep)
Aug 31, 2023, 09:27 AM • Last activity: Mar 8, 2024, 06:49 AM
0 votes
1 answers
69 views
Optimize loading of .Net assemblies
Despite this is a .Net question about dlls this is a Linux question as I am deploying to Linux. I deploy dozens of different .Net applications to a single Linux computer. Each of the separate applications have several .dll files that are identical between the applications. Here are my questions: Doe...
Despite this is a .Net question about dlls this is a Linux question as I am deploying to Linux. I deploy dozens of different .Net applications to a single Linux computer. Each of the separate applications have several .dll files that are identical between the applications. Here are my questions: Does .Net/Mono optimize memory usage automatically by recognizing that despite being separate files they are identical? What can I do to move those files to a central location so they would be loaded into shared memory and reduce memory usage? My questions are based on my experience with how .so files are handled in various UNIX based systems. For reference, here is a dump of the .dlls in one application:
docroot@machine:~/Deployment/PrimaryApp_2023-07-12_01-16-59$ file *.dll */*.dll
AppConfigSdk.dll:                                      PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
AppLoginSdk.dll:                                       PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
Dapper.Transaction.dll:                                PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
Dapper.dll:                                            PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
DataAccess.dll:                                        PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
Microsoft.AspNetCore.Mvc.Razor.Extensions.dll:         PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.dll: PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
Microsoft.AspNetCore.Razor.Language.dll:               PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
Microsoft.CodeAnalysis.CSharp.dll:                     PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
Microsoft.CodeAnalysis.Razor.dll:                      PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
Microsoft.CodeAnalysis.dll:                            PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
Microsoft.Extensions.DependencyModel.dll:              PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
NLog.Extensions.Logging.dll:                           PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
NLog.Web.AspNetCore.dll:                               PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
NLog.dll:                                              PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
Newtonsoft.Json.dll:                                   PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
System.Data.SqlClient.dll:                             PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
PrimaryApp.dll:                                        PE32 executable (console) Intel 80386 Mono/.Net assembly, for MS Windows
cs/Microsoft.CodeAnalysis.CSharp.resources.dll:        PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
cs/Microsoft.CodeAnalysis.resources.dll:               PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
de/Microsoft.CodeAnalysis.CSharp.resources.dll:        PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
de/Microsoft.CodeAnalysis.resources.dll:               PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
es/Microsoft.CodeAnalysis.CSharp.resources.dll:        PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
es/Microsoft.CodeAnalysis.resources.dll:               PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
fr/Microsoft.CodeAnalysis.CSharp.resources.dll:        PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
fr/Microsoft.CodeAnalysis.resources.dll:               PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
it/Microsoft.CodeAnalysis.CSharp.resources.dll:        PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
it/Microsoft.CodeAnalysis.resources.dll:               PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
ja/Microsoft.CodeAnalysis.CSharp.resources.dll:        PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
ja/Microsoft.CodeAnalysis.resources.dll:               PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
ko/Microsoft.CodeAnalysis.CSharp.resources.dll:        PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
ko/Microsoft.CodeAnalysis.resources.dll:               PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
pl/Microsoft.CodeAnalysis.CSharp.resources.dll:        PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
pl/Microsoft.CodeAnalysis.resources.dll:               PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll:     PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
pt-BR/Microsoft.CodeAnalysis.resources.dll:            PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
ru/Microsoft.CodeAnalysis.CSharp.resources.dll:        PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
ru/Microsoft.CodeAnalysis.resources.dll:               PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
tr/Microsoft.CodeAnalysis.CSharp.resources.dll:        PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
tr/Microsoft.CodeAnalysis.resources.dll:               PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll:   PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
zh-Hans/Microsoft.CodeAnalysis.resources.dll:          PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll:   PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
zh-Hant/Microsoft.CodeAnalysis.resources.dll:          PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows
[EDIT] To clarify... Two processes on AIX that load the same .so file will share the physical memory of the readonly code block from that .so. That is, the first process loads the .so from the disk, but the second process fixes up a page table pointing to the same physical memory. I am guessing Linux has a similar optimization, but I am not sure.
Be Kind To New Users (101 rep)
Aug 24, 2023, 02:04 PM • Last activity: Aug 24, 2023, 02:36 PM
0 votes
1 answers
175 views
Mono cannot find LibVLC or MPV on NixOS
I am trying to use SubtitleEdit, a .NET application, on NixOS, using Mono. This has worked in the past with other distros, but for some reason SubtitleEdit cannot find mpv or libvlc on NixOS. Everything is installed via configuration.nix, so I suspect I somehow need to expose LibVLC or mpv to Mono a...
I am trying to use SubtitleEdit, a .NET application, on NixOS, using Mono. This has worked in the past with other distros, but for some reason SubtitleEdit cannot find mpv or libvlc on NixOS. Everything is installed via configuration.nix, so I suspect I somehow need to expose LibVLC or mpv to Mono and thus SubtitleEdit. How can I do this? Note: Installing the LibVLC package breaks VLC for some reason, and SubtitleEdit defaults to and works better with LibMPV anyway.
TheLabCat (133 rep)
Jul 18, 2023, 10:20 PM • Last activity: Jul 20, 2023, 10:40 PM
0 votes
1 answers
398 views
How to run .Net core application on linux without wine?
I have .Net Core WPF application in **.exe** format I didn't publish for linux because I am not getting those publish option for WPF, so is it possible to run it on Linux without wine? If yes then how?
I have .Net Core WPF application in **.exe** format I didn't publish for linux because I am not getting those publish option for WPF, so is it possible to run it on Linux without wine? If yes then how?
Abhishek Borse (3 rep)
Feb 7, 2023, 11:29 AM • Last activity: Feb 7, 2023, 11:40 AM
0 votes
2 answers
4256 views
How to make Wine look for DLL in Program Files instead of /usr/share?
I'm trying to run a game called [Beneath the Nexus](https://playbtn.com/) through Wine. The game said I needed .NET Desktop Runtime 5, so I downloaded the [Windows installer](https://dotnet.microsoft.com/download/dotnet/5.0) and installed it. However when running the actual game, I get the following...
I'm trying to run a game called [Beneath the Nexus](https://playbtn.com/) through Wine. The game said I needed .NET Desktop Runtime 5, so I downloaded the [Windows installer](https://dotnet.microsoft.com/download/dotnet/5.0) and installed it. However when running the actual game, I get the following error message: > Message: A fatal error occurred, the required library hostfxr.dll could not be found in [Z:\\usr\\share\\dotnet\\host\\fxr\\5.0.7] when I run find . | grep hostfxr in my .wine prefix, it finds the right DLL in a few places: ./drive_c/Program Files/dotnet/host/fxr/5.0.7/hostfxr.dll ./drive_c/Program Files (x86)/dotnet/host/fxr/5.0.7/hostfxr.dll How can I make the game find these DLLs instead of looking in my /usr/share?
Dr-Bracket (437 rep)
Jun 19, 2021, 06:22 PM • Last activity: Jan 28, 2023, 06:05 AM
0 votes
1 answers
980 views
How To Run Multiple .Net Projects With Shell Script
I need to run multiple .net projects for a micro service based project so I written a simple .sh file to achieve this purpose. #! /bin/sh. ~/start dotnet run --project "AuthService/API" --no-build; dotnet run --project "MicroServices/FileUploadManagementService/API" --no-build; dotnet run --project...
I need to run multiple .net projects for a micro service based project so I written a simple .sh file to achieve this purpose. #! /bin/sh. ~/start dotnet run --project "AuthService/API" --no-build; dotnet run --project "MicroServices/FileUploadManagementService/API" --no-build; dotnet run --project "MicroServices/ContractFinancialManagementService/API" --no-build; dotnet run --project "MicroServices/ParameterManagementService/API" --no-build; dotnet run --project "MicroServices/ProcurementManagementService/API" --no-build; dotnet run --project "MicroServices/SiteManagementService/API" --no-build; dotnet run --project "MicroServices/StakeholderManagementService/API" --no-build; dotnet run --project "MicroServices/SupervisionManagementService/API" --no-build; dotnet run --project "MicroServices/UserManagementService/API" --no-build; My problem is after first line Auth service runs but no other projects start. How can I fix this?
vivus (103 rep)
Jan 17, 2023, 08:36 AM • Last activity: Jan 17, 2023, 03:55 PM
3 votes
3 answers
5723 views
dotnet --help -> Segmentation fault (core dumped)
Most `dotnet` commands I run on my Ubuntu 20.04 system gives me the error: `Segmentation fault (core dumped)` I tried rerunning the dotnet installation scripts and I tried modifying the stack size with `uint -n` (as advised on the internet). (It's important to note that I was using the bac...
Most dotnet commands I run on my Ubuntu 20.04 system gives me the error:
Segmentation fault (core dumped) I tried rerunning the dotnet installation scripts and I tried modifying the stack size with uint -n (as advised on the internet). (It's important to note that I was using the backend of an app on dotnet without any problems, and this error seems to have come out of nowhere.) I cannot find a solution for this. What can I do to fix this? The following commands produce the segfault: - dotnet -h - dotnet --info The following commands do **not** produce a segfault: - dotnet (without any arguments) - dotnet --list-sdks - dotnet --list-runtimes I used the official microsoft documentation from here https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu to install .NET and it ran just fine until a few days ago. EDIT: Upon further investigation, I found out that if I uninstall the SDK I stop getting the error but as soon as I reinstall, it reapears.
Szoke Lorand (31 rep)
Jul 24, 2020, 10:49 PM • Last activity: Sep 2, 2022, 03:37 AM
1 votes
3 answers
18761 views
How do I install Dot Net Core on Arch Linux
I am using Apricity OS (based on Arch Linux). I want to install Dot Net Core. What is the command for installing it by pacman.
I am using Apricity OS (based on Arch Linux). I want to install Dot Net Core. What is the command for installing it by pacman.
Souvik Ghosh (169 rep)
Aug 21, 2016, 07:32 AM • Last activity: Jul 24, 2022, 11:01 AM
0 votes
1 answers
274 views
.NET SDK wouldn't show up on Fedora 36
Installed .NET and its dependencies by running ```sudo dnf install dotnet``` After executing ```dotnet --info``` ``` Host (useful for support): Version: 6.0.6 Commit: 7cca709db2 .NET SDKs installed: No SDKs were found. .NET runtimes installed: Microsoft.AspNetCore.App 6.0.6 [/usr/lib64/dotnet/shared...
Installed .NET and its dependencies by running
dnf install dotnet
After executing
--info
Host (useful for support):
  Version: 6.0.6
  Commit:  7cca709db2

.NET SDKs installed:
  No SDKs were found.

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.6 [/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.6 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download 
it showed no installed SDKs. Reinstalled (it was installed) dotnet-sdk-6.0.
dnf reinstall dotnet-sdk-6.0
Reinstalled successfully, still won't show up. Even tried
dnf install dotnet-sdk-6.0.x86_64
No result after installation.
--info
Shows that no SDKs are installed, even though they are. Please help me or show me my mistake.
Dor1ma (31 rep)
Jul 15, 2022, 04:36 PM • Last activity: Jul 15, 2022, 08:51 PM
0 votes
1 answers
524 views
How to install previous dotnet versions alongside latest versions?
I'm using PopOs 21.10 and use the latest dotnet versions [![enter image description here][1]][1] Now I have to install the previous version [dotnet core 3.1][2] I tried wget https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb sudo apt-get upd...
I'm using PopOs 21.10 and use the latest dotnet versions enter image description here Now I have to install the previous version dotnet core 3.1 I tried wget https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb sudo apt-get update; \ sudo apt-get install -y apt-transport-https && \ sudo apt-get update && \ sudo apt-get install -y dotnet-sdk-3.1 but get the error > E: Unable to locate package dotnet-sdk-3.1 > E: Couldn't find any package by glob 'dotnet-sdk-3.1' I also tried to change the package name sudo apt-get update; \ sudo apt-get install -y apt-transport-https && \ sudo apt-get update && \ sudo apt-get install -y aspnetcore-sdk-3.1 but get similiar errors. When downloading the tar archive I run these commands from inside the downloads directory mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-3.1.419-linux-arm64.tar.gz -C $HOME/dotnet export DOTNET_ROOT=$HOME/dotnet export PATH=$PATH:$HOME/dotnet but even after restarting I can't find any 3.1 version on my machine. Would someone mind helping on how to install previous versions without removing other ones?
Question3r (11 rep)
May 15, 2022, 09:57 AM • Last activity: May 16, 2022, 05:10 PM
8 votes
3 answers
8255 views
Resolve-DnsName : The term 'Resolve-DnsName' is not recognized as the name of a cmdlet
Why is `Resolve-DnsName` not recognized for `PowerShell Core`? So far as I recall it works fine with `PowerShell` itself. Is this a `.NET` versus `dotnet` problem? That `dotnet` simply doesn't have this functionality? thufir@dur:~/powershell/webservicex$ thufir@dur:~/powershell/webservicex$ dotnet -...
Why is Resolve-DnsName not recognized for PowerShell Core? So far as I recall it works fine with PowerShell itself. Is this a .NET versus dotnet problem? That dotnet simply doesn't have this functionality? thufir@dur:~/powershell/webservicex$ thufir@dur:~/powershell/webservicex$ dotnet --version 2.1.4 thufir@dur:~/powershell/webservicex$ thufir@dur:~/powershell/webservicex$ ./dns.ps1 Resolve-DnsName : The term 'Resolve-DnsName' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At /home/thufir/powershell/webservicex/dns.ps1:3 char:1 + Resolve-DnsName -Name localhost -Type ANY | Format-Table -AutoSize + ~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Resolve-DnsName:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException thufir@dur:~/powershell/webservicex$ thufir@dur:~/powershell/webservicex$ cat dns.ps1 #!/usr/bin/pwsh -Command Resolve-DnsName -Name localhost -Type ANY | Format-Table -AutoSize thufir@dur:~/powershell/webservicex$ see closed question also , and technet .
Thufir (1970 rep)
Feb 18, 2018, 05:02 PM • Last activity: Jan 18, 2022, 04:28 PM
1 votes
1 answers
32 views
nappo - probably dotnet command missing
I know that this is a question for beginners, but I cannot find the `nappo` command. It's used in the Fedora packaging script for ARM 64 DotNet. I tried to google it, yum search, pkgs.org, repology and GitHub. The file where the nappo command is used is here: https://src.fedoraproject.org/rpms/dotne...
I know that this is a question for beginners, but I cannot find the nappo command. It's used in the Fedora packaging script for ARM 64 DotNet. I tried to google it, yum search, pkgs.org, repology and GitHub. The file where the nappo command is used is here: https://src.fedoraproject.org/rpms/dotnet6.0/blob/rawhide/f/build-arm64-bootstrap-tarball
Alex Baranowski (1219 rep)
Jan 2, 2022, 07:54 PM • Last activity: Jan 5, 2022, 08:28 AM
0 votes
1 answers
57 views
Does Installing Windows Dependencies such as Fonts and Frameworks Directly on one's Linux OS Make them Available to Wine?
Some apps require specific fonts to be installed. Do I need to install those through Wine, or will installing them directly on my Linux OS (I use Debian stable) make them available? Same question for frameworks. I have an app which requires the latest version of .NET. Will installing the framework d...
Some apps require specific fonts to be installed. Do I need to install those through Wine, or will installing them directly on my Linux OS (I use Debian stable) make them available? Same question for frameworks. I have an app which requires the latest version of .NET. Will installing the framework directly on Debian make it available to Wine? If not, what's the reason? Thank you in advance, and God bless.
GPWR (162 rep)
Dec 20, 2021, 04:27 PM • Last activity: Dec 21, 2021, 08:15 AM
1 votes
0 answers
69 views
.NET 5 issue on "old" arm64 / how to publish for arm64/gcc4.x
### Background I'm having more success than expected running binaries from a (relatively simple) `C#` program on "antiquated" `arm` and `arm64` systems built on `linux-x64` and published with `RID`s `linux-arm` and `linux-arm64`. On one machine I get the following, however: `symbol _ZTTNSt7__cxx1118...
### Background I'm having more success than expected running binaries from a (relatively simple) C# program on "antiquated" arm and arm64 systems built on linux-x64 and published with RIDs linux-arm and linux-arm64. On one machine I get the following, however: symbol _ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference According to some information I found, the reason is that from gcc-5 onward, the c++ ABI has changed. Indeed this system is a glibc-2.20 compiled with gcc-4.9.4. ### My questions: - is there any already available RID which publishes binaries known to be compatible with gcc-4.9 on arm64 (all RIDs are [here](https://github.com/dotnet/runtime/blob/main/src/libraries/Microsoft.NETCore.Platforms/src/runtime.json)) ? (I've tried some of "the oldest" I could find from the list, that support arm64, but none worked). - if not, would it be feasible to build the SDK in e.g. a wheezy arm64 container (I've had success with this compiling for glibc-2.19 compatibility). - if I have a custom-build cross-SDK, how can I add a RID so I can use it in the standard dotnet publish workflow? (I build on linux-x64 for linux-arm*)
ppenguin (115 rep)
Oct 6, 2021, 11:18 PM
1 votes
2 answers
94 views
Issue to install package on Linux Mint
I'm trying to install the .NET Core packages, but I have an issue and I do not know how to solve it. I followed the steps on this page, but I get the below error: https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/sdk-2.1.202 I'm following whole instruction, here my output: ```...
I'm trying to install the .NET Core packages, but I have an issue and I do not know how to solve it. I followed the steps on this page, but I get the below error: https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/sdk-2.1.202 I'm following whole instruction, here my output:
$ wget -q https://packages.microsoft.com/config/ubuntu/18/04/packages-microsoft-prod.deb 
$ sudo dpkg -i packages-microsoft-prod.deb
(Reading database ... 293869 files and directories currently installed.)
Preparing to unpack packages-misrosoft-prod.deb ...
Unpacking packages-microsoft-prod (1.0-ubuntu18.04.1) over (1.0-ubuntu18.04.1) ...
Setting up packages-microsoft-prod (1.0-ubuntu18.04.1) ...
$ sudo add-apt repository universe
$ sudo apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.6.6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt-get update
Hit:1 http://mirror.ufscar.br/mariadb/repo/10.3/ubuntu  bionic InRelease
Hit:2 https://repo.skype.com/deb  stable InRelease
Hit:3 https://deb.nodesource.com/node_10.x  bionic InRelease
Hit:4 https://dl.yarnpkg.com/debian  stable InRelease
Hit:5 http://packages.microsoft.com/repos/vscode  stable InRelease
Hit:6 https://dl.winehq.org/wine-builds/ubuntu  bionic InRelease
Hit:7 https://dl.winehq.org/wine-builds/ubuntu  artful InRelease
Hit:9 http://archive.ubuntu.com/ubuntu  bionic InRelease
Hit:10 http://archive.canonical.com/ubuntu  bionic InRelease
Ign:11 http://dl.google.com/linux/chrome/deb  stable InRelease
Ign:12 http://packages.linuxmint.com  tara InRelease
Hit:13 https://brave-browser-apt-release.s3.brave.com  bionic InRelease
Hit:14 http://archive.ubuntu.com/ubuntu  bionic-updates InRelease
Hit:15 http://repository.spotify.com  stable InRelease
Hit:16 http://packages.linuxmint.com  tara Release
Hit:17 http://dl.google.com/linux/chrome/deb  stable Release
Hit:18 http://archive.ubuntu.com/ubuntu  bionic-backports InRelease
Hit:21 http://security.ubuntu.com/ubuntu  bionic-security Inrelease
Hit:8 https://packagecloud.io/slacktechnologies/slack/debian  jessie InRelease
Reading package lists... Done
$ sudo apt-get install dotnet-sdk-2.1.202
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dotnet-sdk-2.1.202
E: Couldn't find any package by glob 'dotnet-sdk-2.1.202'
E: Couldn't find any package by regex 'dotnet-sdk-2.1.202'
$
Is it something I'm doing wrong? Is something wrong with my machine?
José Luiz (131 rep)
Dec 7, 2018, 12:20 PM • Last activity: Oct 1, 2021, 09:03 AM
3 votes
1 answers
5691 views
mod-mono-server 4 is not working, while 2 does
I need to deploy an ASP.NET MVC4 (MVC3 at least) application on Centos 6 server. I've installed Mono 3.2.1, XSP4, mod_mono (for use with apache web server) and succesfully ran the test application that goes with mono. I used a config tool to create a config for app directory and deployed an empty AS...
I need to deploy an ASP.NET MVC4 (MVC3 at least) application on Centos 6 server. I've installed Mono 3.2.1, XSP4, mod_mono (for use with apache web server) and succesfully ran the test application that goes with mono. I used a config tool to create a config for app directory and deployed an empty ASP.NET WebPages project created in VS2012 on .Net 2.0 - it ran ok. But I need to run an .net 4.5 or at least 4.0 application, so I've set the MonoServerPath to mod-mono-server4 instead of mod-mono-server2 in the config, but now i'm getting a "Service Temporarily Unavailable" error while trying to access the asp.net project directory (even empty). What should I check for? **Update:** I checked the apache log and here what it shows: mod-mono-server4 Exception caught during reading the configuration file: System.MissingMethodException: Method not found: 'System.Configuration.IConfigurationSectionHandler.Create'. at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0 at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0 at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in :0 at Mono.WebServer.Apache.Server.get_AppSettings () [0x00001] in /usr/src/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:208 at Mono.WebServer.Apache.Server+ApplicationSettings..ctor () [0x0002a] in /usr/src/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:63 mod-mono-server4 Listening on: /tmp/mod_mono_server_Unreal Root directory: /var/www/html/Unreal Error: An exception was thrown by the type initializer for System.Net.Sockets.Socket mod-mono-server4 Exception caught during reading the configuration file: System.MissingMethodException: Method not found: 'System.Configuration.IConfigurationSectionHandler.Create'. at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0 at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0 at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in :0 at Mono.WebServer.Apache.Server.get_AppSettings () [0x00001] in /usr/src/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:208 at Mono.WebServer.Apache.Server+ApplicationSettings..ctor () [0x0002a] in /usr/src/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:63 mod-mono-server4 Listening on: /tmp/mod_mono_server_Unreal Root directory: /var/www/html/Unreal Error: An exception was thrown by the type initializer for System.Net.Sockets.Socket mod-mono-server4 Exception caught during reading the configuration file: System.MissingMethodException: Method not found: 'System.Configuration.IConfigurationSectionHandler.Create'. at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in :0 at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in :0 at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in :0 at Mono.WebServer.Apache.Server.get_AppSettings () [0x00001] in /usr/src/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:208 at Mono.WebServer.Apache.Server+ApplicationSettings..ctor () [0x0002a] in /usr/src/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:63 mod-mono-server4 Listening on: /tmp/mod_mono_server_Unreal Root directory: /var/www/html/Unreal Error: An exception was thrown by the type initializer for System.Net.Sockets.Socket [Wed Sep 25 08:45:13 2013] [error] Failed to connect to mod-mono-server after several attempts to spawn the process.
Vladimir Glushkov (181 rep)
Sep 25, 2013, 12:40 PM • Last activity: Nov 19, 2020, 07:46 PM
Showing page 1 of 20 total questions