Local cohomology and cohomology of certain generalized Hughes complexes