> This error is due to usage of old base package in version 3.> In .cabal file add dependency on base-4, in form "base >= 4".
Regarding second qustion:
> random 1.0.0.1 is installed, i've verified that. what does this error mean?
It means that .cabal file fails to specify dependancy on random package. Add dependancy on "random" package next to "base>=4". This should help.
All best
Christopher Skrzętnicki