Replaces apt source method