If you turn off all catalogues in HAM it is a global so then when you try to install from the command line of course it will say not found because there are no repositorties to search in.