Linux: issues with partially installed packages