Fixing broken packages