Page 1 of 1

sudo not working after wine install and uninstall

Posted: Wed Jan 16, 2013 6:50 am
by spmintlin
Hi

I messed up my recent installation of mint 14, after trying to install wine/msoffice. during wine installation some programs were removed, I forgot to record those, but surely one or more of the following

alien
debhelper
gettext
intltool-debian
lsb-core
po-debconf
mate-common
gtk-doc-tools
gnome-common
intltool

After a frustrating experience with wine/msoffice, I decided to uninstall wine and msoffice. Now when I type sudo for any thing say "sudo apt-get install update", I get the following

oo-oo@oooo ~ $ sudo apt-get install update
[sudo] password for oo-oo:
This process is currently running setuid or setgid.
GTK+ does not allow this therefore Qt cannot use the GTK+ integration.
Try launching your app using 'gksudo', 'kdesudo' or a similar tool.
See http://www.gtk.org/setuid.html for more information.

I would very much appreciate any suggestions to overcome this. Alternatively, is there a way to restore Linux Mint to its default installation.

cheers

Re: sudo not working after wine install and uninstall

Posted: Wed Jan 16, 2013 7:20 am
by xenopeek
That sounds like time to reinstall to me :( You can check (if the command still works) which packages were removed in the past:

Code: Select all

grep " remove " /var/log/dpkg.log
You'll find those packages probably still in /var/cache/apt/archives/. Then reboot and during boot hold down the left shift key to get the GRUB boot menu to show. Pick to run recovery mode, and there select to run a root console. After logging in with root's password (=the same as the password you set for the user created during installation of Linux Mint) you may be able to install those packages anew. You won't need sudo, but from the packages missing I'm doubting if even dpkg will work. To install a package <somename.deb> do:

Code: Select all

cd /var/cache/apt/archives/
dpkg -i somename.deb
If it complains about reda only filesystem, first do:

Code: Select all

mount -o remount,rw /
In short, this sounds like a lot of work and you may not get back to a fully stable install...

Re: sudo not working after wine install and uninstall

Posted: Wed Jan 16, 2013 7:31 am
by spmintlin
hi xenopeek

Thanks for the rapid response, I will give it a try and get back to you.

reinstallation!...not again, But will have to if doesnt work

cheers

Re: sudo not working after wine install and uninstall

Posted: Wed Jan 16, 2013 7:57 am
by xenopeek
Heads up; I had a mistake in the first command...

Solved Re: sudo not working after wine install and uninstall

Posted: Thu Jan 17, 2013 12:42 am
by spmintlin
Hi

Thanks for the response. I actually solved the problem. The issue was not with the wine/office install uninstall. The actual problem was with the fingerprint GUI. Apparently the finger print scan had something to do with overiding .root permission etc. I uninstalled fingerprint GUI and now it works fine.

Hope this will be useful for other as well.

cheers