Page 1 of 1

Starting with sudo causes segmentation fault

Posted: Sun Dec 05, 2010 7:17 am
by atze
Hi,

I would like to run mintinstall with sudo, so i only have to enter the password once. Synaptic works fine that way but mintinstall crashes...

Code: Select all

$ sudo mintinstall 
/usr/lib/linuxmint/mintInstall/mintinstall.py:240: SyntaxWarning: import * only allowed at module level
  def get_status_description(self, transaction):
/usr/lib/linuxmint/mintInstall/mintinstall.py:248: SyntaxWarning: import * only allowed at module level
  def get_role_description(self, transaction):
add_categories took 1.675 ms
build_matched_packages took 0.230 ms
add_packages took 2123.184 ms
add_reviews took 0.047 ms
__init__ took 2264.985 ms
Segmentation fault
Is this a known problem?

mintInstall 7.2.7
Mint Debian

Re: Starting with sudo causes segmentation fault

Posted: Sun Dec 05, 2010 8:21 am
by remoulder
Mintinstall is not designed to be run this way. It is a gui application (and so should in any case be run with gksu) that utilizes the apt system in the background and therefore requires authentication when installing/removing applications similar to is you had used sudo apt-install at the command line.

Re: Starting with sudo causes segmentation fault

Posted: Sun Dec 05, 2010 10:05 am
by atze
Same problem with gksu, gksudo and su-to-root

Re: Starting with sudo causes segmentation fault

Posted: Sun Dec 05, 2010 6:04 pm
by remoulder
Re-read my post.

Re: Starting with sudo causes segmentation fault

Posted: Mon Dec 06, 2010 2:15 am
by atze
It is a gui application (and so should in any case be run with gksu)
It seems i translated that wrong (I'm not a native speaker). I thought it means "Run it with gksu."