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)

JohnLF 2011-05-09 17:54

Re: application manager error. dpkg reported error while processing package.
 
yasirrfc, for you my friend, just do what I do and ignore the error. I get the error on every package I try to install, but you know what? The packages install anyway, the errors are completely safe to ignore.

misiak 2011-05-09 17:54

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

Originally Posted by yasirrfc (Post 1002913)
i opened xterm.
went root. then wrote touch /etc/init.d/avahi-daemon.
it said no such file or directory

Man, you're doing something horribly wrong... if it says so, try typing
Code:

sudo touch /etc/init.d/avahi-daemon
sudo chmod 755 /etc/init.d/avahi-daemon

Instead. If it says 'no such file or directory, either you made a typo (check it) or your N900 is much more messed up than I think and you need someone else's help.

yasirrfc 2011-05-09 17:55

Re: application manager error. dpkg reported error while processing package.
 
what should i do

yasirrfc 2011-05-09 17:58

Re: application manager error. dpkg reported error while processing package.
 
still same. i checked letter to letter for mistakes but its perfect. it still says no file or directory. what was the other guy saying? can u tell m?e his solution?

yasirrfc 2011-05-09 17:59

Re: application manager error. dpkg reported error while processing package.
 
oh n btw i dont write the 2nd line. it says no such file or directory after the first line

yasirrfc 2011-05-09 18:04

Re: application manager error. dpkg reported error while processing package.
 
please help anyone

michaaa62 2011-05-09 18:17

Re: application manager error. dpkg reported error while processing package.
 
You need rootsh from extras repository installed for this to work
Code:

sudo gainroot
vi /var/lib/dpkg/info/account-plugin-salut.postinst

Inside the vi editor go down to line 6, the infamous /etc/init.d/avahi-daemon line.
Only type whats inside the brackets <>, note that : starts a command inside vi.
Type <i> for insert mode, type <#> to comment out the line, type <Esc> to leave insertion mode, type <:w> to write or save the file, type <:q> to quit the editor.
Do not tell me that vi sucks, i already know!
Then
Code:

dpkg --configure -a

JohnLF 2011-05-09 18:25

Re: application manager error. dpkg reported error while processing package.
 
...I have followed the instructions given by others in this thread to fix my problem, so I know it works. Please read very carefully, I shall type this only once...

1. Ensure you have an active internet connection.
2. Start the terminal.
3. Type
Code:

sudo gainroot
and press enter.
4. Type
Code:

leafpad /var/lib/dpkg/info/account-plugin-salut.postinst
and press enter.
5. If you get an error that leafpad cannot be found, go to step 6, otherwise goto step 7.
6. Only if you get an error about leafpad - type
Code:

apt-get install leafpad
and press enter. Go back to step 4 and try again.
7. On the leafpad screen go to line 6 (the last line of the file) which starts with /etc. At the beginning of the line type hash and a space, so the line reads
Code:

# /etc/init.d/avahi-daemon start
8. Click the top of the screen on the bar where it says account-plugin-salut.postinst
9. Click Save
10. Click the "X" in the top right to close Leafpad.
11. Switch back to Terminal and type
Code:

dpkg --configure -a
You will get two lines about setting up account-plugin-salut and telepathy-extras.
The problem is now fixed.

12. I strongly suggest you now disable the -devel and -testing repositorys as installing software from these, as stated, may mess up your phone. If you are not comfortable with that, then please do not install software from these sources.

yasirrfc 2011-05-09 18:26

Re: application manager error. dpkg reported error while processing package.
 
so u mean to say i should type i # Esc :w :q before that line? do it should look like
i#Esc:w:q/etc/init.d/avahi-daemon
right?and then i exit exterminal and then back on and write dpkg --configure -a
right?

yasirrfc 2011-05-09 18:41

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

Originally Posted by JohnLF (Post 1002942)
...I have followed the instructions given by others in this thread to fix my problem, so I know it works. Please read very carefully, I shall type this only once...

1. Ensure you have an active internet connection.
2. Start the terminal.
3. Type
Code:

sudo gainroot
and press enter.
4. Type
Code:

leafpad /var/lib/dpkg/info/account-plugin-salut.postinst
and press enter.
5. If you get an error that leafpad cannot be found, go to step 6, otherwise goto step 7.
6. Only if you get an error about leafpad - type
Code:

apt-get install leafpad
and press enter. Go back to step 4 and try again.
7. On the leafpad screen go to line 6 (the last line of the file) which starts with /etc. At the beginning of the line type hash and a space, so the line reads
Code:

# /etc/init.d/avahi-daemon start
8. Click the top of the screen on the bar where it says account-plugin-salut.postinst
9. Click Save
10. Click the "X" in the top right to close Leafpad.
11. Switch back to Terminal and type
Code:

dpkg --configure -a
You will get two lines about setting up account-plugin-salut and telepathy-extras.
The problem is now fixed.

12. I strongly suggest you now disable the -devel and -testing repositorys as installing software from these, as stated, may mess up your phone. If you are not comfortable with that, then please do not install software from these sources.

i did everything u said. in the end when i wrote dpkg --configure -a, it said setting up account-plugin-salut.postinst: line 6: MyDocs: not found.
dpkg: error processing account-plugin-salut (--configure) : subprocess post-installation script returned error exit status 127.
error were encountered while processing:
account-plugin-salut


All times are GMT. The time now is 08:34.

vBulletin® Version 3.8.8