it might need some extra package that is not installed in the system yet. it seems those packages you installed broke the repositories somehow, try to completely remove them from the system and then install the correct ones with the install_dependencies script
↧