Notices


Reply
Thread Tools
Posts: 184 | Thanked: 3 times | Joined on Mar 2011
#31
Originally Posted by michaaa62 View Post
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
please can u explain it to me? i dont quite get it.
thanks
 

The Following User Says Thank You to yasirrfc For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#32
After you now edited the file please show its content to be sure what to edit, because the error from the dpkg command changed.
Code:
cat /var/lib/dpkg/info/account-plugin-salut.postinst
Do you have leafpad installed now?
 
Posts: 184 | Thanked: 3 times | Joined on Mar 2011
#33
yes i have leafpad installed. i did everything that the guy before u told me too.
 
Posts: 184 | Thanked: 3 times | Joined on Mar 2011
#34
i dont get what you're saying. after editing with leafpad now whenever i try to edit again like by leafpad again or vi, the line /etc/init.d/avahi-daemon has a * before it
 
Posts: 184 | Thanked: 3 times | Joined on Mar 2011
#35
please help me im going nuts. i did everything with leafpad but still the error.HELP
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#36
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.
This indicates that there is still something fishy with this file! Please paste the content of the file with the command
Code:
cat /var/lib/dpkg/info/account-plugin-salut.postinst
 
JohnLF's Avatar
Posts: 551 | Thanked: 507 times | Joined on Feb 2010 @ North West England
#37
OK so please copy the contents of the file /var/lib/dpkg/info/account-plugin-salut.postinst and post it here.
__________________
My websites: -
http://www.lefebvre.org.uk
http://www.lefebvre.ltd.uk
 
JohnLF's Avatar
Posts: 551 | Thanked: 507 times | Joined on Feb 2010 @ North West England
#38
There's too many people helping here. I think it is confusing the OP. I am now going to bow out and leave it to michaaa62 to resolve -

Michaaa62 - if you want me to take over, please PM me.
__________________
My websites: -
http://www.lefebvre.org.uk
http://www.lefebvre.ltd.uk
 
Posts: 184 | Thanked: 3 times | Joined on Mar 2011
#39
Originally Posted by michaaa62 View Post
This indicates that there is still something fishy with this file! Please paste the content of the file with the command
Code:
cat /var/lib/dpkg/info/account-plugin-salut.postinst
it says, # ! /bin/sh

gtk-update-icon-cache /usr/share/icons/hicolor

# avahi doesn't like starting itself. this is a bit of a hack though.
* /etc/init.d/avahi-daemon start

now what should i do?
thanks
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#40
It must be no star *, but an hash # at the beginning of the file.
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:35.