Can not run 'yum update' [closed] - yum

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I am a new user. When I run yum update, I encounter the issue:
Error: Package: glibc-2.12-1.212.el6_10.3.i686 (updates)
Requires: glibc-common = 2.12-1.212.el6_10.3
Installed: glibc-common-2.17-55.el6.x86_64 (installed)
glibc-common = 2.17-55.el6
Available: glibc-common-2.12-1.80.el6.x86_64 (centos6u3)
glibc-common = 2.12-1.80.el6
Available: glibc-common-2.12-1.212.el6.x86_64 (base)
glibc-common = 2.12-1.212.el6
Available: glibc-common-2.12-1.212.el6_10.3.x86_64 (updates)
glibc-common = 2.12-1.212.el6_10.3
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
glibc-2.12-1.209.el6_9.2.i686 has missing requires of glibc-common = ('0', '2.12', '1.209.el6_9.2')
glibc-2.17-55.el6.x86_64 is a duplicate with glibc-2.12-1.209.el6_9.2.i686

These packages require to be all at the exact same version:
glibc i686 (32 bit version)
glibc x86_64 (64 bit version)
glibc-common (common code)
so in this case it seems like you are trying to install glibc-commong.i686 at version 2.12-1.212.el6_10.3. However you already have a more recent x86_64 version installed (2.17...). So to fix the installation you have two options:
find a repository where you also get a more recent version for glibc-commong.i686
tell yum to downgrade your glibc-commong.x86_64: yum downgrade glibc-common-2.12-1.212.el6_10.3.x86_64

try this
yum --skip-broken
yum clean all

Related

Library not loaded: #rpath/libtbb.dylib in Prophet / Python

I'm on a Mac X1, Monterey.
I've installed prophet and run into this issue when trying to fit a model.
RuntimeError: Error during optimization: console log output:
dyld[90668]: Library not loaded: #rpath/libtbb.dylib
Referenced from: /Users/{username}/opt/anaconda3/lib/python3.9/site-packages/prophet/stan_model/prophet_model.bin
Reason: tried: '/private/var/folders/cd/dfrqgp4s4ll55cwb7rtgccbw0000gq/T/pip-install-rjpuj450/prophet_d7e4cce10e414c89a572fe3605ae9269/build/lib.macosx-11.1-arm64-cpython-39/prophet/stan_model/cmdstan-2.26.1/stan/lib/stan_math/lib/tbb/libtbb.dylib' (no such file), '/private/var/folders/cd/dfrqgp4s4ll55cwb7rtgccbw0000gq/T/pip-install-rjpuj450/prophet_d7e4cce10e414c89a572fe3605ae9269/build/lib.macosx-11.1-arm64-cpython-39/prophet/stan_model/cmdstan-2.26.1/stan/lib/stan_math/lib/tbb/libtbb.dylib' (no such file), '/usr/local/lib/libtbb.dylib' (no such file), '/usr/lib/libtbb.dylib' (no such file)
I know this has to do with the wrong paths being searched. I can find the dylib in
/Users/{user}/opt/anaconda3/lib/python3.9/site-packages/prophet/stan_model/cmdstan-2.26.1/stan/lib/stan_math/lib/tbb/
But, it seems prophet doesn't know to look there. I'm curious how I can update/fix either the rpath variable or find another solution?
I tried to create a symbolic link with sudo ln -s, but don't have permissions on the laptop.
TIA!
I got it to work on Apple Silicon (M1 Max in my case) by installing older versions of both pystan and prophet:
pip install pystan==2.19.1.1
pip install prophet==1.0
The other important piece of the puzzle is that you should use Python 3.8 to get it working.
Installing older versions of the libraries and using Python 3.8 are both talked about in issue #2002 on Github, but there's not really an explanation of the libtbb.dylib error message.

How to slove this issue - Task :react-native-push-notification:compileDebugJavaWithJavac FAILED , import com.google.firebase.iid issue [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
![\node_modules\react-native-push-notification\android\src\main\java\com\dieam\reactnativepushnotification\modules\RNPushNotification.java:40: error: cannot find symbol
import com.google.firebase.iid.InstanceIdResult
There is some issue at 7.2.* version.
Try moving to the latest version or any 7.3.* version.
npm i react-native-push-notification#latest
I faced this issue yesterday. And I fixed it by using the following steps.
First I uninstalled it.
npm uninstall react-native-push-notification
Then I installed it back in. (Maybe you can just update it to the latest version as well. I just didn't know the npm command line for that)
npm install react-native-push-notification
In android/app/build.gradle, add the following code in defaultConfig :
dexOptions {
javaMaxHeapSize "4g"
}
Also add:
implementation 'com.google.firebase:firebase-messaging:21.1.0'
In android/gradle.properties, add the following code:
firebaseMessagingVersion=21.1.0
Delete node_module. (Perhaps, you don't need to do this.)
Finally, run npm install. You might have to run yarn install and rebuild your project again with Android Studio as well.
You probably don't need to follow every step in here. But these are what I did yesterday. I hope this helps.
Follow the steps.
npm i react-native-push-notification#latest
android/build.gradle
buildscript {
ext {
// ...
firebaseMessagingVersion = '21.1.0'
}
}
These steps are worked for me.
Your question is posted to the official repository issue: https://github.com/zo0r/react-native-push-notification/issues/1979
if you are looking for the answer go to the comment:
https://github.com/zo0r/react-native-push-notification/issues/1979#issuecomment-839224339
It worked for me.
try with updating the npm package.
"react-native-push-notification": "^7.3.0"
by cleaning the cache also
cd android && ./gradlew clean
I update these tow files:
package.json :
"react-native-push-notification": "^7.2.2" to "react-native-push-notification": "^7.3.0"
android\app\build.gradle :
implementation 'com.google.firebase:firebase-analytics:17.3.0' to implementation 'com.google.firebase:firebase-analytics:19.0.0'
and its worked!

No signature of method: com.crashlytics.tools.gradle.CrashlyticsPlugin On Mac [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
Below error while gradle sync Failed in Mac.
CONFIGURE FAILED in 3s
ERROR: No signature of method: com.crashlytics.tools.gradle.CrashlyticsPlugin.findObfuscationTransformTask() is applicable for argument types: (java.lang.String) values: [Debug]
Project works fine in Windows
There seems to be a problem with the version "1.28.0" of "io.fabric.tools:gradle".
I corresponded as follows
classpath 'io.fabric.tools:gradle:1.+'
Change to the following code
classpath 'io.fabric.tools:gradle:1.27.1'
I hope the fabric team will respond
Its problem with fabric tools that added in build.gradle app level
To solve this issue
go to build.gradle app level and find the below code
change this
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
to this
dependencies {
classpath 'io.fabric.tools:gradle:1.27.1'
}
try with other versions like 1.28 if above version not working.
avoid using + in version codes and also that stops the auto update.
In my case, the Gradle Build Task was failing with the latest version(1.28.0) of Fabric Gradle Plugin. Downgrading to version 1.27.1 resolved this issue. There has been a Fabric Gradle Plugin release recently on 15th March 2019.
For users facing this issue and have added the Fabric Gradle Plugin as
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
...
}
need to replace with
dependencies {
classpath 'io.fabric.tools:gradle:1.27.1'
...
}

Mac - cannot find Eigen3 [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 years ago.
Improve this question
I am trying to build TheiaSfM.
I build it with this command
cmake -DBUILD_DOCUMENTATION=ON -DEIGEN_INCLUDE_DIR=$EIGEN_INCLUDE_DIR ..
where I set EIGEN_INCLUDE_DIR=/usr/local/Cellar/eigen/3.2.9/include/. This is the path to Eigen in my computer.
But I got this error:
CMake Error at cmake/FindEigen.cmake:77 (message):
Failed to find Eigen - Could not find file:
/usr/local/Cellar/eigen/3.2.9/include/Eigen/src/Core/util/Macros.h
containing version information in Eigen install located at:
/usr/local/Cellar/eigen/3.2.9/include.
Call Stack (most recent call first):
cmake/FindEigen.cmake:123 (eigen_report_not_found)
CMakeLists.txt:108 (find_package)
I guess this is trivial, but I already tried to search but cannot really understand the problem. I am really new to this, so, any help would be really appreciated.
According to your error message, your program cannot find where the dir "Eigen" is. I guess it is in
/usr/local/Cellar/eigen/3.2.9/
Have you looked if there really is a sub-dir "include" in the above path? Official source code does not have this sub-dir.
So now you find that the dir Eigen is in
/usr/local/Cellar/eigen/3.2.9/include/eigen3
As for the version issue, you could go to Eigen's website and download the desired version.
http://eigen.tuxfamily.org/index.php?title=Main_Page

package ‘RMySQL’ is not available (for R version 2.15.3) [duplicate]

This question already has answers here:
How should I deal with "package 'xxx' is not available (for R version x.y.z)" warning?
(18 answers)
Closed 8 years ago.
I have tried installing RMySQL for three versions of R, but I'm running into same warning message, that RMySQL is not available for that version.
Please, help me out.
Thanks.
install.packages("RMySQL",type="source")
Warning in install.packages("RMySQL", type = "source") :
'lib = "C:/Program Files/R/R-2.15.3/library"' is not writable
--- Please select a CRAN mirror for use in this session ---
also installing the dependency ‘DBI’
trying URL 'http://ftp.iitm.ac.in/cran/src/contrib/DBI_0.2-7.tar.gz'
Content type 'application/x-gzip' length 194699 bytes (190 Kb)
opened URL
downloaded 190 Kb
trying URL 'http://ftp.iitm.ac.in/cran/src/contrib/RMySQL_0.9-3.tar.gz'
Content type 'application/x-gzip' length 165363 bytes (161 Kb)
opened URL
downloaded 161 Kb
<some text missing>
* DONE (DBI)
* installing *source* package 'RMySQL' ...
** package 'RMySQL' successfully unpacked and MD5 sums checked
checking for $MYSQL_HOME... C:\Program Files (x86)\MySQL\MySQL Server 5.6
ERROR: compilation failed for package 'RMySQL'
* removing 'C:/Users/Chanchal/Documents/R/win-library/2.15/RMySQL'
1: running command 'C:/PROGRA~1/R/R-215~1.3/bin/i386/R CMD INSTALL -l "C:\Users\Chanchal\Documents/R/win-library/2.15" C:\Users\Chanchal\AppData\Local\Temp\RtmpErKHEX/downloaded_packages/RMySQL_0.9-3.tar.gz' had status 1
2: In install.packages("RMySQL", type = "source") :
installation of package ‘RMySQL’ had non-zero exit status
> install.packages("RMySQL")
Installing package(s) into ‘C:/Users/Chanchal/Documents/R/win-library/2.15’
(as ‘lib’ is unspecified)
package ‘RMySQL’ is available as a source package but not as a binary
Warning message:
package ‘RMySQL’ is not available (for R version 2.15.3)
I have tried to install RMySQL for R version 3.1.0 on Windows platform. It did not work either. I ran into pretty much the same problem as yours. After reading the documentation for RMySQL package and googled around, I realized that installing RMySQL is very difficult on Windows since it does not have a binary file for Windows as stated in your output.
Instead of RMySQL, I installed RODBC package following instructions here: http://passionfordata.blogspot.com/2012/04/how-to-integrate-r-with-mysql-database.html
RODBC also allows you to connect R to MySQL database, with less trouble and much easier to set up. If your purpose is to connect to MySQL and open to using packages not limited to RMySQL, I would recommend RODBC.