I replaced amd64 with i386 in two places, once in each of the first two commands.