PDA

View Full Version : gnokii problem



chris.olive
June 1st, 2010, 03:45 PM
Dear All
I have been trying to get my Samsung mobile [Samsung B3310] connected to my laptop by trying out any and all phone sync programs, with no success.
One of which was gnokii, now I cannot remove all of it, I have tried synaptic, terminal and Ubuntu software centre.
I have removed it, replaced it, removed it and done apt-get remove several times with no effect!
The error I get is this
"dpkg:unrecoverable fatal error, aborting:
syntax error: unknown group 'gnokii' in stateoverride file
E: sub process /usr/bin/dpkg returned an error code [2]
A package tried to install. trying to recover:"
Any ideas will be gratefully received.

keraman
June 3rd, 2010, 08:43 AM
Hey,

that's a known bug. I have the same problem. Hopefully it is corrected in the next Release of Ubuntu. I think until now the only way to get rid of that bug is do a fresh install of the OS. If there's another way round, I am open to alternative ways :wink:

keraman

EDIT:
I googled a bit and found a solution at http://osdir.com/ml/debian-user-german-debian/2009-12/msg00305.html:
gnokii does not create a group. So the Installation wants to change some settings in group gnokii but there isnt any group "gnokii". Just create a group "gnokii" and for me the workaround fixed it :D

chris.olive
June 3rd, 2010, 01:26 PM
Thanks keraman, that did not work, I too had a look round the web with no luck, however I intend getting a new laptop within the next month so will do a fresh install on that and forget about gnokki

Vege 4wd
June 15th, 2010, 12:54 PM
Hey, I have the same problem but there is no way I want to do a fresh install.
Gnokii seems to have broken blue tooth. I tried to install kbluetooth and got error with gnokii.

anyway I am fairly new to Linux and do not know how to create the groups. Actually I dont really know what you mean.

I would appreciate it if you could shed some light.

msambenny
June 19th, 2010, 01:16 PM
guys just do this
$ cd /var/lib/dpkg
$ sudo cp statoverride-old statoverride
$ sudo groupdel gnokii

Then delete all gnokii files in the system.

$ sudo dpkg --configure -a

Now synaptic should work......reply to this thread if it still doesn't work

crienoloog
June 22nd, 2010, 12:41 PM
guys just do this
$ cd /var/lib/dpkg
$ sudo cp statoverride-old statoverride
$ sudo groupdel gnokii

Then delete all gnokii files in the system.

$ sudo dpkg --configure -a

Now synaptic should work......reply to this thread if it still doesn't work

Sorry give following error:
groupdel: group 'gnokii' does not exist

msambenny
June 22nd, 2010, 01:06 PM
if u don't have that group u may ignore that line....tell me your problem then i can be more precise

crienoloog
June 22nd, 2010, 05:22 PM
I had a problem updating my system - it gave me something like a gnokii error, but now that I did all your lines apparently this error has gone away... It looks like the last line
$ sudo dpkg --configure -a
cleaned up the foul directory...
So problem solved, however don't know how... but I can update my system again...

Thanks for your help.

Peppuzzo
June 27th, 2010, 11:16 AM
Guys,

this is affecting me now as well. However the suggested code did not solve the problem. What to do now?
When I try to update, i get this error message


Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
syntax error: unknown group 'gnokii' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:

msambenny
June 27th, 2010, 12:56 PM
Can you tell me your full system specifications including the OS version, what works for one might not work for the other so lets dig in to the problem and find out :p

Peppuzzo
June 27th, 2010, 02:51 PM
Code did not work for me either. This is the terminal readout:


peppuzzo@PeppinoPC:/var/lib/dpkg$ cd /var/lib/dpkg
peppuzzo@PeppinoPC:/var/lib/dpkg$ sudo cp statoverride-old statoverride
[sudo] password for peppuzzo:
peppuzzo@PeppinoPC:/var/lib/dpkg$ sudo groupdel gnokii
groupdel: group 'gnokii' does not exist
peppuzzo@PeppinoPC:/var/lib/dpkg$ sudo dpkg --configure -a
peppuzzo@PeppinoPC:/var/lib/dpkg$


My system is:


You are using Ubuntu 10.04 LTS
- the Lucid Lynx - released in April 2010 and supported until April 2013.

Let me know if you need more info.

Thanks for the help.

Peppuzzo
June 27th, 2010, 03:06 PM
I think I solved it. I had a look at the statoverride vile in /var/lib/dpkg

There was a line referring to gnokii:


root gnokii 4750 /usr/sbin/mgnokiidev

I removed the line, and synaptic is running ok now. I hope I did not screw up the system though.....

Vege 4wd
June 27th, 2010, 03:16 PM
Had the same problem and that worked for me. Only thing is it then came up with a empty line error. Just had to put the cursor under the last line and hold down delete.

nightshade209
July 5th, 2010, 02:59 PM
I think I solved it. I had a look at the statoverride vile in /var/lib/dpkg

There was a line referring to gnokii:


root gnokii 4750 /usr/sbin/mgnokiidev

I removed the line, and synaptic is running ok now. I hope I did not screw up the system though.....

I had the same problem and this solved it for me. Thanks!

lord_alan
July 10th, 2010, 11:26 AM
I just created the gnokii group and it removed the error for me.


$ sudo groupadd gnokii

Al

smardi
July 19th, 2010, 07:07 PM
guys just do this
$ cd /var/lib/dpkg
$ sudo cp statoverride-old statoverride
$ sudo groupdel gnokii

Then delete all gnokii files in the system.

$ sudo dpkg --configure -a

Now synaptic should work......reply to this thread if it still doesn't work


I was facing the same problem, this solution worked, now there is no issue. Thanks

xtian88
July 25th, 2010, 01:12 PM
I think I solved it. I had a look at the statoverride vile in /var/lib/dpkg

There was a line referring to gnokii:


root gnokii 4750 /usr/sbin/mgnokiidev

I removed the line, and synaptic is running ok now. I hope I did not screw up the system though.....

Thanks for this. This worked. I almost thought I'll have to reinstall. Phew!

Fender89
August 10th, 2010, 02:57 AM
I think I solved it. I had a look at the statoverride vile in /var/lib/dpkg

There was a line referring to gnokii:


root gnokii 4750 /usr/sbin/mgnokiidev

I removed the line, and synaptic is running ok now. I hope I did not screw up the system though.....

I had the exact same problem and this solved it for me. Thank you so much!