View Single Post
Posts: 23 | Thanked: 3 times | Joined on Feb 2010 @ Houston
#8
Originally Posted by fahadj2003 View Post
hey,
i entered the command..
vi /var/lib/dpkg/info/account-plugin-salut.postinst
now i cant type anything and i cant cancel it either?
can you give me detailed instructions coz im kinda new here
Hey Fahad,
Okay open xterm
Code:
sudo gainroot
after "/home/user # " you have to use vi editor
type :
Code:
vi /var/lib/dpkg/info/account-plugin-salut.postinst
then this will open

Code:
#!/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
you go to line :
Code:
/etc/init.d/avahi-daemon start
Then click on letter "i" that will get you into editing mode .
now add # before /etc . so it will look like this :

Code:
# /etc/init.d/avahi-daemon start
Then you type in "ZZ" it's case sensitive means save and exit .

that will exit then you can go back to and check if # is there .
then try to update using app manager and it will work . if not open xterminal as a root and type :

Code:
apt-get update
once it's done

Code:
apt-get upgrade

I hope that helps you , let me know . Thx
 

The Following 2 Users Say Thank You to SpRoOoOo For This Useful Post: