Install dependencies if dpkg -i fails