Consistent Yang-Mills anomalies ω k−1 2n−k (n ∈ N, k = 1, 2, . . . , 2n) as described collectively by Zumino's descent equations δω k−1 2n−k + dω k 2n−k−1 = 0 starting with the Chern character Ch 2n = dω 0 2n−1 of a principal SU(N ) bundle over a 2n dimensional manifold are considered (i.e. ω k−1 2n−k are the ChernSimons terms (k = 1), axial anomalies (k = 2), Schwinger terms (k = 3) etc. in (2n − k) dimensions). A generalization in the spirit of Connes' noncommutative geometry using a minimum of data is found. For an arbitrary graded differential algebra Ω = ∞ k=0 Ω (k) with exterior differentiation d, form valued functions Ch 2n