maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   [Help] Can someone please give me some suggestions for these errors (https://talk.maemo.org/showthread.php?t=72861)

N900Andrew 2011-05-07 22:17

[Help] Can someone please give me some suggestions for these errors
 
It seems that something in Faster Application Manager is stopping any commands in xterminal from working and I cannot install, update or uninstall any apps.

Do you need me to enter any commands into xterminal for more info?.

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled

/home/user #


apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
/home/user # apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
dpkg: parse error, in file `/var/lib/dpkg/status' near line 18543 package `fapman':
newline in field name `okBoLa2tqqPPvpo9wcffPCNjo6O3Rm7Elq7IApe'
E: Sub-process /usr/bin/dpkg returned an error code (2)

/home/user # apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
dpkg: parse error, in file `/var/lib/dpkg/status' near line 18543 package `fapman':
newline in field name `okBoLa2tqqPPvpo9wcffPCNjo6O3Rm7Elq7IApe'
E: Sub-process /usr/bin/dpkg returned an error code (2)

/home/user # dpkg --configure -a
dpkg: parse error, in file `/var/lib/dpkg/status' near line 18543 package `fapman':
newline in field name `okBoLa2tqqPPvpo9wcffPCNjo6O3Rm7Elq7IApe'

/home/user # dpkg -p blessn900
dpkg-query: parse error, in file `/var/lib/dpkg/status' near line 18543 package `fapman':
newline in field name `okBoLa2tqqPPvpo9wcffPCNjo6O3Rm7Elq7IApe'

/home/user # dpkg -p fapman
dpkg-query: parse error, in file `/var/lib/dpkg/status' near line 18543 package `fapman':
newline in field name `okBoLa2tqqPPvpo9wcffPCNjo6O3Rm7Elq7IApe'

/home/user # dpkg -l | awk '{print $2}' grep zen
awk: can't open 'grep': No such file or directory
dpkg-query: parse error, in file `/var/lib/dpkg/status' near line 18543 package `fapman':
newline in field name `okBoLa2tqqPPvpo9wcffPCNjo6O3Rm7Elq7IApe'

handaxe 2011-05-07 22:54

Re: [Help] Can someone please give me some suggestions for these errors
 
Firstly, and unlikely to work, fapman has its own "apt-get" script called "fapt-get". See if it too stumbles at the same point.

I have never encountered this issue but I would:

1) make a backup of /var/lib/dpkg/status.
2) delete /var/lib/dpkg/status and try again to see what happens.
3) failing that, I would edit /var/lib/dpkg/status deleting the offending fapman entry and retry.
4) if that works, I would reinstall fapman, perhaps trying "apt-get install --reinstall fapman" to reinstate the dpkg database entry

You will need to be root to do these things......

misiak 2011-05-08 02:22

Re: [Help] Can someone please give me some suggestions for these errors
 
1 Attachment(s)
Quote:

Originally Posted by handaxe (Post 1001880)
2) delete /var/lib/dpkg/status and try again to see what happens.
3) failing that, I would edit /var/lib/dpkg/status deleting the offending fapman entry and retry

Noooo!:o this file keeps information about which packages are installed etc. And from your output it looks like your phone has problem with fapman package icon. Do you have leafpad or pygtkeditor or other text editor installed? if yes, open this file as root, e.g.:
Code:

root
leafpad /var/lib/dpkg/status

and find fapman entry. It should look like this: (override it with this text if it' different)

EDIT: quote removed, see attachment instead ;)

And there should be empty lines before and after this whole entry.

If error still occurs, check package which is above fapman in this file.

N900Andrew 2011-05-08 08:36

Re: [Help] Can someone please give me some suggestions for these errors
 
Thanks misiak. I copied the entry you attached and replaced mine with it, now I'm not getting an errors and I am now able to uninstall apps through fapman, I havnt checked HAM yet.

eefo 2011-05-08 08:52

Re: [Help] Can someone please give me some suggestions for these errors
 
Quote:

Originally Posted by N900Andrew (Post 1002014)
Thanks misiak. I copied the entry you attached and replaced mine with it, now I'm not getting an errors and I am now able to uninstall apps through fapman, I havnt checked HAM yet.

dont even dare to check HAM it will show same problem again :p
couse i had the same issue few days back , i tried fapt-get and it worked fine.
and yes you can use an app CleanN900 to use autoremove and stuff , just click on the button and it's done .


p.s ignore the third line only if you know about this app :p


All times are GMT. The time now is 18:30.

vBulletin® Version 3.8.8