Pastie is clipboard manager for Linux and a few posts back I talked about installing the deb package for Oneiric in Precise, however I noticed that in some cases the following error occurred:
File "/usr/bin/pastie", line 29, in
import pastielib.cli as cli
ImportError: No module named pastielib.cli
I find out that installing it from source would solve the problem on that cases.
Open a terminal window and run:
sudo apt-get remove pastie -y
# Install dependencies
sudo apt-get install python-gnome2 python-keybinder
# Get the sources and extract
wget http://goo.gl/Xf2A7 -O - | tar xz
# Change to pastie source directory and install pastie
sudo python setup.py install
# Clean up by remove the pastie source directory
cd .. && sudo rm -rf pastie_*/
Note: If pastie doesn't appear on Xfce panel see this.