Upvote:3
Yes, this will definitely affect negatively your chances of getting a UK visa.
The visa application asks you about previous deportations and refusals, so you will need to tell the UK authorities about it. If you do not do so, that is considered fraud and will attract an effective ban from the UK as well as South Africa. And yes, it is extremely likely that the UK will find out about your deportation whether you tell them or not. This is true whether or not they know your old passport number. Even in the unlikely event that they do not, if they were to grant you a visa, and then find out that you had lied on the application, that is grounds for later revoking the visa and possibly arrest and deportation.
Your chances of getting a visa are slim. From the UK's point of view you have already shown that you are prepared to lie and cheat in order to enter a country. Why should they believe that you will behave differently in the UK? However in the end it is a decision that the visa officer will make.
Upvote:3
We cannot know how the UK will decide.