mintupdate work when ran with sudo but not as normal user

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dYz

mintupdate work when ran with sudo but not as normal user

Post by dYz »

Hi all,

I have a problem runnning mintupdate on a linux mint 17 with cinnamon. It does not start at login, so I tried to run from a terminal, which returned the following error:

Code: Select all

 
No module named gtk
No module named pygtk
mintUpdate(3319): Operation not permitted
mintUpdate: no process found
Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintUpdate/mintUpdate.py", line 55, in <module>
    gettext.install("mintupdate", "/usr/share/linuxmint/locale")
NameError: name 'gettext' is not defined
If I run it with "sudo" prefixed it does start and return the terminal to use. I'm using anaconda python instead of the system default python, if that is important.

Any ideas or suggestions will be appriciated.
cheers,
dYz
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13854
Joined: Fri Feb 21, 2014 8:17 am

Re: mintupdate work when ran with sudo but not as normal use

Post by JeremyB »

dYz wrote:Hi all,

I have a problem runnning mintupdate on a linux mint 17 with cinnamon. It does not start at login, so I tried to run from a terminal, which returned the following error:

Code: Select all

 
No module named gtk
No module named pygtk
mintUpdate(3319): Operation not permitted
mintUpdate: no process found
Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintUpdate/mintUpdate.py", line 55, in <module>
    gettext.install("mintupdate", "/usr/share/linuxmint/locale")
NameError: name 'gettext' is not defined
If I run it with "sudo" prefixed it does start and return the terminal to use. I'm using anaconda python instead of the system default python, if that is important.

Any ideas or suggestions will be appriciated.
cheers,
dYz
It must be the result of using anaconda python as all 4 of my machines run well
Locked

Return to “Other topics”