I have a 2G iPhone with firmware 3.1.3, jailbroken and unlocked.

When I try to add a new repository to Cydia, it gets stuck in the Downloading Packages bar and does nothing.

Anyone knows what's wrong? I tried two repositories and both happened to get stuck at the end of the "Downloading Packages" progress bar.