When installing azeothcore using ./acore docker build the build fails to what seems like networrk issues from within the container - azerothcore

The following error appears in the output:
#47 0.596 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-backports /InRelease Temporary failure resolving 'archive.ubuntu.com'
#47 0.645 E: Unable to locate package dos2unix
#47 0.645 E: Unable to locate package gdb
#47 0.645 E: Unable to locate package gdbserver
#47 0.645 E: Unable to locate package google-perftools
#47 0.645 E: Unable to locate package libgoogle-perftools-dev
#47 0.645 E: Unable to locate package net-tools
#47 0.645 E: Unable to locate package libboost-system1.7*-dev

upgrade your docker and docker-compose version to 2.x

Related

Unable to install package "quanteda.textstats" in R under Ubuntu 22.04.1 LTS

I am trying to install the package quanteda.textstats in R under Ubuntu Version 22.04.1 LTS.
I initially ran:
install.packages("quanteda.textstats")
where I got an error message saying it could not install the dependency proxyC. I was able to install that, but I still get an error message when running the above code.
/usr/bin/ld: cannot find -llapack: No such file or directory
/usr/bin/ld: cannot find -lblas: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [/usr/share/R/share/make/shlib.mk:10: quanteda.textstats.so] Error 1
ERROR: compilation failed for package ‘quanteda.textstats’
* removing ‘/home/user/R/x86_64-pc-linux-gnu-library/4.2/quanteda.textstats’
Warning in install.packages :
installation of package ‘quanteda.textstats’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpuUtAq1/downloaded_packages’
I would guess I am missing certain dependencies, but I am unable to figure out what -llapack and -lblas stands for.
I also tried running the github install (option 3):
remotes::install_github("quanteda/quanteda.textstats")
but there as well I get a similar error:
/usr/bin/ld: cannot find -llapack: No such file or directory
/usr/bin/ld: cannot find -lblas: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [/usr/share/R/share/make/shlib.mk:10: quanteda.textstats.so] Error 1
ERROR: compilation failed for package ‘quanteda.textstats’
* removing ‘/home/user/R/x86_64-pc-linux-gnu-library/4.2/quanteda.textstats’
Warning message:
In i.p(...) :
installation of package ‘/tmp/RtmpuUtAq1/file17581cc7f39c/quanteda.textstats_0.96.tar.gz’ had non-zero exit status
Can anybody help please?
Your are trying to compile the package which requires to have certain system dependencies installed, in this case lblas and llapack. This is not the recommended way to install R packages on Ubuntu. Instead you should install them as PPAs as described on CRAN.
If you insist on compiling the package yourself, install the dependencies via apt in the system terminal:
sudo apt-get install libblas-dev liblapack-dev

Error in Installing Keras in rstudio: ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied

I have already successfully run the following commands:
install.packages("keras")
library(keras)
However, when I am trying to install keras using "install_keras()", I get the following error:
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\\ProgramData\\Anaconda3\\Lib\\site-packages\\urllib3\\__init__.py'
Consider using the --user option or check the permissions.
Error: Error installing package(s): "\"tensorflow==2.9.*\"", "\"tensorflow-hub\"", "\"scipy\"", "\"requests\"", "\"Pillow\"", "\"h5py\"", "\"pandas\"", "\"pydot\""
In addition: Warning message:
In shell(fi, intern = intern) :
'C:\Users\coraz\AppData\Local\Temp\RtmpaENb3p\file20a82e256c80.bat' execution failed with error code 1
I have used the RStudio version 2022.07.2-576 downloaded from the official website and also RStudio version 1.1.456 which is supplied with Anaconda.
I am using Windows 11 with Anaconda 22.9.0

I am facing error while installing R package textshaping

I am getting this error while installing packages.
ERROR: configuration failed for package ‘textshaping’
ERROR: configuration failed for package ‘textshaping’
removing ‘/home/Saniya/R/si-s/renv/staging/1/textshaping’
Error: install of package 'textshaping' failed [error code 1]
What is wrong and what should I do. I am new with R. Please help.
In bash:
sudo apt install libharfbuzz-dev libfribidi-dev
in RStudio
install.packages("textshaping", dependencies = TRUE)

I am trying to install openssl package in R using Ubuntu 18.04 without success

I try to install the Openssl package in R (using RStudio in Ubuntu 18.04), but I get the error "undefined symbol: RSA_pkey_ctx_ctrl":
Error: package or namespace load failed for ‘openssl’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/danilo/R/x86_64-pc-linux-gnu-library/3.4/openssl/libs/openssl.so':
/home/danilo/R/x86_64-pc-linux-gnu-library/3.4/openssl/libs/openssl.so: undefined symbol: RSA_pkey_ctx_ctrl
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/danilo/R/x86_64-pc-linux-gnu-library/3.4/openssl’
Warning in install.packages :
installation of package ‘openssl’ had non-zero exit status.
I have already tried to install through both RStudio and Terminal, but as I am relatively new to Ubuntu, I did not have any success. I have the tar.gz file downloaded, but I don't know what should I do with it.
I actually want to use packages httr and ggmap, but they both require openssl.
Try in terminal:
sudo apt-get install libssl-dev
and after that try to install package openssl in R again.

Installing XLConnect package

I was wanting to install XLConnect package so that i could save my databses created from RSQLite in different formats. But when i do
install.packages("XLConnect")
it seems to give error
checking whether Java run-time works... ./configure: line 3747: /usr/lib/jvm/default-java/bin/java: No such file or directory
no
configure: error: Java interpreter '/usr/lib/jvm/default-java/bin/java' does not work
ERROR: configuration failed for package ‘rJava’
* removing ‘/home/mrshekar/R/x86_64-pc-linux-gnu-library/3.4/rJava’
Warning in install.packages :
installation of package ‘rJava’ had non-zero exit status
ERROR: dependency ‘rJava’ is not available for package ‘XLConnectJars’
* removing ‘/home/mrshekar/R/x86_64-pc-linux-gnu-library/3.4/XLConnectJars’
Warning in install.packages :
installation of package ‘XLConnectJars’ had non-zero exit status
ERROR: dependencies ‘XLConnectJars’, ‘rJava’ are not available for package ‘XLConnect’
* removing ‘/home/mrshekar/R/x86_64-pc-linux-gnu-library/3.4/XLConnect’
Warning in install.packages :
installation of package ‘XLConnect’ had non-zero exit status
Now i read on R: rJava package install failing about the
export JAVA_HOME=/usr/lib/jvm/java-6-sun/jre
export PATH=$PATH:$JAVA_HOME/bin
but still the problem seeems to persist. Also if you look at the solution on Error of java path on loading rJava package
sudo R CMD javareconf
It gives the error
*** JAVA_HOME is not a valid path, ignoring
*** Cannot find any Java interpreter
*** Please make sure 'java' is on your PATH or set JAVA_HOME correspondingly
Also for the install JDK answer
apt-get install r-cran-rjava
I get the permission denied error even if i do it on vm-virtual box it gives me permission denied for the ubuntu 18.04 version i have installed and made myself the admin.
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
What should i do? Please help.

Resources