Active Topics

 



Notices


Reply
Thread Tools
JohnLF's Avatar
Posts: 551 | Thanked: 507 times | Joined on Feb 2010 @ North West England
#21
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.
__________________
My websites: -
http://www.lefebvre.org.uk
http://www.lefebvre.ltd.uk
 
Posts: 805 | Thanked: 1,605 times | Joined on Feb 2010 @ Gdynia, Poland
#22
Originally Posted by yasirrfc View Post
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.
 
Posts: 184 | Thanked: 3 times | Joined on Mar 2011
#23
what should i do
 
Posts: 184 | Thanked: 3 times | Joined on Mar 2011
#24
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?
 
Posts: 184 | Thanked: 3 times | Joined on Mar 2011
#25
oh n btw i dont write the 2nd line. it says no such file or directory after the first line
 
Posts: 184 | Thanked: 3 times | Joined on Mar 2011
#26
please help anyone
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#27
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's Avatar
Posts: 551 | Thanked: 507 times | Joined on Feb 2010 @ North West England
#28
...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.
__________________
My websites: -
http://www.lefebvre.org.uk
http://www.lefebvre.ltd.uk
 

The Following User Says Thank You to JohnLF For This Useful Post:
Posts: 184 | Thanked: 3 times | Joined on Mar 2011
#29
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?
 
Posts: 184 | Thanked: 3 times | Joined on Mar 2011
#30
Originally Posted by JohnLF View Post
...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
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:49.