maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   application manager error. dpkg reported error while processing package. (https://talk.maemo.org/showthread.php?t=72903)

yasirrfc 2011-05-09 13:23

application manager error. dpkg reported error while processing package.
 
hey when ever i try to install something through faster application manager it gives me an error dpkg reported error while processing package see log for details and heres the log:
/home/user # apt-get clean
/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 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up account-plugin-salut (0.10) ...
/var/lib/dpkg/info/account-plugin-salut.postinst: line 6: /etc/init.d/avahi-daemon: not found
dpkg: error processing account-plugin-salut (--configure):
subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of telepathy-extras:
telepathy-extras depends on account-plugin-salut; however:
Package account-plugin-salut is not configured yet.
dpkg: error processing telepathy-extras (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
account-plugin-salut
telepathy-extras
E: Sub-process /usr/bin/dpkg returned an error code (1)

JohnLF 2011-05-09 13:24

Re: application manager error. dpkg reported error while processing package.
 
I get it too. It is to do with extra conversations protocols; I just ignore it as other packages install fine.

yasirrfc 2011-05-09 13:48

Re: application manager error. dpkg reported error while processing package.
 
but i get the error all the time. with installing all applications. not just the protocols for conversations. even if i install a new theme or game. please help

misiak 2011-05-09 14:04

Re: application manager error. dpkg reported error while processing package.
 
It looks that the file /etc/init.d/avahi-daemon is somehow missing in the package... I uploaded mine (from package 0.8 from extras, seems only version 0.10 in extras-devel is broken) to : http://www.miskiewicz.org/files/avahi-daemon

If you still don't know what to do, these are the instructions (you may need to type "apt-get install wget" as root before if you don't have wget installed):
Code:

root
cd /etc/init.d
wget http://www.miskiewicz.org/files/avahi-daemon
chmod 755 avahi-daemon

Close terminal then and check if problem still occurs.

michaaa62 2011-05-09 16:02

Re: application manager error. dpkg reported error while processing package.
 
Edit /var/lib/dpkg/info/account-plugin-salut.postinst
Comment out the offending line with a #
Save the file, then
Code:

dpkg --configure -a

yasirrfc 2011-05-09 16:15

Re: application manager error. dpkg reported error while processing package.
 
Quote:

Originally Posted by michaaa62 (Post 1002852)
Edit /var/lib/dpkg/info/account-plugin-salut.postinst
Comment out the offending line with a #
Save the file, then
Code:

dpkg --configure -a

can u please explain it to me? i dont think i understand. tell me what i should do.
thanks

misiak 2011-05-09 16:24

Re: application manager error. dpkg reported error while processing package.
 
Quote:

Originally Posted by yasirrfc (Post 1002860)
can u please explain it to me? i dont think i understand. tell me what i should do.
thanks

Did you try to use my solution first? He suggested you to type:
Code:

root
leafpad /var/lib/dpkg/info/account-plugin-salut.postinst

and add at the beginning of line six (it is something like "/etc/init.d/avahi-daemon start") "#" (so it will look like "#/etc/init.d/avahi-daemon start"). If you don't have leafpad installed and cannot install any apps, it's totally not good, because you may need to use vi which is hard to use if you have never used it before...

yasirrfc 2011-05-09 16:28

Re: application manager error. dpkg reported error while processing package.
 
ok my phone is almost charged up. i will use your method first. then his. im gonna tell if it works.
thanks

yasirrfc 2011-05-09 16:52

Re: application manager error. dpkg reported error while processing package.
 
Quote:

Originally Posted by misiak (Post 1002864)
Did you try to use my solution first? He suggested you to type:
Code:

root
leafpad /var/lib/dpkg/info/account-plugin-salut.postinst

and add at the beginning of line six (it is something like "/etc/init.d/avahi-daemon start") "#" (so it will look like "#/etc/init.d/avahi-daemon start"). If you don't have leafpad installed and cannot install any apps, it's totally not good, because you may need to use vi which is hard to use if you have never used it before...

hey i tried your method. i have wget. i wrote your commands and it said not found. now what should i do please help

yasirrfc 2011-05-09 16:55

Re: application manager error. dpkg reported error while processing package.
 
it said /bin/sh: wget://www.miskiewicz.org/files/avahi-demon: not found


All times are GMT. The time now is 06:33.

vBulletin® Version 3.8.8