HP != IBM
HP said they want to ape IBM, and buying EDS was part of that (laudable) strategy. However the services space is getting crowded, with entrants from India adding to the downward pressure on prices. Services, the big story at the start of the decade (2000s) has moved into the commodity market.
IBM's well-publicised strategy has been to keep looking for the high-value market opportunities, and dump commodity markets where needed, or use them to help drive more business to the high-value end. Their long-term plans have attracted the likes of Warren Buffet to buy into the IBM vision. But then IBM knows its core market is the business customer.
HP need to do something similar. The trouble is, as AC above says, they don't know what business they are in. Printing, their traditional core business, is shrinking as people move to in-store printing services to selectively print high-quality images. Their services business (EDS) tries to flog HP kit with every deal, even when the customer wants to stick with their existing tin (not uncommonly, strangely enough, IBM).
They seem not to have decided where they want to get to, and only want to follow where others have been successful before. Until they start looking forward and stop looking back, they will continue to fail.