How to recover loaded Kate Plugins - ubuntu-16.04

Dear stackoverflow users:
So far I was working well with kate when I installed it in ubuntu 16.04 as sudo apt-get install kate.
However, some days ago. I got the following error when launching kate:
org.kde.kwindowsystem: Could not find any platform plugin
I have tried removing, the app and reinstalling it, deleting the ./kde folder and the same remains.
Do you know how to fix it back to the original configuration?
Thank you

I suggest you update your 16.04 installation to a more recent one. Many things improved, and this issue will also be resolved. I don't think this is Kate's fault here.

Related

How I can open pgadmin4 in fedora 36?

Good evening people, I am trying to install pgadmin4 on fedora 36, I followed all the steps in the documentation and pgadmin4 and its dependencies were installed correctly but I do not know how to start it, or open it and it does not let me configure it on the web because I do not create the directory described in the final step to configure the web version.
I had the same problem. I solved it installing pgadmin4 from linux-pachages
https://linux-packages.com/fedora-36/package/pgadmin4-qtx86-64
I followed the same instructions but mistakenly changing "yum" to "dnf" out of force of habit. I found I got an install out of it which seemed OK at a glance, but it was just documentation and not an executable, and there was no shortcut added to run pgAdmin. Perhaps you might have inadvertently done something similar? After uninstalling, I tried again using "yum" exactly as documented and the latest executable installed without any issue. So the steps to install that would work for me were as follows. (Desktop version in my case.)
sudo rpm -e pgadmin4-fedora-repo
sudo rpm -i https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-fedora-repo-2-1.noarch.rpm
sudo yum install pgadmin4-desktop
The QT workaround also mentioned as an answer worked for me, but I wanted to avoid that since it is an earlier release (6.9) than the current 6.11, isn't officially supported and fires a warning about that every time on start up saying some functionality may be missing, which is not good for clients to see potentially in my case.
Same problem - couldn't open it after installing. You have to install pgadmin4-desktop not pgadmin4.

PostGIS Installation "could not open extension control file"

I've been scouring posts trying to figure out how to resolve this issue - could not open extension control file "/usr/local/share/postgresql/extension/postgis.control": No such file or directory
I'm installing PostgreSQL and PostGIS with apt-get install postgresql-12 postgis postgresql-12-postgis-3 into a Docker container running python:latest. I'd initially been running Alpine however it seemed there were a number of issues getting PostGIS installed successfully on Alpine distributions.
I've located the file with find /usr -name postgis.control under /usr/share/postgresql/12/extension/postgis.control. I've attempted to move this to the directory PostGIS expects, but I'm still seeing the same error.
It's been driving me totally mad!
Any help is appreciated, and happy to answer any questions that will help me find an answer.
I was never able to resolve this issue, so I ended up switching to the official postGIS docker image which worked flawlessly. Would recommend it to anyone else in a similar situation.
I had the same issue, but installing PostGIS on the ubuntu machine worked for me.
apt-get install postgis*
After the installation above, I was able to create the extension as expected.
CREATE EXTENSION postgis

Cannot use Swift on Ubuntu 18.04

After conscientiously following the install instructions on Linux from swift.org, I encounter an issue where it is not possible to compile anything on a Ubuntu 18.04 machine. The REPL seems to work but during compilation (when calling swift build) the following error appears:
/usr/bin/ld: cannot find -lstdc++
There are more details in the full bug report [SR-9093]. I don't know at all what to do to solve this issue, there are similar problems already mentioned in other bug reports, for instance on this really old one [SR-35].
What should I do?
Thank you
I am assuming that you had already installed the libstdc++ successfully and you have set the permissions properly. But I really doubt that it was installed correctly but it was installed with corruption of some sort. The corruption occurred because you didn't install libstdc++ via a package manager. Result was some form of weirdness in the package manager database which effected the overall functioning system. Exactly why adding something to a folder should change anything at all. I don't know why this happens, unless the folder is hot i.e symbolically linked to a program which doesn't have any tolerance for hacks like simply copying a file into the folder. So for now try to install the libstdc++ again. Below is the link to the file to again download the correct program and this is compatible with amd64.
http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.10_amd64.deb
And below are some link to help
https://ubuntuforums.org/showthread.php?t=1425470
https://ubuntuforums.org/showthread.php?t=808045
https://ubuntuforums.org/showthread.php?t=808045
https://packages.ubuntu.com/search?keywords=libstdc%2B%2B
https://packages.ubuntu.com/xenial/amd64/libstdc++6
Install libstdc++
sudo apt install libstdc++6
It seems possible that the apt install did not run the ldconfig program, which should be run to add the library to the list of those which ld.so knows about.
It looks like you can do it manually:
sudo ldconfig
IMPORTANT CAVEAT: I don't have Ubuntu and haven't been able to test this. And it's a sudo command. Run at your own risk, YMMV, etc.
If this does not work, it's possible that a file called /etc/ld.so.conf is not set up to search the directory where libstdc++ ended up. I wouldn't dare try to describe how to fix that.
sudo apt install -f
The command above should install any missing dependencies.

How to set eclipse plugins installation dir

I use Keppler 4.3.2 on Linux.
I just installed Android ADT. Problem is, the plugins is installed on my home dir (~/plugins and ~/features). I want it to be installed on ~/.eclipse32/plugins and ~/.eclipse32/features respectively.
I've read the FAQ and help. Cannot find what i am looking for.
EDIT: Problem solved.
When you perform your installations, just make sure you are logged in as root.
I stumbled over this myself awhile back, it was quite frustrating!

Netbeans -- no error message but can't create a project

This error is driving me crazy for the past couple of hours. I'm using Ubuntu 12.04 LTS (clean install). What I did afterwards:
update everything
install JDK (using synaptics)
install netbeans (using synaptics, this is version 7.0.1)
I can start NetBeans just fine but I can't create any project. If I choose "New Project" it keeps saying "Please wait..." under "Categories".
I also tried installing versions of netbeans manually. Starting them as root ... nothing helps! :-(
Had the same problem and came across this answer with nice one line command to fix it:
sudo apt-get install openjdk-6-jre=6b24-1.11.1-4ubuntu2 openjdk-6-jre-headless=6b24-1.11.1-4ubuntu2 icedtea-6-jre-cacao=6b24-1.11.1-4ubuntu2
https://askubuntu.com/questions/326556/i-cant-start-a-new-project-on-netbeans
Okay, this is how I solved it:
Install Oracle's Java version: http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux
Start Netbeans
The error only occurs if using the openjdk ...
To me the best option was, fully remove openjdk-6-jdk 6b27 and install:
sudo apt-get install openjdk-6-jdk=6b24-1.11.1-4ubuntu2 openjdk-6-jre=6b24-1.11.1-4ubuntu2 openjdk-6-jre-headless=6b24-1.11.1-4ubuntu2 icedtea-6-jre-cacao=6b24-1.11.1-4ubuntu2 icedtea-6-jre-jamvm=6b24-1.11.1-4ubuntu2
So the installed packages are the same as when no specific version is selected.