ATTENTION TO USERS
Due to my inexperience back then I did some serious mistakes. Today I fixed a very serious problem that affected some of the applications used in Ubuntu.
SYMPTOMS:
For those whose system been affected: sudo rm /usr/bin/flock THEN Please re-install util-linux and everything should be back to normalI have tried to install Flock manually and with a deb package from getdeb.net I think. I have done them both before on other installs and everything worked fine. However this time I could not get Flock to launch at all. I was no big deal though I just decided to continue to use Firefox. That was until I ran across this thread. I decided to give this command a try and see what would happen.
sudo ln -s /opt/flock/flock /usr/bin/flock
Now my internet is completely broken. I am connected and can download stuff with synaptic but I can not access any websites sites with either firefox, Opera or wget. Can anyone offer any help or suggestions?
http://packages.ubuntu.com/hardy/util-linux for those who are offline and able to install it
dpkg -i DEBFILE.DEB
NOTE THAT THIS IS ALSO IN THE INSTALLATION CD
THIS IS NOT NECESSARY IF YOU ARE DOING IT FOR THE FIRST TIME
Well this is my first time doing a how-to since I never bothered to post one (well actually my second one I think)
Well noticed that there wasn't a flock package in ubu repos and in debian repos so I just got tired and did it my own way
First step
After downloading (note that i'm using the current version that is avaliable to download)Code:Download flock http://flock.com/get-ready-to-flock
Let's copy it (in the current folder) (using /opt if you don't have one just do sudo mkdir /opt )Code:tar -xvvzf flock-1.0.3.en-US.linux-i686.tar.gz
It should've copied everything, nowCode:sudo cp -a flock /opt
This symbolic link will allow you to just plainly execute it in terminal without going to the folderCode:cd /opt/flock ls (If you see the files then we are ok) sudo ln -s /opt/flock/flock /usr/bin/flock-browser
Now, I know you aren't just satisfied with just executing it via terminal so make a empty file and paste the following code
Save it as Flock.desktop and place it in yourCode:[Desktop Entry] Comment=Flock Web browser Name=Flock Encoding=UTF-8 Exec=flock-browser Terminal=false Comment[en_US]=Flock Web browser Type=Application Name[en_US]=Flock Icon=/opt/flock/icons/mozicon50.xpm
~/.local/share/applications (It's the one that alacarte uses, else just in /usr/share/applications (you need sudo powers to copy it there)
Known errorsCode:cp -a Flock.desktop ~/.local/share/applications OR sudo cp -a Flock.desktop /usr/share/applications
error while loading shared libraries: libstdc++.so.5
Other errors? I don't know D:!Code:sudo apt-get install libstdc++5
User Solutions
by corney91
For those having problem doing symbolic links, do this:
by sethvathCode:sudo ln -s /opt/flock/flock /usr/bin/flock-browser
SCIM Problems
Hope this helped you a lot!Code:cd to your flock folder then GTK_IM_MODULE=xim ./flock



Adv Reply




Bookmarks