Problem with Software in Zorin

What if re-install java?
Could you support with some link guide?

1 Like
1 Like

Option One:

Easy solution
Remove it:

sudo apt remove oracle-java11-installer-local

Option Two

Complex solution: place the proper files in the proper places:

sudo mv jdk-11.0.5_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/

sudo rm /var/lib/dpkg/info/oracle-java11-installer-local.postinst

sudo apt update && sudo apt upgrade

2 Likes

It is blocked any software and blocked commands in terminal. The same problem. Maybe best uninstall. What a hell one things blocked all.

1 Like

Close Synaptic. Close Software Store. Close Terminal.

Then open a new terminal and run:

sudo apt remove oracle-java11-installer-local

Close terminal when done.

Reboot.

Open Software Store and test.

1 Like

C

annot uninstall. Here screenshot.

1 Like

[Solved] Could not get lock /var/lib/dpkg/lock Error in Ubuntu here some webside about this problem what i find now.

1 Like

Have you closed Software Store and Synaptic both?
If you have, then please follow This Excellent Guide to remove the /var/lib/dpkg/lock:

Edit: jinx...

1 Like

You mean when I have opened another software like Store or Synaptic then this blocked my terminal.

1 Like

It Locks APT from removing or installing. Only One Installer or Remover can operate at a time.

2 Likes

From solution two is wrote no file or catalog.
sudo mv jdk-11.0.5_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/

1 Like

You may have downloaded a different package or installed java 11 in a different way. I guessed.
Try Option One.

1 Like

Yeah, I had mentioned that to him in post number 8. But if he's still having trouble after shutting those down, then maybe he should restart his computer.

1 Like

Gotta drive my son in to work if you can carry on the thread.... :smiley:

1 Like

Ok. Have a nice day. Uninstalled and then check what next. I will try will your guide link.

2 Likes

In synaptic, with software updater and terminal closed, did you check the broken packages item on the left near the bottom?

If there is nothing there, removing and reinstalling java 11 will most likely fix your issue. Do this from the terminal with synaptic closed.

I uninstalled java and now no conflicts.

If you must reinstall, try to do it through the terminal or synaptic. Any software that requires it will fail to launch with a dependency error. You can fix broken packages, dependency issues in synaptic. Just be aware if something doesn't launch.

YAY, good for you Bourne, I am so glad that you solved it. Aravisian and I were really trying to help you with this one, and I was really getting worried that this was going to be one of those, can't fix unless reinstall deals.

So glad that you got it fixed and things are happy again. Thats a stress off your back!

For me important don't give up. Gived a chance. One a man sayed. When you start with distribution linux what they are thousand. He told me someday you find one distribution what you will be fall in love => ZORIN.