I'm not a Kali developer so I can't help you in that sense :(, but I suppose that it could be the problem. it looks like you're simply out of memory and it can't install apt-transport-https. cat /proc/meminfo | grep Total' and see how muchMemTotalandSwapTotal` you have.
Broil the cod fillets for 10 to 12 minutes, or until the flesh at the thickest part flakes easily with a fork. Remove from the broiling rack with a wide, flat spatula. Gently peel away the skin from the white flesh of the fish. Serve hot as is, with your favorite sauce or with a lemon wedge. Cod fillets, 6 oz. each.
Drizzle it with half the butter and half the lemon juice. In a small bowl, combine bread crumbs, parsley and chives. Sprinkle the mixture over the cod and drizzle with remaining butter and lemon juice. Bake just until bread crumbs are crisped and cod flakes easily with a fork, about 12 minutes.