I recommend trying to install packages using Synaptic first: Installing packages using Synaptic Package Manager GUI