Defence is now infamous for getting rid of existing capability and replacing it with something that has dumbed-down logistics/support, is much more expensive and in the end isn't a real "replacement".
Consider this read about the Caribou "replacement" project. Both the C-295 and C-27 are good aircraft however they are not a "replacement" for the Caribou. Certainly not with the money involved.
The Caribou had a lot of potential to soldier on for those who were not lazy. Performing a refurb was not impossible. See this PDF on the topic.
Today, the C-295 is cheaper to procure and operate than a C-27. The C-27 is probably more survivable.
The replacement could cost around $1.5 billion.
We are seeing more and more signs that this Defence bureaucracy is not responsible with tax dollars. The Caribou "replacement" is just one more example.