Ubuntu LTS will be released on April 26 with some important and useful features like multiarch-support. However some 32bit packages still have installation problems on 64bit systems because they don't follow the new specifications. One of the packages that need some tricks in order to install it on a 64 bit Ubuntu system is the current V1R of DraftSight.
Normally I wouldn't provide any workarounds for beta or experimental versions of Ubuntu or any other distro for one simple reason: If a distro is under active development many things will be changed until the final release.
But thanks to Normand who informed me in this postthat some users are already trying to install DraftSight on Ubuntu LTS and considering that the development status is nearly at the end, I will make an exception.
So here are the instructions, don't be afraid of the number of steps, it's really a very easy process.Important Update (January 21 ): DraftSight with version V1R5 changed the list of its dependencies so this workaround cannot be used "as is". However it continues to be useful because you have to follow the same process in order to install DraftSight successfully on your 64 bit Ubuntu and newer system. The only change is that on Step 5 you have to remove xdg-utils from the list of dependencies.Step 1:
Download Draftsight and make a copy of storycall.us in your Home folder. A copy is needed because you will make some changes in the .deb file so keep the original file as a backup. Just a right click on storycall.us and select copy to Home folder and you're ready.Step 2:
Open a terminal simply by pressing Ctrl+Alt+T and type:
ar x storycall.us storycall.us
This command extracts the storycall.us compressed archive from the .deb file. Keep the terminal open you will use it for one more time.
Extract the storycall.us compressed archive to your home folder. From Nautilus right click on it and select "Extract here". You will see a folder named "control" inside your Home folder.
Open the control folder and then the control file inside it with gedit (Text Editor).
Now you must be careful! You have to delete from the list of dependencies libdirectfb-extra. Simply select with the mouse: "libdirectfb-extra (>=)" the space before it and the comma after it in order to keep the correct syntax (see the screenshot below). Save the file and close gedit.
From Nautilus select all the contents of the control folder ( Simply press Ctrl+A), right click on one of the selected items and select "Compress".
In the dialog box that opens select as "Location" your Home folder.
You will see a warning that a file with the same name already exists. Select to overwrite it.
Go back to your open terminal and type:
ar r storycall.us storycall.us
This command will put back the modified storycall.us compressed archive into your storycall.us file
Right click on your modified storycall.us file and select "Open with Gdebi Package Installer". If you don't have gdebi already installed, install it because DraftSight's installation is successful only with gdebi.(or via terminal with dpkg but this is more complicated for new users :-) )
Install DraftSight. Normally you will not take any error messages.
DraftSight still needs some extra software in order to run. So install with Ubuntu Software Center or Synaptic ialibs and libdirectfb-extra.
Enjoy DraftSight on Ubuntu LTS 64bit!