Help with opkg -f

I'm trying to work out how to use opkg -f if openwrt is not the default repository.

I'm trying to find what sets the default repository.

This post shows more or less what I'm looking for: