LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2018, 11:25 AM   #1
vysero
Member
 
Registered: May 2018
Posts: 137

Rep: Reputation: Disabled
Problems with the 'Ubuntu Software'


Why can't I use any of the programs I install through 'Ubuntu Software'? For instance, I recently tried installing Notepad++ and it installed. So I clicked on it and then clicked launch and it attempts to launch but never succeeds. I click launch and the icon appears, blinks for a few moments, then goes away. This happens to every program I install through the 'Ubuntu Software' app.
 
Old 07-25-2018, 11:50 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by vysero View Post
Why can't I use any of the programs I install through 'Ubuntu Software'? For instance, I recently tried installing Notepad++ and it installed. So I clicked on it and then clicked launch and it attempts to launch but never succeeds. I click launch and the icon appears, blinks for a few moments, then goes away. This happens to every program I install through the 'Ubuntu Software' app.
Try opening it through a terminal and see if you get any error messages. If you do post them using CODE tags.
 
Old 07-25-2018, 12:38 PM   #3
vysero
Member
 
Registered: May 2018
Posts: 137

Original Poster
Rep: Reputation: Disabled
Let me give you an example with two programs: eclipse and a random program called discographer. Neither work from a launch so I tried launching them from the command prompt:

Code:
rob@server038:~$ eclipse
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
rob@server038:~$ discographer
cannot create user data directory: /home/rob/snap/discographer/1: Permission denied
rob@server038:~$ sudo discographer
[sudo] password for rob: 
mkdir: cannot create directory '/run/user/0': Permission denied
No protocol specified
rob@bserver038:~$
Also, this doesn't happen for the discographer but when I run 'eclipse' I get the following error message pop-up:

Code:
An error has occurred. See the log file
/home/server.com/rob/.eclipse/155965261/configuration/1532539685664.log.

Last edited by vysero; 07-25-2018 at 12:44 PM.
 
Old 07-25-2018, 12:54 PM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Unless you post the log file for eclipse, it's hard to say what the "error" is.

It looks like the user account you're trying to run discographer under does not have write permission.

But when you try running it with root privileges, it still gives permission errors. You did enter the correct password for that user (rob), I take it?

I'm not following what you mean by "this doesn't happen for the discographer..." ?

It seems to me (at least for discographer) there's some strange permission setup/wrong permissions.

Has this always happened with your system?
 
Old 07-25-2018, 02:13 PM   #5
vysero
Member
 
Registered: May 2018
Posts: 137

Original Poster
Rep: Reputation: Disabled
Yes, I have never been able to download from 'Ubuntu Software'. Instead I have to do apt-get or install from source. What I meant by: "this doesn't happen for the discographer" is that when I run: eclipse, from the terminal an actual message box pops up with an error:

Code:
An error has occurred. See the log file
/home/rob/.eclipse/155965261/configuration/1532545929099.log.
Whereas, when I run discographer the only error was the one shown on the previous post.

Here is a copy of the log file:

Code:
!SESSION 2018-07-25 13:12:09.049 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2018-07-25 13:12:09.235
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

Last edited by vysero; 07-25-2018 at 02:16 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with Ubuntu 16.04.1 software center Tukatz Linux - Software 7 09-19-2016 10:02 PM
Ubuntu 10.04LTS software raid1 problems rytec Linux - Server 2 12-17-2010 03:25 PM
Problems with Ubuntu software centre Eddy Stone Linux - Newbie 2 11-12-2009 07:10 AM
problems to insall tar.zp files of lammps software in ubuntu naveen.cardoza Linux - Newbie 1 09-13-2009 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration