Access denied Error installing ffmpeg with choco - powershell

I was trying the command '''choco install ffmpeg''' but the following error appear
ffmpeg not installed. An error occurred during installation:
Access denied to path 'C:\ProgramData\chocolatey\lib\ffmpeg\legal'.

The most common reason for this is that you may not be running choco from an administrative shell; make sure you start the shell as administrator before running the command.
If you already are, or that does not resolve the issue, it's possible there's an issue with the ffmpeg package itself, and it may be worth contacting the package maintainer via the links on the community repository to get it addressed.

Related

Cannot install QuickCheck for Haskell: "runInteractiveProcess: permission denied"

When I run the commands
cabal update
cabal install QuickCheck
on windows powershell, or
cabal install --lib --package-env . QuickCheck
I get runInteractiveProcess: permission denied. I have found that I need to run "/scripts/securetmp" and un-secure my /tmp. How do I do that? What does it mean to run /scripts/securetmp?
I was asked for the link to the advice, here are 2 links from 2 different people who said the same:
1.In one of the answers on a similar question on StackOverflow:
Can't install and use Cabal (Haskell) on CentOS Server - zlib-0.5.4.1 failed during the building phase
2.On a website, though it's in Russian, but says the same thing:
https://coderoad.ru/24461456/%D0%9D%D0%B5-%D1%83%D0%B4%D0%B0%D0%B5%D1%82%D1%81%D1%8F-%D1%83%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%B8%D1%82%D1%8C-%D0%B8-%D0%B8%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D1%8C-Cabal-Haskell-%D0%BD%D0%B0-%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80%D0%B5-CentOS-%D0%BE%D1%88%D0%B8%D0%B1%D0%BA%D0%B0
On both those links there are other answers, that talk about running some bootstrap.sh script. That might be another solution, but I don't understand how to do it.
Try to install it using :cabal --http-transport=plain-http install QuickCheck, with this you will be forcing cabal not to use powershell's webclient, it worked for me.

Sophos for Ubuntu blocking Flatpak application installs

I have installed Sophos for Ubuntu and it has been working fairly well until I decided to try Flatpak.
When installing or updating anything using Flatpak, I now get this pop up:
error popup
with this corresponding error on the terminal:
********************** Sophos Anti-Virus Alert *****************
Error scanning file
"/var/tmp/flatpak-cache-6TPQJ0/org.freedesktop.Platform.Locale-
37ALJ0/repo-WTmN4b-lock".
Access to the file has been denied
Searching the Google webs didn't really give me anything except this note on Github
https://github.com/flatpak/flatpak/issues/3512
Any suggestions to how to whitelist or otherwise ignore these files?
$ flatpak --version
Flatpak 1.4.3
NAME="Ubuntu"
VERSION="19.10 (Eoan Ermine)"
ID=ubuntu
VERSION_ID="19.10"
The savlog or syslog might give more information about what error SAV is hitting trying to scan the files.
/opt/sophos-av/bin/savlog -100
tail /var/log/syslog
It's likely that the files will need to be excluded, which you can using savconfig
/opt/sophos-av/bin/savconfig exclude /var/tmp/flatpak-cache-*

permissions for phing.php on Ubuntu for execution in Eclipse

I installed phing via apt-get on my Ubuntu machine. Then I set up phing as external program in Eclipse but now I am facing a permission problem.
Giving phing.php a different owner did not help. I still get:
Exception occurred executing command line.
Cannot run program "/usr/share/php/phing.php"
(in directory "/var/www/html/fullerweb"): error=13, Permission denied
What permissions are needed?
Try to use /usr/bin/phing instead.

Chocolatey Credentials Required

I just installed chocolatey through nuGet using the following steps in the admin shell: chocolatey nuget install. However, when I try to get any package, I am asked for credentials (which I assume is not meant to happen). Can anyone point out what I am doing wrong?
chocolatey
Maybe not a fix, but I found a work around. It is possible to download the *.nupkg files from https://chocolatey.org/packages and then run choco install [packageFile], which doesn't require the server to be contacted and this avoids the permission issue.

boost is installed but powershell says "Did not find"

I have installed boost-msvc14 1.59.0 but whenever I try installing osquery it says that it didn't find boost-msvc14 1.59.0 .
My boost directory is in C:/local. powershell is very slow in terms of downloading that's why I don't want to use powershell to install it. How can I fix this problem?
Old question. In recent osquery builds, you can use the make-win64-dev-env.bat, which uses Chocolatey packages. They get placed in \ProgramData\chocolatey. You can run choco list -l to list your installed packages.