deno.exe running two processes, unable to stop - windows

I installed deno using choco a few days back. Today my antivirus firewall gave a message that deno.exe is trying to make tcp connections to a remote ip (on Windows 10).
Taskmanager shows two deno.exe processes running which on terminating pop up right back.
I tried removing using 'choco uninstall deno' using an elevated command prompt, but it is throwing the following error -
Both deno.exe execs are in different locations -
C:\ProgramData\chocolatey\bin
C:\ProgramData\chocolatey\lib\deno
---- Error ----------------
choco uninstall deno
Chocolatey v0.11.3
Uninstalling the following packages:
deno
deno v1.19.0
This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\bin\deno.exe' is denied.
This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\bin\deno.exe' is denied.
Maximum tries of 3 reached. Throwing error.
deno not uninstalled. An error occurred during uninstall:
Access to the path 'C:\ProgramData\chocolatey\bin\deno.exe' is denied.
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
deno (exited 1) - deno not uninstalled. An error occurred during uninstall:
Access to the path 'C:\ProgramData\chocolatey\bin\deno.exe' is denied.
If a package uninstall is failing and/or you've already uninstalled the
software outside of Chocolatey, you can attempt to run the command
with -n to skip running a chocolateyUninstall script, additionally
adding --skip-autouninstaller to skip an attempt to automatically
remove system-installed software. Only the packaging files are removed
and not things like software installed to Programs and Features.
If a package is failing because it is a dependency of another package
or packages, then you may first need to consider if it needs to be
removed as packages have dependencies for a reason. If
you decide that you still want to remove it, head into
$env:ChocolateyInstall\lib and find the package folder you want to
be removed. Then delete the folder for the package. You should use
this option only as a last resort.

Related

ROS Noetic environment setup (directory not found)

After I installed Ros Noetic with this command - sudo apt install ros-noetic-desktop-full. There are 2-3 errors which are of not being able to fetch a few packages(armadillo and other). I downloaded them later.
But after I typed this command - source /opt/ros/noetic/setup.bash, I got this error of - no such file or directory. I then added this command in .bashrc file and removed it after one execution realizing this file cannot be found by the computer (may be a different location but still can't locate). Then I reinstalled ROS noetic, this time in another folder I made .... and I still cannot locate the file and I am getting the same error again. I am using Oracle VM VirtualBox Manager with UBUNTU_20.04. I also installed Guest editions(for full screen purposes)

How can I resolve a package installation error in Julia on Windows?

I have just started using Julia on a Windows 10 machine, and I have been trying to install some very basic packages. When I use the Pkg.add() command, however, the command window returns the following error:
ERROR: SystemError: opening file C:\Users\username\.julia\environments\v1.0\Project.toml: Permission denied
The error message pops up even when using the Administrator mode. Any advice or tips would be appreciated! Thanks!
Delete .julia folder or set a new location for the JULIA_DEPOT_PATH.
Once done use a non-administrator account (the one you normally work with) to reinstall packages.

{"init terminating in do_boot",{'cannot get bootfile','start_clean.boot'}} init terminating in do_boot ({cannot get bootfile,start_clean.boot})

when I run command rabbitmq-plugins.bat enable rabbitmq_management in windows 10. I got below error
{"init terminating in do_boot",{'cannot get bootfile','start_clean.boot'}}
init terminating in do_boot ({cannot get bootfile,start_clean.boot})
. I have windows 10.
. ERLANG is installed and ERLANG_HOME varaible is set
Please help me in resolving this
I also faced this issue and solved it by reinstalling it. Steps I followed on Windows 10:
Uninstall RabbitMQ
Delete the folder %APPDATA%\RabbitMQ
Delete folder RabbitMQ Server from C:\ProgramFiles
set ERLANG_HOME
Reinstall RabbitMQ via administrator account
Assuming you installed ERLANG via administrator account as well. If not then first reinstall Erlang before reinstalling RabbitMQ.
For me, the problem was that I was installing the latest (version 23) of ERLANG... which has the bin folder one level deeper and that caused issues for RabbitMQ... even if I set the ERLANG_HOME environment variable that one level deeper.
What worked was installing the latest of version 22 (22.3 at the time of this post) of ERLANG.
why?:
1.when you specify the installation path and do not follow the default path
2.the installer will create a C:Program Files\rabbitmq_server-3.11.1\Rabbit MQ\plugins folder,the path you specified will be missing these files
solve:
merge the files in C:Program Files\Rabbit MQ\rabbitmq_server-3.11.1\plugins into the directory you specify,likeD:\RabbitMQ\rabbitmq_server-3.11.1\plugins

Unable to install or run Octave in a Windows docker container

I'm trying to create a Windows docker container image with Octave (CLI) installed.
I started off with a Dockerfile installing Octave via chocolatey:
FROM mcr.microsoft.com/windows/servercore:1809
# Install chocolatey
RUN ["powershell", "Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))"]
# Install Octave
RUN ["powershell", "choco install --yes octave"]
Unfortunately the Octave install times out after 2700 seconds, while on my local machine this takes less than 10 minutes.
Progress: 100% - Completed download of C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\octave.install\5.1.0\octave-5.1.0-w64-installer.exe (286.41 MB).
Download of octave-5.1.0-w64-installer.exe (286.41 MB) completed.
Hashes match.
Installing octave.install...
Chocolatey timed out waiting for the command to finish. The timeout
specified (or the default value) was '2700' seconds. Perhaps try a
higher `--execution-timeout`? See `choco -h` for details.
The install of octave.install was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\octave.install\tools\chocolateyinstall.ps1'.
See log for details.
In my second trial I ran a Windows servercore container, copied the Octave installer binary into there and tried to run it, however the start call unfortunately immediately returns with error code -1073741515.
My third trial was downloading the portable Octave version and copy it into a running Windows servercore container, copy the portable Octave and run it. Unfortunately when calling octave-cli.exe the call again returns immediately with error code -1073741515.
I then checked with dependency walker, on my local machine, which dependencies the octave-cli has, it seemed to depend on adoptopenjdk\jdk-14.0.1.7. In my last trial I installed this dependency in the Windows servercore container via choco install adoptopenjdk, this however resulted in the same error code.
I'm curious whether anybody did succeed in installing or running Octave into a Windows docker container?
Or does anyone have any hints for me to proceed?

Unable to Install Meteor: Error 0x80070643: Failed to install MSI package

I am trying to install Meteor on my Windows 7 PC using the Windows Installer. Every time I try, it downloads for a while and then a window opens saying that the "Setup Failed". The log file contains the following lines that I think are relevant.
[121C:04D0][2015-10-02T09:38:56]e000: Error 0x80070643: Failed to install MSI package.
[121C:04D0][2015-10-02T09:38:56]e000: Error 0x80070643: Failed to configure per-user MSI package.
[121C:04D0][2015-10-02T09:38:56]i319: Applied execute package: SetupMeteor_UserInstall, result: 0x80070643, restart: None
[121C:04D0][2015-10-02T09:38:56]e000: Error 0x80070643: Failed to execute MSI package.
I believe that this problem is to do with my computer and not the installer, but I am unsure why these errors occur or what I should try in order to fix them.
In my case, I had to cancel the installation and then re-executed it with the administrator privilege. It worked but also took hours to complete (maybe by my internet connection quality).
Here is an alternative way to install on Windows.

Resources