maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Brainstorm (https://talk.maemo.org/forumdisplay.php?f=47)
-   -   error in application installation & uninstallation (https://talk.maemo.org/showthread.php?t=80744)

zookmulla 2011-12-09 08:33

error in application installation & uninstallation
 
I can't upgrade or remove packages due to this error. Any suggestions would be greatly appreciated, here is the info from x-terminal:

Nokia-N900:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
kernel-bfs kernel-bfs-bootimg kernel-bfs-flasher
kernel-bfs-modules
Recommended packages:
multiboot usbip mtd-utils kexec-tools
The following packages will be REMOVED:
immvibe
The following NEW packages will be installed:
kernel-bfs
The following packages will be upgraded:
kernel-bfs-bootimg kernel-bfs-flasher kernel-bfs-modules
3 upgraded, 1 newly installed, 1 to remove and 51 not upgraded.
2 not fully installed or removed.
Need to get 0B/7349kB of archives.
After this operation, 2044kB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: parse error, in file `/var/lib/dpkg/available' near line 27321 package `marble':
newline in field name `$4QracvAE11NBrVaESitLl4DSV7xH6V/L2Odz5l9L1hqTFOy6DjzqQUPun9h1'
E: Sub-process /usr/bin/dpkg returned an error code (2)
Nokia-N900:~#

pusak gaoq 2011-12-09 10:38

Re: error in application installation & uninstallation
 
here is your main problem.....

Code:

1 to remove and 51 not upgraded.
2 not fully installed or removed

run these command.....

Code:

apt-get -f install
to fix 2 not fully installed or removed.....

Code:

apt-get upgrade
to upgrade 51 not upgraded....

Code:

apt-get -f install
apt-get autoremove
apt-get autoclean

to fix remaining problem & to remove leftover from your device....

zookmulla 2011-12-09 12:39

Re: error in application installation & uninstallation
 
Quote:

Originally Posted by pusak gaoq (Post 1135364)
here is your main problem.....

Code:

1 to remove and 51 not upgraded.
2 not fully installed or removed

run these command.....

Code:

apt-get -f install
to fix 2 not fully installed or removed.....

Code:

apt-get upgrade
to upgrade 51 not upgraded....

Code:

apt-get -f install
apt-get autoremove
apt-get autoclean

to fix remaining problem & to remove leftover from your device....

i am facing the same problem after applying these commands....

pusak gaoq 2011-12-09 12:46

Re: error in application installation & uninstallation
 
Quote:

Originally Posted by zookmulla (Post 1135411)
i am facing the same problem after applying these commands....

ok look at this line....

Code:

dpkg: parse error, in file `/var/lib/dpkg/available' near line 27321 package `marble':
did you install marble on your device?? if you do then remove it then run all command again...

zookmulla 2011-12-09 12:49

Re: error in application installation & uninstallation
 
again same problm.......plz solve!!!

Nokia-N900:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
kernel-bfs kernel-bfs-bootimg kernel-bfs-flasher
kernel-bfs-modules
Recommended packages:
multiboot usbip mtd-utils kexec-tools
The following packages will be REMOVED:
immvibe
The following NEW packages will be installed:
kernel-bfs
The following packages will be upgraded:
kernel-bfs-bootimg kernel-bfs-flasher kernel-bfs-modules
3 upgraded, 1 newly installed, 1 to remove and 51 not upgraded.
2 not fully installed or removed.
Need to get 0B/7349kB of archives.
After this operation, 2044kB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: parse error, in file `/var/lib/dpkg/available' near line 27321 package `marble':
newline in field name `$4QracvAE11NBrVaESitLl4DSV7xH6V/L2Odz5l9L1hqTFOy6DjzqQUPun9h1'
E: Sub-process /usr/bin/dpkg returned an error code (2)
Nokia-N900:~#

zookmulla 2011-12-09 12:57

Re: error in application installation & uninstallation
 
Quote:

Originally Posted by pusak gaoq (Post 1135416)
ok look at this line....

Code:

dpkg: parse error, in file `/var/lib/dpkg/available' near line 27321 package `marble':
did you install marble on your device?? if you do then remove it then run all command again...

no, i hvn't install marble...
how to remove it?

ravent-n900 2011-12-09 13:34

Re: error in application installation & uninstallation
 
try application manager to upgrade

knobby 2011-12-09 13:40

Re: error in application installation & uninstallation
 
try this and post the results..
Code:

sudo gainroot
dpkg --configure -a --force-all


zookmulla 2011-12-09 15:25

Re: error in application installation & uninstallation
 
Quote:

Originally Posted by knobby (Post 1135439)
try this and post the results..
Code:

sudo gainroot
dpkg --configure -a --force-all


~ $ sudo gainroot
Root shell enabled


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.

/home/user # dpkg --configure -a --force-all
dpkg: parse error, in file `/var/lib/dpkg/available' near line 27321 package `marble':
newline in field name `$4QracvAE11NBrVaESitLl4DSV7xH6V/L2Odz5l9L1hqTFOy6DjzqQUPun9h1'
/home/user #

knobby 2011-12-09 15:46

Re: error in application installation & uninstallation
 
Code:

dpkg --clear-avail
apt-get update



All times are GMT. The time now is 16:38.

vBulletin® Version 3.8.8