kc1di wrote: ⤴Tue Jan 22, 2019 8:26 am
Hello imail7 and Welcome to Linux Mint Forums,
Best thing to do when a program will not launch in the menu is to try launching it from the terminal and see if it spits out any error messages.
For instance if your trying to launch software manager go to the terminal and type
and see if it launches from there. If it does then something has gone wrong in the menu. If it will not it should give you an error which may reveal where to look.
Good luck.
Thank you so much for answering,
I've tried the following command in the terminal,
and I got these reactions
Code: Select all
alireza@alireza-MIPC ~ $ mintinstall
Detected system architecture: 'x86_64' (using 'x86_64')
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 2034, in <module>
app = Application()
File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 59, in wrapper
res = func(*arg)
File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 589, in __init__
self.load_cache()
File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 59, in wrapper
res = func(*arg)
File "/usr/lib/linuxmint/mintinstall/mintinstall.py", line 550, in load_cache
self.cache = apt.Cache()
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 114, in __init__
self.open(progress)
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 165, in open
self._cache = apt_pkg.Cache(progress)
SystemError: E:Opening /etc/apt/sources.list.d/openjdk-9-jdk.list - ifstream::ifstream (13: Permission denied), E:The list of sources could not be read.
I should tell it, that I just tried to run Skaiacraft-Minecraft launcher, to do this it needs openjdk-8-jdk or openjdk-9-jdk packages and I installed it through the following command:
It was installed as well but I couldn't launch Skaiacraft and It created an error log file where Skaiacraft is.
So I used this command
and it was removed as well.
(It's still where I want to launch with Right-click, Open with tab, and OpenJDK Java 9 Runtime) !!!!!
For this error, Should I install openjdk-9-jdk again or what else ?
I've already installed this package again, but I think There are some errors that there were not before it !
Code: Select all
alireza@alireza-MIPC ~ $ sudo apt install openjdk-9-jdk
[sudo] password for alireza:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
openjdk-9-jdk-headless
Suggested packages:
openjdk-9-demo openjdk-9-source visualvm
Recommended packages:
libxt-dev
The following NEW packages will be installed:
openjdk-9-jdk openjdk-9-jdk-headless
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/345 kB of archives.
After this operation, 831 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package openjdk-9-jdk-headless:amd64.
(Reading database ... 205397 files and directories currently installed.)
Preparing to unpack .../openjdk-9-jdk-headless_9~b114-0ubuntu1_amd64.deb ...
Unpacking openjdk-9-jdk-headless:amd64 (9~b114-0ubuntu1) ...
Preparing to unpack .../openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb ...
Unpacking openjdk-9-jdk:amd64 (9~b114-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h', which is also in package openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1
Errors were encountered while processing:
/var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've noticed its size was about 180 MG, but it isn't now
what's happening ?!