Upgrade Apache Superset 1.4.1 to the latest (2.0?) - upgrade

how to upgrade Apache Superset 1.4.1 to the latest (2.0),i want to use the version 2.0.how to migrate database,update database etc?

You need to run the following to upgrade
pip install apache-superset --upgrade
However, you may face some dependency problems,as mentioned in this issue. This is about the wrong dependencies being fetched.
To sort it out, use the following (from the issue itself)
pip install Werkzeug==2.0.3
pip install flask==2.0.3
pip install jinja2==3.0.1
Then run the superset database upgrade
superset db upgrade

Related

Grafana Version Upgrade

I installed grafana 8.3.4 enterprise version by mistake, while I wanted to install the OSS version 8.3.4. I tried installing and oss rpm package but it shows the following error :
Cannot install package grafana-8.3.4-1.x86_64. It is obsoleted by installed package grafana-enterprise-8.3.4-1.x86_64
You have to uninstall enterprise version first:
yum remove grafana-enterprise.x86_64
Only after that install a new one:
yum install grafana-8.5.9-1.x86_64.rpm
Dont forget to update
systemctl daemon-reload

Upgrade from networkx 2.4 to networkx 2.2

I would like to upgrade from "networkx 2.4" to "networkx 2.2". How to do this using python's pip command? Thank you
You can force a specific version with the == operator. pip should automatically uninstall the current version you have installed and install the older version:
pip install networkx==2.2

Upgrade ClickHouse On Centos

I am using old version of Clickhouse 19.17.6 revision 54428 and I want to upgrade to the latest stable one.
i need help with to which command to run
sudo yum install -y clickhouse-server-20.4.2.9 clickhouse-client-20.4.2.9 clickhouse-common-static-20.4.2.9

glibc 2.11 error on Marklogic 8.0 installation on CentOS 6.6

When I try to install Marklogic 8.0 (MarkLogic-8.0-2.x86_64.rpm) on CentOS6.6 it fails with following error:
error: Failed dependencies:
libc.so.6(GLIBC_2.11) is needed by MarkLogic-8.0-2.x86_64
I checked installed package of glibc and found that GLIB_2.12 is installed.
I tried erasing GLIBC_2.12, but Cent OS doesn't allow because it has dependencies.
I would appreciate if somebody help me how to install Marklogic 8.0 on CentOS6.6 keeping glibc 2.12 or how to downgrade glib version on CentOs
I haven't tested myself with CentOS 6.6, but am running CentOS 6.5 a lot. Did you try running this before the RPM?
yum -y install glibc.i686 gdb.x86_64 redhat-lsb.x86_64
See also Install Marklogic centos virtualbox vm
HTH!
To add to this: you're seeing this message when you attempt to install because a dependent library is unavailable; in the case of this particular message, if you run this beforehand:
yum install glibc.i686
You should get past that particular issue.

libjansi issue when trying to install Scala on Ubuntu 10.04

when i do
apt-get install scala
The following packages have unmet dependencies. scala: Depends:
libjansi-java but it is not installable E: Broken packages
Though when I do apt-cache show scala I get
Architecture: all Version: 2.7.7.dfsg-4ubuntu1 Depends: scala-library
(= 2.7.7.dfsg-4ubuntu1), openjdk-6-jre | java6-runtime Filename:
pool/universe/s/scala/scala_2.7.7.dfsg-4ubuntu1_all.deb
That seems a very very old Scala included in the default repository.
Follow these instructions to install the Typesafe Stack with all the goodies. This is the official distribution of Scala and related tools.
You could try:
sudo apt-get -f install
without any package names
scala : Depends: libjansi-java but it is not installed
If you recently installed Scala and Java Background Processing is running wait for some time 10-20 mints and use
sudo apt-get update
and after this time interval you can try to install whatever you wanted this dependency issue resolve automatically. its works